Public Member Functions | |
def | __init__ |
def | deserialize |
def | deserialize_numpy |
def | serialize |
def | serialize_numpy |
Public Attributes | |
mode | |
Private Member Functions | |
def | _get_types |
Static Private Attributes | |
list | __slots__ = ['mode'] |
string | _full_text |
_has_header = False | |
string | _md5sum = "bfc3763d6f527fc6f26b234ea07ebf58" |
list | _slot_types = ['cob_light/LightMode'] |
string | _type = "cob_light/SetLightModeRequest" |
Definition at line 10 of file _SetLightMode.py.
def cob_light.srv._SetLightMode.SetLightModeRequest.__init__ | ( | self, | |
args, | |||
kwds | |||
) |
Constructor. Any message fields that are implicitly/explicitly set to None will be assigned a default value. The recommend use is keyword arguments as this is more robust to future message changes. You cannot mix in-order arguments and keyword arguments. The available fields are: mode :param args: complete set of field values, in .msg order :param kwds: use keyword arguments corresponding to message field names to set specific fields.
Definition at line 46 of file _SetLightMode.py.
def cob_light.srv._SetLightMode.SetLightModeRequest._get_types | ( | self | ) | [private] |
internal API method
Definition at line 68 of file _SetLightMode.py.
def cob_light.srv._SetLightMode.SetLightModeRequest.deserialize | ( | self, | |
str | |||
) |
unpack serialized message in str into this message instance :param str: byte array of serialized message, ``str``
Definition at line 85 of file _SetLightMode.py.
def cob_light.srv._SetLightMode.SetLightModeRequest.deserialize_numpy | ( | self, | |
str, | |||
numpy | |||
) |
unpack serialized message in str into this message instance using numpy for array types :param str: byte array of serialized message, ``str`` :param numpy: numpy python module
Definition at line 115 of file _SetLightMode.py.
def cob_light.srv._SetLightMode.SetLightModeRequest.serialize | ( | self, | |
buff | |||
) |
serialize message into buffer :param buff: buffer, ``StringIO``
Definition at line 74 of file _SetLightMode.py.
def cob_light.srv._SetLightMode.SetLightModeRequest.serialize_numpy | ( | self, | |
buff, | |||
numpy | |||
) |
serialize message with numpy array types into buffer :param buff: buffer, ``StringIO`` :param numpy: numpy python module
Definition at line 103 of file _SetLightMode.py.
list cob_light::srv::_SetLightMode.SetLightModeRequest::__slots__ = ['mode'] [static, private] |
Definition at line 43 of file _SetLightMode.py.
string cob_light::srv::_SetLightMode.SetLightModeRequest::_full_text [static, private] |
"""cob_light/LightMode mode ================================================================================ MSG: cob_light/LightMode uint8 mode uint8 NONE = 0 # will turn everything off uint8 STATIC = 1 # will change the LEDs to "color" uint8 FLASH = 2 # will change the LEDs frequently with "frequency" from "color" to black uint8 BREATH = 3 # will change the LEDs smoothly with "frequency" from "color" to black uint8 BREATH_COLOR = 4 # will change the LEDs smoothly with "frequency" from "color" to black # and flips color in time uint8 FADE_COLOR = 5 # will fade the colors in rainbow std_msgs/ColorRGBA color #the color which will be used float32 frequency # in Hz float32 timeout # in s, requested mode will be executed for max timout s. # default is 0 and meens no timeout. int32 pulses # spezifies the amount of pulses which will be executed. # eg: mode = flash, pulses = 2. Meens the light will flash two times int8 priority # priority [-20,20] default = 0. Modes with same or higher priorities will # be executed. ================================================================================ MSG: std_msgs/ColorRGBA float32 r float32 g float32 b float32 a """
Definition at line 14 of file _SetLightMode.py.
cob_light::srv::_SetLightMode.SetLightModeRequest::_has_header = False [static, private] |
Definition at line 13 of file _SetLightMode.py.
string cob_light::srv::_SetLightMode.SetLightModeRequest::_md5sum = "bfc3763d6f527fc6f26b234ea07ebf58" [static, private] |
Definition at line 11 of file _SetLightMode.py.
list cob_light::srv::_SetLightMode.SetLightModeRequest::_slot_types = ['cob_light/LightMode'] [static, private] |
Definition at line 44 of file _SetLightMode.py.
string cob_light::srv::_SetLightMode.SetLightModeRequest::_type = "cob_light/SetLightModeRequest" [static, private] |
Definition at line 12 of file _SetLightMode.py.
Definition at line 58 of file _SetLightMode.py.