Public Member Functions | Public Attributes | Private Member Functions | Static Private Attributes
cob_light.srv._SetLightMode.SetLightModeRequest Class Reference

List of all members.

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"

Detailed Description

Definition at line 10 of file _SetLightMode.py.


Constructor & Destructor Documentation

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.


Member Function Documentation

internal API method

Definition at line 68 of file _SetLightMode.py.

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.

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.

serialize message into buffer
:param buff: buffer, ``StringIO``

Definition at line 74 of file _SetLightMode.py.

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.


Member Data Documentation

Definition at line 43 of file _SetLightMode.py.

Initial value:
"""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.

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.

Definition at line 44 of file _SetLightMode.py.

Definition at line 12 of file _SetLightMode.py.

Definition at line 58 of file _SetLightMode.py.


The documentation for this class was generated from the following file:


cob_light
Author(s): Benjamin Maidel
autogenerated on Sun Oct 5 2014 23:09:07