Public Member Functions | |
def | __init__ |
def | deserialize |
def | deserialize_numpy |
def | serialize |
def | serialize_numpy |
Public Attributes | |
bumper | |
state | |
Static Public Attributes | |
int | CENTER = 1 |
int | LEFT = 0 |
int | PRESSED = 1 |
int | RELEASED = 0 |
int | RIGHT = 2 |
Private Member Functions | |
def | _get_types |
Static Private Attributes | |
list | __slots__ = ['state','bumper'] |
string | _full_text |
_has_header = False | |
string | _md5sum = "34e76e5dbfb320b33636dacfb99fb3e2" |
list | _slot_types = ['uint8','uint8'] |
string | _type = "kobuki_comms/BumperEvent" |
Definition at line 8 of file _BumperEvent.py.
def kobuki_comms.msg._BumperEvent.BumperEvent.__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,bumper :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 _BumperEvent.py.
def kobuki_comms.msg._BumperEvent.BumperEvent._get_types | ( | self | ) | [private] |
internal API method
Definition at line 61 of file _BumperEvent.py.
def kobuki_comms.msg._BumperEvent.BumperEvent.deserialize | ( | self, | |
str | |||
) |
unpack serialized message in str into this message instance :param str: byte array of serialized message, ``str``
Definition at line 78 of file _BumperEvent.py.
def kobuki_comms.msg._BumperEvent.BumperEvent.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 106 of file _BumperEvent.py.
def kobuki_comms.msg._BumperEvent.BumperEvent.serialize | ( | self, | |
buff | |||
) |
serialize message into buffer :param buff: buffer, ``StringIO``
Definition at line 67 of file _BumperEvent.py.
def kobuki_comms.msg._BumperEvent.BumperEvent.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 94 of file _BumperEvent.py.
list kobuki_comms::msg::_BumperEvent.BumperEvent::__slots__ = ['state','bumper'] [static, private] |
Definition at line 33 of file _BumperEvent.py.
string kobuki_comms::msg::_BumperEvent.BumperEvent::_full_text [static, private] |
"""# Provides a button event # This message is generated whenever a button is pressed or released uint8 LEFT = 0 uint8 CENTER = 1 uint8 RIGHT = 2 uint8 RELEASED = 0 uint8 PRESSED = 1 uint8 state uint8 bumper """
Definition at line 12 of file _BumperEvent.py.
kobuki_comms::msg::_BumperEvent.BumperEvent::_has_header = False [static, private] |
Definition at line 11 of file _BumperEvent.py.
string kobuki_comms::msg::_BumperEvent.BumperEvent::_md5sum = "34e76e5dbfb320b33636dacfb99fb3e2" [static, private] |
Definition at line 9 of file _BumperEvent.py.
list kobuki_comms::msg::_BumperEvent.BumperEvent::_slot_types = ['uint8','uint8'] [static, private] |
Definition at line 34 of file _BumperEvent.py.
string kobuki_comms::msg::_BumperEvent.BumperEvent::_type = "kobuki_comms/BumperEvent" [static, private] |
Definition at line 10 of file _BumperEvent.py.
Definition at line 48 of file _BumperEvent.py.
int kobuki_comms::msg::_BumperEvent.BumperEvent::CENTER = 1 [static] |
Definition at line 28 of file _BumperEvent.py.
int kobuki_comms::msg::_BumperEvent.BumperEvent::LEFT = 0 [static] |
Definition at line 27 of file _BumperEvent.py.
int kobuki_comms::msg::_BumperEvent.BumperEvent::PRESSED = 1 [static] |
Definition at line 31 of file _BumperEvent.py.
int kobuki_comms::msg::_BumperEvent.BumperEvent::RELEASED = 0 [static] |
Definition at line 30 of file _BumperEvent.py.
int kobuki_comms::msg::_BumperEvent.BumperEvent::RIGHT = 2 [static] |
Definition at line 29 of file _BumperEvent.py.
Definition at line 48 of file _BumperEvent.py.