Public Member Functions | |
def | __init__ |
def | deserialize |
def | deserialize_numpy |
def | serialize |
def | serialize_numpy |
Public Attributes | |
bottom | |
sensor | |
state | |
Static Public Attributes | |
int | CENTER = 1 |
int | CLIFF = 1 |
int | FLOOR = 0 |
int | LEFT = 0 |
int | RIGHT = 2 |
Private Member Functions | |
def | _get_types |
Static Private Attributes | |
list | __slots__ = ['state','sensor','bottom'] |
string | _full_text |
_has_header = False | |
string | _md5sum = "768947926ed252fd64a5711160ff3884" |
list | _slot_types = ['uint8','uint8','uint16'] |
string | _type = "kobuki_comms/CliffEvent" |
Definition at line 8 of file _CliffEvent.py.
def kobuki_comms.msg._CliffEvent.CliffEvent.__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: state,sensor,bottom :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 36 of file _CliffEvent.py.
def kobuki_comms.msg._CliffEvent.CliffEvent._get_types | ( | self | ) | [private] |
internal API method
Definition at line 64 of file _CliffEvent.py.
def kobuki_comms.msg._CliffEvent.CliffEvent.deserialize | ( | self, | |
str | |||
) |
unpack serialized message in str into this message instance :param str: byte array of serialized message, ``str``
Definition at line 81 of file _CliffEvent.py.
def kobuki_comms.msg._CliffEvent.CliffEvent.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 109 of file _CliffEvent.py.
def kobuki_comms.msg._CliffEvent.CliffEvent.serialize | ( | self, | |
buff | |||
) |
serialize message into buffer :param buff: buffer, ``StringIO``
Definition at line 70 of file _CliffEvent.py.
def kobuki_comms.msg._CliffEvent.CliffEvent.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 97 of file _CliffEvent.py.
list kobuki_comms::msg::_CliffEvent.CliffEvent::__slots__ = ['state','sensor','bottom'] [static, private] |
Definition at line 33 of file _CliffEvent.py.
string kobuki_comms::msg::_CliffEvent.CliffEvent::_full_text [static, private] |
"""# Provides a cliff sensor event # This message is generated whenever the robot approaches or moves away from a cliff uint8 LEFT = 0 uint8 CENTER = 1 uint8 RIGHT = 2 uint8 FLOOR = 0 uint8 CLIFF = 1 uint8 state uint8 sensor uint16 bottom """
Definition at line 12 of file _CliffEvent.py.
kobuki_comms::msg::_CliffEvent.CliffEvent::_has_header = False [static, private] |
Definition at line 11 of file _CliffEvent.py.
string kobuki_comms::msg::_CliffEvent.CliffEvent::_md5sum = "768947926ed252fd64a5711160ff3884" [static, private] |
Definition at line 9 of file _CliffEvent.py.
list kobuki_comms::msg::_CliffEvent.CliffEvent::_slot_types = ['uint8','uint8','uint16'] [static, private] |
Definition at line 34 of file _CliffEvent.py.
string kobuki_comms::msg::_CliffEvent.CliffEvent::_type = "kobuki_comms/CliffEvent" [static, private] |
Definition at line 10 of file _CliffEvent.py.
Definition at line 48 of file _CliffEvent.py.
int kobuki_comms::msg::_CliffEvent.CliffEvent::CENTER = 1 [static] |
Definition at line 28 of file _CliffEvent.py.
int kobuki_comms::msg::_CliffEvent.CliffEvent::CLIFF = 1 [static] |
Definition at line 31 of file _CliffEvent.py.
int kobuki_comms::msg::_CliffEvent.CliffEvent::FLOOR = 0 [static] |
Definition at line 30 of file _CliffEvent.py.
int kobuki_comms::msg::_CliffEvent.CliffEvent::LEFT = 0 [static] |
Definition at line 27 of file _CliffEvent.py.
int kobuki_comms::msg::_CliffEvent.CliffEvent::RIGHT = 2 [static] |
Definition at line 29 of file _CliffEvent.py.
Definition at line 48 of file _CliffEvent.py.
Definition at line 48 of file _CliffEvent.py.