Public Member Functions | Public Attributes | Private Member Functions | Static Private Attributes
PhidgetServo.msg._ServoPosition.ServoPosition 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

Private Member Functions

def _get_types

Static Private Attributes

list __slots__ = ['index','position']
string _full_text
 _has_header = False
string _md5sum = "04e7b072b763b2e3ee692e3faf7e9c94"
list _slot_types = ['int8','float32']
string _type = "PhidgetServo/ServoPosition"

Detailed Description

Definition at line 8 of file _ServoPosition.py.


Constructor & Destructor Documentation

def PhidgetServo.msg._ServoPosition.ServoPosition.__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 32 of file _ServoPosition.py.


Member Function Documentation

internal API method

Definition at line 57 of file _ServoPosition.py.

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

Definition at line 74 of file _ServoPosition.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 102 of file _ServoPosition.py.

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

Definition at line 63 of file _ServoPosition.py.

serialize message with numpy array types into buffer
:param buff: buffer, ``StringIO``
:param numpy: numpy python module

Definition at line 90 of file _ServoPosition.py.


Member Data Documentation

Definition at line 29 of file _ServoPosition.py.

Initial value:
"""#Deprecated. Prefer to use the one in corobot_msgs package, which is exactly the same

#
# Morgan Cormier <mcormier@coroware.com>
#
# Message used to set or get the position of a servo motor connected to a 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

int8 index

# position is the angle in degree set for the motor selected with the index value. 
# position has a minimum and maximum value possible, that can be retrieve through two services
float32 position

"""

Definition at line 12 of file _ServoPosition.py.

Definition at line 11 of file _ServoPosition.py.

string PhidgetServo::msg::_ServoPosition.ServoPosition::_md5sum = "04e7b072b763b2e3ee692e3faf7e9c94" [static, private]

Definition at line 9 of file _ServoPosition.py.

list PhidgetServo::msg::_ServoPosition.ServoPosition::_slot_types = ['int8','float32'] [static, private]

Definition at line 30 of file _ServoPosition.py.

string PhidgetServo::msg::_ServoPosition.ServoPosition::_type = "PhidgetServo/ServoPosition" [static, private]

Definition at line 10 of file _ServoPosition.py.

Definition at line 44 of file _ServoPosition.py.

Definition at line 44 of file _ServoPosition.py.


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


phidget_servo
Author(s):
autogenerated on Wed Aug 26 2015 11:09:46