Public Member Functions | |
def | __init__ |
def | deserialize |
def | deserialize_numpy |
def | serialize |
def | serialize_numpy |
Public Attributes | |
id | |
load | |
moving | |
position | |
target_position | |
target_velocity | |
temperature | |
timestamp | |
torque_limit | |
velocity | |
voltage | |
Private Member Functions | |
def | _get_types |
Static Private Attributes | |
list | __slots__ = ['timestamp','id','target_position','target_velocity','position','velocity','torque_limit','load','moving','voltage','temperature'] |
string | _full_text |
_has_header = False | |
string | _md5sum = "96055d7680f5f0b2177ce65f44ce437f" |
list | _slot_types = ['float64','int32','int32','int32','int32','int32','int32','int32','bool','int32','int32'] |
string | _type = "dynamixel_hardware_interface/MotorState" |
Definition at line 8 of file _MotorState.py.
def dynamixel_hardware_interface.msg._MotorState.MotorState.__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: timestamp,id,target_position,target_velocity,position,velocity,torque_limit,load,moving,voltage,temperature :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 33 of file _MotorState.py.
def dynamixel_hardware_interface.msg._MotorState.MotorState._get_types | ( | self | ) | [private] |
internal API method
Definition at line 85 of file _MotorState.py.
def dynamixel_hardware_interface.msg._MotorState.MotorState.deserialize | ( | self, | |
str | |||
) |
unpack serialized message in str into this message instance :param str: byte array of serialized message, ``str``
Definition at line 102 of file _MotorState.py.
def dynamixel_hardware_interface.msg._MotorState.MotorState.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 131 of file _MotorState.py.
def dynamixel_hardware_interface.msg._MotorState.MotorState.serialize | ( | self, | |
buff | |||
) |
serialize message into buffer :param buff: buffer, ``StringIO``
Definition at line 91 of file _MotorState.py.
def dynamixel_hardware_interface.msg._MotorState.MotorState.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 119 of file _MotorState.py.
list dynamixel_hardware_interface::msg::_MotorState.MotorState::__slots__ = ['timestamp','id','target_position','target_velocity','position','velocity','torque_limit','load','moving','voltage','temperature'] [static, private] |
Definition at line 30 of file _MotorState.py.
string dynamixel_hardware_interface::msg::_MotorState.MotorState::_full_text [static, private] |
"""# all values are in encoder units unless otherwise specified float64 timestamp # motor state is at this time int32 id # motor id int32 target_position # commanded position int32 target_velocity # commanded velocity int32 position # current position int32 velocity # current velocity int32 torque_limit # current torque limit int32 load # current load - ratio of applied torque over maximum torque bool moving # whether the motor is currently in motion int32 voltage # current voltage (V * 10) int32 temperature # current temperature (degrees Celsius) """
Definition at line 12 of file _MotorState.py.
dynamixel_hardware_interface::msg::_MotorState.MotorState::_has_header = False [static, private] |
Definition at line 11 of file _MotorState.py.
string dynamixel_hardware_interface::msg::_MotorState.MotorState::_md5sum = "96055d7680f5f0b2177ce65f44ce437f" [static, private] |
Definition at line 9 of file _MotorState.py.
list dynamixel_hardware_interface::msg::_MotorState.MotorState::_slot_types = ['float64','int32','int32','int32','int32','int32','int32','int32','bool','int32','int32'] [static, private] |
Definition at line 31 of file _MotorState.py.
string dynamixel_hardware_interface::msg::_MotorState.MotorState::_type = "dynamixel_hardware_interface/MotorState" [static, private] |
Definition at line 10 of file _MotorState.py.
Definition at line 45 of file _MotorState.py.
Definition at line 45 of file _MotorState.py.
Definition at line 45 of file _MotorState.py.
Definition at line 45 of file _MotorState.py.
Definition at line 45 of file _MotorState.py.
Definition at line 45 of file _MotorState.py.
Definition at line 45 of file _MotorState.py.
Definition at line 45 of file _MotorState.py.
Definition at line 45 of file _MotorState.py.
Definition at line 45 of file _MotorState.py.
Definition at line 45 of file _MotorState.py.