class documentation

class Tool(genpy.Message):

Constructor: Tool(*args, **kwds)

View In Hierarchy

Undocumented

Method __init__ 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.
Method deserialize unpack serialized message in str into this message instance :param str: byte array of serialized message, str
Method deserialize_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
Method serialize serialize message into buffer :param buff: buffer, StringIO
Method serialize_numpy serialize message with numpy array types into buffer :param buff: buffer, StringIO :param numpy: numpy python module
Constant FAKE_DXL_MOTOR Undocumented
Constant GRIPPER_STATE_CLOSE Undocumented
Constant GRIPPER_STATE_OPEN Undocumented
Constant NO_MOTOR Undocumented
Constant STEPPER Undocumented
Constant TOOL_STATE_PING_ERROR Undocumented
Constant TOOL_STATE_PING_OK Undocumented
Constant TOOL_STATE_TIMEOUT Undocumented
Constant TOOL_STATE_WRONG_ID Undocumented
Constant VACUUM_PUMP_STATE_PULLED Undocumented
Constant VACUUM_PUMP_STATE_PUSHED Undocumented
Constant XC430 Undocumented
Constant XL320 Undocumented
Constant XL330 Undocumented
Constant XL430 Undocumented
Constant XM430 Undocumented
Class Variable __slots__ Undocumented
Instance Variable id Undocumented
Instance Variable motor_type Undocumented
Instance Variable position Undocumented
Instance Variable state Undocumented
Method _get_types internal API method
Class Variable _full_text Undocumented
Class Variable _has_header Undocumented
Class Variable _md5sum Undocumented
Class Variable _slot_types Undocumented
Class Variable _type Undocumented
def __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:
id,motor_type,position,state

to set specific fields.

Parameters
*argscomplete set of field values, in .msg order
**kwdsuse keyword arguments corresponding to message field names
def deserialize(self, str):

unpack serialized message in str into this message instance :param str: byte array of serialized message, str

def 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

def serialize(self, buff):

serialize message into buffer :param buff: buffer, StringIO

def serialize_numpy(self, buff, numpy):

serialize message with numpy array types into buffer :param buff: buffer, StringIO :param numpy: numpy python module

FAKE_DXL_MOTOR: int =

Undocumented

Value
20
GRIPPER_STATE_CLOSE: int =

Undocumented

Value
17
GRIPPER_STATE_OPEN: int =

Undocumented

Value
16
NO_MOTOR: int =

Undocumented

Value
0
STEPPER: int =

Undocumented

Value
1
TOOL_STATE_PING_ERROR: int =

Undocumented

Value
2
TOOL_STATE_PING_OK: int =

Undocumented

Value
1
TOOL_STATE_TIMEOUT: int =

Undocumented

Value
4
TOOL_STATE_WRONG_ID: int =

Undocumented

Value
3
VACUUM_PUMP_STATE_PULLED: int =

Undocumented

Value
32
VACUUM_PUMP_STATE_PUSHED: int =

Undocumented

Value
33
XC430: int =

Undocumented

Value
5
XL320: int =

Undocumented

Value
3
XL330: int =

Undocumented

Value
4
XL430: int =

Undocumented

Value
2
XM430: int =

Undocumented

Value
6
__slots__: list[str] =

Undocumented

id: int =

Undocumented

motor_type: int =

Undocumented

position: int =

Undocumented

state: int =

Undocumented

def _get_types(self):

internal API method

_full_text: str =

Undocumented

_has_header: bool =

Undocumented

_md5sum: str =

Undocumented

_slot_types: list[str] =

Undocumented

_type: str =

Undocumented