Public Member Functions | |
def | __init__ |
def | deserialize |
def | deserialize_numpy |
def | serialize |
def | serialize_numpy |
Public Attributes | |
button | |
state | |
Static Public Attributes | |
int | Button0 = 0 |
int | Button1 = 1 |
int | Button2 = 2 |
int | PRESSED = 1 |
int | RELEASED = 0 |
Private Member Functions | |
def | _get_types |
Static Private Attributes | |
list | __slots__ = ['state','button'] |
string | _full_text |
_has_header = False | |
string | _md5sum = "627fdd6fd6471539e5190c0e4fadb9c2" |
list | _slot_types = ['uint8','uint8'] |
string | _type = "kobuki_comms/ButtonEvent" |
Definition at line 8 of file _ButtonEvent.py.
def kobuki_comms.msg._ButtonEvent.ButtonEvent.__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,button :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 _ButtonEvent.py.
def kobuki_comms.msg._ButtonEvent.ButtonEvent._get_types | ( | self | ) | [private] |
internal API method
Definition at line 61 of file _ButtonEvent.py.
def kobuki_comms.msg._ButtonEvent.ButtonEvent.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 _ButtonEvent.py.
def kobuki_comms.msg._ButtonEvent.ButtonEvent.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 _ButtonEvent.py.
def kobuki_comms.msg._ButtonEvent.ButtonEvent.serialize | ( | self, | |
buff | |||
) |
serialize message into buffer :param buff: buffer, ``StringIO``
Definition at line 67 of file _ButtonEvent.py.
def kobuki_comms.msg._ButtonEvent.ButtonEvent.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 _ButtonEvent.py.
list kobuki_comms::msg::_ButtonEvent.ButtonEvent::__slots__ = ['state','button'] [static, private] |
Definition at line 33 of file _ButtonEvent.py.
string kobuki_comms::msg::_ButtonEvent.ButtonEvent::_full_text [static, private] |
"""# Provides a button event # This message is generated whenever a button is pressed or released uint8 Button0 = 0 uint8 Button1 = 1 uint8 Button2 = 2 uint8 RELEASED = 0 uint8 PRESSED = 1 uint8 state uint8 button """
Definition at line 12 of file _ButtonEvent.py.
kobuki_comms::msg::_ButtonEvent.ButtonEvent::_has_header = False [static, private] |
Definition at line 11 of file _ButtonEvent.py.
string kobuki_comms::msg::_ButtonEvent.ButtonEvent::_md5sum = "627fdd6fd6471539e5190c0e4fadb9c2" [static, private] |
Definition at line 9 of file _ButtonEvent.py.
list kobuki_comms::msg::_ButtonEvent.ButtonEvent::_slot_types = ['uint8','uint8'] [static, private] |
Definition at line 34 of file _ButtonEvent.py.
string kobuki_comms::msg::_ButtonEvent.ButtonEvent::_type = "kobuki_comms/ButtonEvent" [static, private] |
Definition at line 10 of file _ButtonEvent.py.
Definition at line 48 of file _ButtonEvent.py.
int kobuki_comms::msg::_ButtonEvent.ButtonEvent::Button0 = 0 [static] |
Definition at line 27 of file _ButtonEvent.py.
int kobuki_comms::msg::_ButtonEvent.ButtonEvent::Button1 = 1 [static] |
Definition at line 28 of file _ButtonEvent.py.
int kobuki_comms::msg::_ButtonEvent.ButtonEvent::Button2 = 2 [static] |
Definition at line 29 of file _ButtonEvent.py.
int kobuki_comms::msg::_ButtonEvent.ButtonEvent::PRESSED = 1 [static] |
Definition at line 31 of file _ButtonEvent.py.
int kobuki_comms::msg::_ButtonEvent.ButtonEvent::RELEASED = 0 [static] |
Definition at line 30 of file _ButtonEvent.py.
Definition at line 48 of file _ButtonEvent.py.