Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Static Private Attributes
corobot_msgs.msg._MoveArm.MoveArm Class Reference

List of all members.

Public Member Functions

def __init__
def deserialize
def deserialize_numpy
def serialize
def serialize_numpy

Public Attributes

 index
 position

Static Public Attributes

int BASE_ROTATION = 0
int ELBOW = 2
int GRIPPER = 4
int SHOULDER = 1
int WRIST_FLEX = 3
int WRIST_ROTATION = 3

Private Member Functions

def _get_types

Static Private Attributes

list __slots__ = ['index','position']
string _full_text
 _has_header = False
string _md5sum = "75521d5964134bfaa7e916433846c0ca"
list _slot_types = ['int8','float32']
string _type = "corobot_msgs/MoveArm"

Detailed Description

Definition at line 8 of file _MoveArm.py.


Constructor & Destructor Documentation

def corobot_msgs.msg._MoveArm.MoveArm.__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:
   index,position

: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 44 of file _MoveArm.py.


Member Function Documentation

internal API method

Definition at line 69 of file _MoveArm.py.

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

Definition at line 86 of file _MoveArm.py.

def corobot_msgs.msg._MoveArm.MoveArm.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 114 of file _MoveArm.py.

def corobot_msgs.msg._MoveArm.MoveArm.serialize (   self,
  buff 
)
serialize message into buffer
:param buff: buffer, ``StringIO``

Definition at line 75 of file _MoveArm.py.

def corobot_msgs.msg._MoveArm.MoveArm.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 102 of file _MoveArm.py.


Member Data Documentation

Definition at line 41 of file _MoveArm.py.

Initial value:
"""#
# Morgan Cormier <mcormier@coroware.com>
#
# Message used to set or get the position of a servo motor connected to a Phidget servo controller.
#

####### Possible Indexes #########
uint8 BASE_ROTATION = 0
uint8 SHOULDER = 1
uint8 ELBOW = 2
uint8 WRIST_FLEX = 3
uint8 WRIST_ROTATION = 3
uint8 GRIPPER = 4

# Index is the index from the list of possible index. 
int8 index

# position is the angle in degree set for the servo motor selected with index
float32 position

"""

Definition at line 12 of file _MoveArm.py.

Definition at line 11 of file _MoveArm.py.

string corobot_msgs::msg::_MoveArm.MoveArm::_md5sum = "75521d5964134bfaa7e916433846c0ca" [static, private]

Definition at line 9 of file _MoveArm.py.

list corobot_msgs::msg::_MoveArm.MoveArm::_slot_types = ['int8','float32'] [static, private]

Definition at line 42 of file _MoveArm.py.

string corobot_msgs::msg::_MoveArm.MoveArm::_type = "corobot_msgs/MoveArm" [static, private]

Definition at line 10 of file _MoveArm.py.

Definition at line 34 of file _MoveArm.py.

Definition at line 36 of file _MoveArm.py.

Definition at line 39 of file _MoveArm.py.

Definition at line 56 of file _MoveArm.py.

Definition at line 56 of file _MoveArm.py.

Definition at line 35 of file _MoveArm.py.

Definition at line 37 of file _MoveArm.py.

Definition at line 38 of file _MoveArm.py.


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


corobot_msgs
Author(s): Morgan Cormier/mcormier@coroware.com
autogenerated on Tue Jan 7 2014 11:38:41