Public Member Functions | |
def | __init__ |
def | deserialize |
def | deserialize_numpy |
def | serialize |
def | serialize_numpy |
Public Attributes | |
dir | |
inner_beam | |
left_contact | |
outer_beam | |
right_contact | |
state | |
Private Member Functions | |
def | _get_types |
Static Private Attributes | |
list | __slots__ = ['state','dir','inner_beam','outer_beam','left_contact','right_contact'] |
string | _full_text |
_has_header = False | |
string | _md5sum = "370eb3507be0ed1043be50a3da3a07c6" |
list | _slot_types = ['uint32','int32','bool','bool','bool','bool'] |
string | _type = "p2os_driver/GripState" |
Definition at line 6 of file _GripState.py.
def p2os_driver::msg::_GripState::GripState::__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,dir,inner_beam,outer_beam,left_contact,right_contact @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 22 of file _GripState.py.
def p2os_driver::msg::_GripState::GripState::_get_types | ( | self | ) | [private] |
internal API method
Definition at line 59 of file _GripState.py.
def p2os_driver::msg::_GripState::GripState::deserialize | ( | self, | ||
str | ||||
) |
unpack serialized message in str into this message instance @param str: byte array of serialized message @type str: str
Definition at line 77 of file _GripState.py.
def p2os_driver::msg::_GripState::GripState::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 @type str: str @param numpy: numpy python module @type numpy: module
Definition at line 112 of file _GripState.py.
def p2os_driver::msg::_GripState::GripState::serialize | ( | self, | ||
buff | ||||
) |
serialize message into buffer @param buff: buffer @type buff: StringIO
Definition at line 65 of file _GripState.py.
def p2os_driver::msg::_GripState::GripState::serialize_numpy | ( | self, | ||
buff, | ||||
numpy | ||||
) |
serialize message with numpy array types into buffer @param buff: buffer @type buff: StringIO @param numpy: numpy python module @type numpy module
Definition at line 98 of file _GripState.py.
list p2os_driver::msg::_GripState::GripState::__slots__ = ['state','dir','inner_beam','outer_beam','left_contact','right_contact'] [static, private] |
Definition at line 19 of file _GripState.py.
string p2os_driver::msg::_GripState::GripState::_full_text [static, private] |
"""# direction -1 is inward, +1 is outward, 0 is stationary uint32 state int32 dir bool inner_beam bool outer_beam bool left_contact bool right_contact """
Definition at line 10 of file _GripState.py.
p2os_driver::msg::_GripState::GripState::_has_header = False [static, private] |
Definition at line 9 of file _GripState.py.
string p2os_driver::msg::_GripState::GripState::_md5sum = "370eb3507be0ed1043be50a3da3a07c6" [static, private] |
Definition at line 7 of file _GripState.py.
list p2os_driver::msg::_GripState::GripState::_slot_types = ['uint32','int32','bool','bool','bool','bool'] [static, private] |
Definition at line 20 of file _GripState.py.
string p2os_driver::msg::_GripState::GripState::_type = "p2os_driver/GripState" [static, private] |
Definition at line 8 of file _GripState.py.
Definition at line 42 of file _GripState.py.
Definition at line 44 of file _GripState.py.
Definition at line 48 of file _GripState.py.
Definition at line 46 of file _GripState.py.
Definition at line 50 of file _GripState.py.
Definition at line 40 of file _GripState.py.