Public Member Functions | |
def | __init__ |
def | deserialize |
def | deserialize_numpy |
def | serialize |
def | serialize_numpy |
Public Attributes | |
state | |
Static Public Attributes | |
int | OFFLINE = 0 |
int | ONLINE = 1 |
Private Member Functions | |
def | _get_types |
Static Private Attributes | |
list | __slots__ = ['state'] |
string | _full_text |
_has_header = False | |
string | _md5sum = "c6eccd4cb1f95df95635b56d6226ea32" |
list | _slot_types = ['uint8'] |
string | _type = "kobuki_comms/RobotStateEvent" |
Definition at line 8 of file _RobotStateEvent.py.
def kobuki_comms.msg._RobotStateEvent.RobotStateEvent.__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 :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 28 of file _RobotStateEvent.py.
def kobuki_comms.msg._RobotStateEvent.RobotStateEvent._get_types | ( | self | ) | [private] |
internal API method
Definition at line 50 of file _RobotStateEvent.py.
def kobuki_comms.msg._RobotStateEvent.RobotStateEvent.deserialize | ( | self, | |
str | |||
) |
unpack serialized message in str into this message instance :param str: byte array of serialized message, ``str``
Definition at line 66 of file _RobotStateEvent.py.
def kobuki_comms.msg._RobotStateEvent.RobotStateEvent.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 92 of file _RobotStateEvent.py.
def kobuki_comms.msg._RobotStateEvent.RobotStateEvent.serialize | ( | self, | |
buff | |||
) |
serialize message into buffer :param buff: buffer, ``StringIO``
Definition at line 56 of file _RobotStateEvent.py.
def kobuki_comms.msg._RobotStateEvent.RobotStateEvent.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 81 of file _RobotStateEvent.py.
list kobuki_comms::msg::_RobotStateEvent.RobotStateEvent::__slots__ = ['state'] [static, private] |
Definition at line 25 of file _RobotStateEvent.py.
string kobuki_comms::msg::_RobotStateEvent.RobotStateEvent::_full_text [static, private] |
"""# Provides a robot state event # This message is generated whenever the robot gets online/offline uint8 ONLINE = 1 uint8 OFFLINE = 0 uint8 state """
Definition at line 12 of file _RobotStateEvent.py.
kobuki_comms::msg::_RobotStateEvent.RobotStateEvent::_has_header = False [static, private] |
Definition at line 11 of file _RobotStateEvent.py.
string kobuki_comms::msg::_RobotStateEvent.RobotStateEvent::_md5sum = "c6eccd4cb1f95df95635b56d6226ea32" [static, private] |
Definition at line 9 of file _RobotStateEvent.py.
list kobuki_comms::msg::_RobotStateEvent.RobotStateEvent::_slot_types = ['uint8'] [static, private] |
Definition at line 26 of file _RobotStateEvent.py.
string kobuki_comms::msg::_RobotStateEvent.RobotStateEvent::_type = "kobuki_comms/RobotStateEvent" [static, private] |
Definition at line 10 of file _RobotStateEvent.py.
int kobuki_comms::msg::_RobotStateEvent.RobotStateEvent::OFFLINE = 0 [static] |
Definition at line 23 of file _RobotStateEvent.py.
int kobuki_comms::msg::_RobotStateEvent.RobotStateEvent::ONLINE = 1 [static] |
Definition at line 22 of file _RobotStateEvent.py.
Definition at line 40 of file _RobotStateEvent.py.