class documentation

class VolumeManager:

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method fade_out Undocumented
Method set_volume Undocumented
Property raw_volume Undocumented
Property volume Undocumented
Static Method __volume_to_decibels Undocumented
Method __callback_set_volume Undocumented
Method __check_before_set_volume Check if the volume set by the user is correct. Volume should be between 0 and 100.
Method __read_volume_file Undocumented
Method __set_robot_volume Undocumented
Method __write_volume_file Undocumented
Instance Variable __max_volume Undocumented
Instance Variable __min_volume Undocumented
Instance Variable __simulation_mode Undocumented
Instance Variable __volume_factor Undocumented
Instance Variable __volume_file_path Undocumented
Instance Variable __volume_percentage Undocumented
Instance Variable __volume_state_publisher Undocumented
def __init__(self):

Undocumented

def fade_out(self, duration=2.5):

Undocumented

def set_volume(self, percentage):

Undocumented

@property
raw_volume =

Undocumented

@property
volume =

Undocumented

@staticmethod
def __volume_to_decibels(volume_percentage):

Undocumented

def __callback_set_volume(self, msg):

Undocumented

def __check_before_set_volume(self, volume):

Check if the volume set by the user is correct. Volume should be between 0 and 100.

Returns
floatA float corresponding to the volume
def __read_volume_file(self):

Undocumented

def __set_robot_volume(self):

Undocumented

def __write_volume_file(self):

Undocumented

__max_volume =

Undocumented

__min_volume =

Undocumented

__simulation_mode =

Undocumented

__volume_factor =

Undocumented

__volume_file_path =

Undocumented

__volume_percentage =

Undocumented

__volume_state_publisher =

Undocumented