Public Member Functions | |
def | __init__ |
def | deserialize |
def | deserialize_numpy |
def | serialize |
def | serialize_numpy |
Public Attributes | |
pressedKey | |
Static Public Attributes | |
int | KeyCode_Disable = 100 |
int | KeyCode_Down = 66 |
int | KeyCode_Enable = 101 |
int | KeyCode_Left = 68 |
int | KeyCode_Right = 67 |
int | KeyCode_Space = 32 |
int | KeyCode_Up = 65 |
Private Member Functions | |
def | _get_types |
Static Private Attributes | |
list | __slots__ = ['pressedKey'] |
string | _full_text |
_has_header = False | |
string | _md5sum = "9288b95cb32b48719d84d696be253401" |
list | _slot_types = ['uint8'] |
string | _type = "kobuki_comms/KeyboardInput" |
Definition at line 8 of file _KeyboardInput.py.
def kobuki_comms.msg._KeyboardInput.KeyboardInput.__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: pressedKey :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 38 of file _KeyboardInput.py.
def kobuki_comms.msg._KeyboardInput.KeyboardInput._get_types | ( | self | ) | [private] |
internal API method
Definition at line 60 of file _KeyboardInput.py.
def kobuki_comms.msg._KeyboardInput.KeyboardInput.deserialize | ( | self, | |
str | |||
) |
unpack serialized message in str into this message instance :param str: byte array of serialized message, ``str``
Definition at line 76 of file _KeyboardInput.py.
def kobuki_comms.msg._KeyboardInput.KeyboardInput.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 102 of file _KeyboardInput.py.
def kobuki_comms.msg._KeyboardInput.KeyboardInput.serialize | ( | self, | |
buff | |||
) |
serialize message into buffer :param buff: buffer, ``StringIO``
Definition at line 66 of file _KeyboardInput.py.
def kobuki_comms.msg._KeyboardInput.KeyboardInput.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 91 of file _KeyboardInput.py.
list kobuki_comms::msg::_KeyboardInput.KeyboardInput::__slots__ = ['pressedKey'] [static, private] |
Definition at line 35 of file _KeyboardInput.py.
string kobuki_comms::msg::_KeyboardInput.KeyboardInput::_full_text [static, private] |
"""# KEYBOARD INPUT # # Keycodes to be transferred for remote teleops. uint8 KeyCode_Right = 67 # 0x43 uint8 KeyCode_Left = 68 # 0x44 uint8 KeyCode_Up = 65 # 0x41 uint8 KeyCode_Down = 66 # 0x42 uint8 KeyCode_Space = 32 # 0x20 uint8 KeyCode_Enable = 101 # 0x65, 'e' uint8 KeyCode_Disable = 100 # 0x64, 'd' uint8 pressedKey """
Definition at line 12 of file _KeyboardInput.py.
kobuki_comms::msg::_KeyboardInput.KeyboardInput::_has_header = False [static, private] |
Definition at line 11 of file _KeyboardInput.py.
string kobuki_comms::msg::_KeyboardInput.KeyboardInput::_md5sum = "9288b95cb32b48719d84d696be253401" [static, private] |
Definition at line 9 of file _KeyboardInput.py.
list kobuki_comms::msg::_KeyboardInput.KeyboardInput::_slot_types = ['uint8'] [static, private] |
Definition at line 36 of file _KeyboardInput.py.
string kobuki_comms::msg::_KeyboardInput.KeyboardInput::_type = "kobuki_comms/KeyboardInput" [static, private] |
Definition at line 10 of file _KeyboardInput.py.
int kobuki_comms::msg::_KeyboardInput.KeyboardInput::KeyCode_Disable = 100 [static] |
Definition at line 33 of file _KeyboardInput.py.
int kobuki_comms::msg::_KeyboardInput.KeyboardInput::KeyCode_Down = 66 [static] |
Definition at line 30 of file _KeyboardInput.py.
int kobuki_comms::msg::_KeyboardInput.KeyboardInput::KeyCode_Enable = 101 [static] |
Definition at line 32 of file _KeyboardInput.py.
int kobuki_comms::msg::_KeyboardInput.KeyboardInput::KeyCode_Left = 68 [static] |
Definition at line 28 of file _KeyboardInput.py.
int kobuki_comms::msg::_KeyboardInput.KeyboardInput::KeyCode_Right = 67 [static] |
Definition at line 27 of file _KeyboardInput.py.
int kobuki_comms::msg::_KeyboardInput.KeyboardInput::KeyCode_Space = 32 [static] |
Definition at line 31 of file _KeyboardInput.py.
int kobuki_comms::msg::_KeyboardInput.KeyboardInput::KeyCode_Up = 65 [static] |
Definition at line 29 of file _KeyboardInput.py.
Definition at line 50 of file _KeyboardInput.py.