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


Member Function 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 41 of file _RIQHandCommand.py.

def riq_msgs::msg::_RIQHandCommand::RIQHandCommand::_get_types (   self  )  [private]
internal API method

Definition at line 72 of file _RIQHandCommand.py.

def riq_msgs::msg::_RIQHandCommand::RIQHandCommand::deserialize (   self,
  str 
)
unpack serialized message in str into this message instance
@param str: byte array of serialized message
@type  str: str

Definition at line 90 of file _RIQHandCommand.py.

def riq_msgs::msg::_RIQHandCommand::RIQHandCommand::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
@type  str: str
@param numpy: numpy python module
@type  numpy: module

Definition at line 121 of file _RIQHandCommand.py.

def riq_msgs::msg::_RIQHandCommand::RIQHandCommand::serialize (   self,
  buff 
)
serialize message into buffer
@param buff: buffer
@type  buff: StringIO

Definition at line 78 of file _RIQHandCommand.py.

def riq_msgs::msg::_RIQHandCommand::RIQHandCommand::serialize_numpy (   self,
  buff,
  numpy 
)
serialize message with numpy array types into buffer
@param buff: buffer
@type  buff: StringIO
@param numpy: numpy python module
@type  numpy module

Definition at line 107 of file _RIQHandCommand.py.


Member Data Documentation

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

Definition at line 9 of file _RIQHandCommand.py.

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

Definition at line 7 of file _RIQHandCommand.py.

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

Definition at line 39 of file _RIQHandCommand.py.

Definition at line 8 of file _RIQHandCommand.py.

Definition at line 61 of file _RIQHandCommand.py.

Definition at line 35 of file _RIQHandCommand.py.

Definition at line 30 of file _RIQHandCommand.py.

Definition at line 65 of file _RIQHandCommand.py.

Definition at line 59 of file _RIQHandCommand.py.

Definition at line 36 of file _RIQHandCommand.py.

Definition at line 31 of file _RIQHandCommand.py.

Definition at line 33 of file _RIQHandCommand.py.

Definition at line 32 of file _RIQHandCommand.py.

Definition at line 34 of file _RIQHandCommand.py.

Definition at line 63 of file _RIQHandCommand.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator


riq_msgs
Author(s): Derek King
autogenerated on Fri Jan 11 10:09:20 2013