Public Member Functions | Public Attributes | Private Member Functions | Static Private Attributes
dynamixel_msgs.msg._MotorState.MotorState Class Reference

List of all members.

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"

Detailed Description

Definition at line 8 of file _MotorState.py.


Constructor & Destructor Documentation

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 27 of file _MotorState.py.


Member Function Documentation

internal API method

Definition at line 76 of file _MotorState.py.

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

Definition at line 93 of file _MotorState.py.

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 122 of file _MotorState.py.

serialize message into buffer
:param buff: buffer, ``StringIO``

Definition at line 82 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, ``StringIO``
:param numpy: numpy python module

Definition at line 110 of file _MotorState.py.


Member Data Documentation

Definition at line 24 of file _MotorState.py.

Initial value:
"""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 12 of file _MotorState.py.

Definition at line 11 of file _MotorState.py.

string dynamixel_msgs::msg::_MotorState.MotorState::_md5sum = "1cefdc3ff0c7d52e475886024476b74d" [static, private]

Definition at line 9 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 25 of file _MotorState.py.

string dynamixel_msgs::msg::_MotorState.MotorState::_type = "dynamixel_msgs/MotorState" [static, private]

Definition at line 10 of file _MotorState.py.

Definition at line 39 of file _MotorState.py.

Definition at line 39 of file _MotorState.py.

Definition at line 39 of file _MotorState.py.

Definition at line 39 of file _MotorState.py.

Definition at line 39 of file _MotorState.py.

Definition at line 39 of file _MotorState.py.

Definition at line 39 of file _MotorState.py.

Definition at line 39 of file _MotorState.py.

Definition at line 39 of file _MotorState.py.

Definition at line 39 of file _MotorState.py.


The documentation for this class was generated from the following file:


dynamixel_msgs
Author(s): Antons Rebguns
autogenerated on Fri Jan 3 2014 11:19:44