class documentation

class ToolCommand(genpy.Message):

Constructor: ToolCommand(*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 ACTIVATE_DIGITAL_IO Undocumented
Constant CLOSE_GRIPPER Undocumented
Constant DEACTIVATE_DIGITAL_IO Undocumented
Constant OPEN_GRIPPER Undocumented
Constant PULL_AIR_VACUUM_PUMP Undocumented
Constant PUSH_AIR_VACUUM_PUMP Undocumented
Constant SETUP_DIGITAL_IO Undocumented
Class Variable __slots__ Undocumented
Instance Variable activate Undocumented
Instance Variable cmd_type Undocumented
Instance Variable gpio Undocumented
Instance Variable hold_torque_percentage Undocumented
Instance Variable max_torque_percentage Undocumented
Instance Variable speed Undocumented
Instance Variable tool_id 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:
cmd_type,tool_id,speed,max_torque_percentage,hold_torque_percentage,activate,gpio

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

ACTIVATE_DIGITAL_IO: int =

Undocumented

Value
21
CLOSE_GRIPPER: int =

Undocumented

Value
2
DEACTIVATE_DIGITAL_IO: int =

Undocumented

Value
22
OPEN_GRIPPER: int =

Undocumented

Value
1
PULL_AIR_VACUUM_PUMP: int =

Undocumented

Value
10
PUSH_AIR_VACUUM_PUMP: int =

Undocumented

Value
11
SETUP_DIGITAL_IO: int =

Undocumented

Value
20
__slots__: list[str] =

Undocumented

activate =

Undocumented

cmd_type: int =

Undocumented

gpio =

Undocumented

hold_torque_percentage: int =

Undocumented

max_torque_percentage: int =

Undocumented

speed: int =

Undocumented

tool_id: 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