Public Member Functions | Public Attributes | Private Member Functions | Static Private Attributes
corobot_msgs.msg._ServoType.ServoType Class Reference

List of all members.

Public Member Functions

def __init__
def deserialize
def deserialize_numpy
def serialize
def serialize_numpy

Public Attributes

 index
 type

Private Member Functions

def _get_types

Static Private Attributes

list __slots__ = ['index','type']
string _full_text
 _has_header = False
string _md5sum = "1838b6e393c9a582039957a5d550ab79"
list _slot_types = ['int8','int8']
string _type = "corobot_msgs/ServoType"

Detailed Description

Definition at line 8 of file _ServoType.py.


Constructor & Destructor Documentation

def corobot_msgs.msg._ServoType.ServoType.__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,type

: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 30 of file _ServoType.py.


Member Function Documentation

internal API method

Definition at line 55 of file _ServoType.py.

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

Definition at line 72 of file _ServoType.py.

def corobot_msgs.msg._ServoType.ServoType.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 100 of file _ServoType.py.

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

Definition at line 61 of file _ServoType.py.

def corobot_msgs.msg._ServoType.ServoType.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 88 of file _ServoType.py.


Member Data Documentation

Definition at line 27 of file _ServoType.py.

Initial value:
"""#
# Morgan Cormier <mcormier@coroware.com>
#
# Service used to set the type of servo motor connected at the specified index on the phidget servo controller
#
# Index is the index of the servo motor connected to the phidget device. 
# The maximum value of index depends on the Phidget device and how many connections it accepts
#
# type is the type of motor. See enum CPhidget_ServoType of the Phidget library for the list of type.

int8 index

int8 type

"""

Definition at line 12 of file _ServoType.py.

Definition at line 11 of file _ServoType.py.

string corobot_msgs::msg::_ServoType.ServoType::_md5sum = "1838b6e393c9a582039957a5d550ab79" [static, private]

Definition at line 9 of file _ServoType.py.

list corobot_msgs::msg::_ServoType.ServoType::_slot_types = ['int8','int8'] [static, private]

Definition at line 28 of file _ServoType.py.

string corobot_msgs::msg::_ServoType.ServoType::_type = "corobot_msgs/ServoType" [static, private]

Definition at line 10 of file _ServoType.py.

Definition at line 42 of file _ServoType.py.

Definition at line 42 of file _ServoType.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