Public Member Functions | |
def | __init__ |
def | deserialize |
def | deserialize_numpy |
def | serialize |
def | serialize_numpy |
Public Attributes | |
grip | |
lift | |
Private Member Functions | |
def | _get_types |
Static Private Attributes | |
list | __slots__ = ['grip','lift'] |
string | _full_text |
_has_header = False | |
string | _md5sum = "300b38b2a4173deb725df02fa70fc70b" |
list | _slot_types = ['p2os_driver/GripState','p2os_driver/LiftState'] |
string | _type = "p2os_driver/GripperState" |
Definition at line 7 of file _GripperState.py.
def p2os_driver::msg::_GripperState::GripperState::__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: grip,lift @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 _GripperState.py.
def p2os_driver::msg::_GripperState::GripperState::_get_types | ( | self | ) | [private] |
internal API method
Definition at line 60 of file _GripperState.py.
def p2os_driver::msg::_GripperState::GripperState::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 78 of file _GripperState.py.
def p2os_driver::msg::_GripperState::GripperState::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 117 of file _GripperState.py.
def p2os_driver::msg::_GripperState::GripperState::serialize | ( | self, | ||
buff | ||||
) |
serialize message into buffer @param buff: buffer @type buff: StringIO
Definition at line 66 of file _GripperState.py.
def p2os_driver::msg::_GripperState::GripperState::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 103 of file _GripperState.py.
list p2os_driver::msg::_GripperState::GripperState::__slots__ = ['grip','lift'] [static, private] |
Definition at line 32 of file _GripperState.py.
string p2os_driver::msg::_GripperState::GripperState::_full_text [static, private] |
"""GripState grip LiftState lift ================================================================================ MSG: p2os_driver/GripState # 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 ================================================================================ MSG: p2os_driver/LiftState # direction -1 is downard, +1 is upward, 0 is stationary int32 state int32 dir float32 position """
Definition at line 11 of file _GripperState.py.
p2os_driver::msg::_GripperState::GripperState::_has_header = False [static, private] |
Definition at line 10 of file _GripperState.py.
string p2os_driver::msg::_GripperState::GripperState::_md5sum = "300b38b2a4173deb725df02fa70fc70b" [static, private] |
Definition at line 8 of file _GripperState.py.
list p2os_driver::msg::_GripperState::GripperState::_slot_types = ['p2os_driver/GripState','p2os_driver/LiftState'] [static, private] |
Definition at line 33 of file _GripperState.py.
string p2os_driver::msg::_GripperState::GripperState::_type = "p2os_driver/GripperState" [static, private] |
Definition at line 9 of file _GripperState.py.
Definition at line 53 of file _GripperState.py.
Definition at line 55 of file _GripperState.py.