Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Static Private Attributes
riq_msgs.msg._RIQHandCommand.RIQHandCommand Class Reference

List of all members.

Public Member Functions

def __init__
def deserialize
def deserialize_numpy
def serialize
def serialize_numpy

Public Attributes

 action
 force
 mode
 velocity

Static Public Attributes

int CLOSE = 1
int CYLINDRICAL = 0
int OPEN = 2
int PINCH = 1
int SCISSORS = 3
int SPHERIOD = 2
int STOP = 0

Private Member Functions

def _get_types

Static Private Attributes

list __slots__ = ['mode','action','velocity','force']
string _full_text
 _has_header = False
string _md5sum = "1ea172a0fa98ff8b257948fc31b156cd"
list _slot_types = ['int8','int8','float64','float64']
string _type = "riq_msgs/RIQHandCommand"

Detailed Description

Definition at line 8 of file _RIQHandCommand.py.


Constructor & Destructor Documentation

def riq_msgs.msg._RIQHandCommand.RIQHandCommand.__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:
   mode,action,velocity,force

: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 43 of file _RIQHandCommand.py.


Member Function Documentation

internal API method

Definition at line 74 of file _RIQHandCommand.py.

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

Definition at line 91 of file _RIQHandCommand.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 119 of file _RIQHandCommand.py.

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

Definition at line 80 of file _RIQHandCommand.py.

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

Definition at line 107 of file _RIQHandCommand.py.


Member Data Documentation

Definition at line 40 of file _RIQHandCommand.py.

Initial value:
"""# ROS command message from RobotIQ hand

# mode constants
int8 CYLINDRICAL = 0
int8 PINCH       = 1
int8 SPHERIOD    = 2
int8 SCISSORS    = 3

# action constants
int8 STOP     = 0
int8 CLOSE    = 1
int8 OPEN     = 2


int8    mode      # PINCH, CYLINDRICAL, SPHERIOD, SCISSORS 
int8    action    # CLOSE, OPEN, STOP
float64 velocity  # Speed value goes from 0.0 to 1.0
float64 force     # Force value goes from 0.0 to 1.0 
"""

Definition at line 12 of file _RIQHandCommand.py.

Definition at line 11 of file _RIQHandCommand.py.

string riq_msgs::msg::_RIQHandCommand.RIQHandCommand::_md5sum = "1ea172a0fa98ff8b257948fc31b156cd" [static, private]

Definition at line 9 of file _RIQHandCommand.py.

list riq_msgs::msg::_RIQHandCommand.RIQHandCommand::_slot_types = ['int8','int8','float64','float64'] [static, private]

Definition at line 41 of file _RIQHandCommand.py.

Definition at line 10 of file _RIQHandCommand.py.

Definition at line 55 of file _RIQHandCommand.py.

Definition at line 37 of file _RIQHandCommand.py.

Definition at line 32 of file _RIQHandCommand.py.

Definition at line 55 of file _RIQHandCommand.py.

Definition at line 55 of file _RIQHandCommand.py.

Definition at line 38 of file _RIQHandCommand.py.

Definition at line 33 of file _RIQHandCommand.py.

Definition at line 35 of file _RIQHandCommand.py.

Definition at line 34 of file _RIQHandCommand.py.

Definition at line 36 of file _RIQHandCommand.py.

Definition at line 55 of file _RIQHandCommand.py.


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


riq_msgs
Author(s): Derek King
autogenerated on Tue Apr 22 2014 19:42:39