Public Member Functions | |
def | __init__ |
def | deserialize |
def | deserialize_numpy |
def | serialize |
def | serialize_numpy |
Public Attributes | |
error | |
goal | |
id | |
load | |
moving | |
position | |
speed | |
temperature | |
timestamp | |
voltage | |
Private Member Functions | |
def | _get_types |
Static Private Attributes | |
list | __slots__ = ['timestamp','id','goal','position','error','speed','load','voltage','temperature','moving'] |
string | _full_text |
_has_header = False | |
string | _md5sum = "1cefdc3ff0c7d52e475886024476b74d" |
list | _slot_types = ['float64','int32','int32','int32','int32','int32','float64','float64','int32','bool'] |
string | _type = "dynamixel_msgs/MotorState" |
Definition at line 6 of file _MotorState.py.
def dynamixel_msgs::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,goal,position,error,speed,load,voltage,temperature,moving @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 25 of file _MotorState.py.
def dynamixel_msgs::msg::_MotorState::MotorState::_get_types | ( | self | ) | [private] |
internal API method
Definition at line 74 of file _MotorState.py.
def dynamixel_msgs::msg::_MotorState::MotorState::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 92 of file _MotorState.py.
def dynamixel_msgs::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 @type str: str @param numpy: numpy python module @type numpy: module
Definition at line 124 of file _MotorState.py.
def dynamixel_msgs::msg::_MotorState::MotorState::serialize | ( | self, | ||
buff | ||||
) |
serialize message into buffer @param buff: buffer @type buff: StringIO
Definition at line 80 of file _MotorState.py.
def dynamixel_msgs::msg::_MotorState::MotorState::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 110 of file _MotorState.py.
list dynamixel_msgs::msg::_MotorState::MotorState::__slots__ = ['timestamp','id','goal','position','error','speed','load','voltage','temperature','moving'] [static, private] |
Definition at line 22 of file _MotorState.py.
string dynamixel_msgs::msg::_MotorState::MotorState::_full_text [static, private] |
"""float64 timestamp # motor state is at this time int32 id # motor id int32 goal # commanded position (in encoder units) int32 position # current position (in encoder units) int32 error # difference between current and goal positions int32 speed # current speed (0.111 rpm per unit) float64 load # current load - ratio of applied torque over maximum torque float64 voltage # current voltage (V) int32 temperature # current temperature (degrees Celsius) bool moving # whether the motor is currently in motion """
Definition at line 10 of file _MotorState.py.
dynamixel_msgs::msg::_MotorState::MotorState::_has_header = False [static, private] |
Definition at line 9 of file _MotorState.py.
string dynamixel_msgs::msg::_MotorState::MotorState::_md5sum = "1cefdc3ff0c7d52e475886024476b74d" [static, private] |
Definition at line 7 of file _MotorState.py.
list dynamixel_msgs::msg::_MotorState::MotorState::_slot_types = ['float64','int32','int32','int32','int32','int32','float64','float64','int32','bool'] [static, private] |
Definition at line 23 of file _MotorState.py.
string dynamixel_msgs::msg::_MotorState::MotorState::_type = "dynamixel_msgs/MotorState" [static, private] |
Definition at line 8 of file _MotorState.py.
Definition at line 51 of file _MotorState.py.
Definition at line 47 of file _MotorState.py.
Definition at line 45 of file _MotorState.py.
Definition at line 55 of file _MotorState.py.
Definition at line 61 of file _MotorState.py.
Definition at line 49 of file _MotorState.py.
Definition at line 53 of file _MotorState.py.
Definition at line 59 of file _MotorState.py.
Definition at line 43 of file _MotorState.py.
Definition at line 57 of file _MotorState.py.