Public Member Functions | |
def | __init__ |
def | deserialize |
def | deserialize_numpy |
def | serialize |
def | serialize_numpy |
Public Attributes | |
button | |
state | |
Static Public Attributes | |
int | buttonFront = 1 |
int | buttonMiddle = 2 |
int | buttonRear = 3 |
int | statePressed = 1 |
int | stateReleased = 0 |
Private Member Functions | |
def | _get_types |
Static Private Attributes | |
list | __slots__ = ['button','state'] |
string | _full_text |
_has_header = False | |
string | _md5sum = "b75165bf9dfed26d50ad4e3162304225" |
list | _slot_types = ['uint8','uint8'] |
string | _type = "nao_msgs/TactileTouch" |
Definition at line 8 of file _TactileTouch.py.
def nao_msgs.msg._TactileTouch.TactileTouch.__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: button,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 35 of file _TactileTouch.py.
def nao_msgs.msg._TactileTouch.TactileTouch._get_types | ( | self | ) | [private] |
internal API method
Definition at line 60 of file _TactileTouch.py.
def nao_msgs.msg._TactileTouch.TactileTouch.deserialize | ( | self, | |
str | |||
) |
unpack serialized message in str into this message instance :param str: byte array of serialized message, ``str``
Definition at line 77 of file _TactileTouch.py.
def nao_msgs.msg._TactileTouch.TactileTouch.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 105 of file _TactileTouch.py.
def nao_msgs.msg._TactileTouch.TactileTouch.serialize | ( | self, | |
buff | |||
) |
serialize message into buffer :param buff: buffer, ``StringIO``
Definition at line 66 of file _TactileTouch.py.
def nao_msgs.msg._TactileTouch.TactileTouch.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 93 of file _TactileTouch.py.
list nao_msgs::msg::_TactileTouch.TactileTouch::__slots__ = ['button','state'] [static, private] |
Definition at line 32 of file _TactileTouch.py.
string nao_msgs::msg::_TactileTouch.TactileTouch::_full_text [static, private] |
"""# A message for Nao's tactile interface (toucht buttons on the head) uint8 button # which of the three segments is touched uint8 state # pressed or released, see below uint8 buttonFront=1 uint8 buttonMiddle=2 uint8 buttonRear=3 uint8 stateReleased=0 uint8 statePressed=1 """
Definition at line 12 of file _TactileTouch.py.
nao_msgs::msg::_TactileTouch.TactileTouch::_has_header = False [static, private] |
Definition at line 11 of file _TactileTouch.py.
string nao_msgs::msg::_TactileTouch.TactileTouch::_md5sum = "b75165bf9dfed26d50ad4e3162304225" [static, private] |
Definition at line 9 of file _TactileTouch.py.
list nao_msgs::msg::_TactileTouch.TactileTouch::_slot_types = ['uint8','uint8'] [static, private] |
Definition at line 33 of file _TactileTouch.py.
string nao_msgs::msg::_TactileTouch.TactileTouch::_type = "nao_msgs/TactileTouch" [static, private] |
Definition at line 10 of file _TactileTouch.py.
Definition at line 47 of file _TactileTouch.py.
int nao_msgs::msg::_TactileTouch.TactileTouch::buttonFront = 1 [static] |
Definition at line 26 of file _TactileTouch.py.
int nao_msgs::msg::_TactileTouch.TactileTouch::buttonMiddle = 2 [static] |
Definition at line 27 of file _TactileTouch.py.
int nao_msgs::msg::_TactileTouch.TactileTouch::buttonRear = 3 [static] |
Definition at line 28 of file _TactileTouch.py.
Definition at line 47 of file _TactileTouch.py.
int nao_msgs::msg::_TactileTouch.TactileTouch::statePressed = 1 [static] |
Definition at line 30 of file _TactileTouch.py.
int nao_msgs::msg::_TactileTouch.TactileTouch::stateReleased = 0 [static] |
Definition at line 29 of file _TactileTouch.py.