Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Static Private Attributes
pr2_gripper_sensor_msgs.msg._PR2GripperFindContactCommand.PR2GripperFindContactCommand Class Reference

List of all members.

Public Member Functions

def __init__
def deserialize
def deserialize_numpy
def serialize
def serialize_numpy

Public Attributes

 contact_conditions
 zero_fingertip_sensors

Static Public Attributes

int BOTH = 0
int EITHER = 3
int LEFT = 1
int RIGHT = 2

Private Member Functions

def _get_types

Static Private Attributes

list __slots__ = ['zero_fingertip_sensors','contact_conditions']
string _full_text
 _has_header = False
string _md5sum = "4a38a1a8e495aae86921ef2b292ec260"
list _slot_types = ['bool','int8']
string _type = "pr2_gripper_sensor_msgs/PR2GripperFindContactCommand"

Detailed Description

Definition at line 8 of file _PR2GripperFindContactCommand.py.


Constructor & Destructor Documentation

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:
   zero_fingertip_sensors,contact_conditions

: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 42 of file _PR2GripperFindContactCommand.py.


Member Function Documentation

internal API method

Definition at line 67 of file _PR2GripperFindContactCommand.py.

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

Definition at line 84 of file _PR2GripperFindContactCommand.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 113 of file _PR2GripperFindContactCommand.py.

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

Definition at line 73 of file _PR2GripperFindContactCommand.py.

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

Definition at line 101 of file _PR2GripperFindContactCommand.py.


Member Data Documentation

Definition at line 39 of file _PR2GripperFindContactCommand.py.

Initial value:
"""# set true if you want to calibrate the fingertip sensors on the start
# of the find_contact action. While this is not necessary (and
# the default value will not calibrate the sensors) for best 
# performance it is recommended that you set this to true each time 
# you are calling find_contact and are confident the fingertips are 
# not touching anything
# NOTE: SHOULD ONLY BE TRUE WHEN BOTH FINGERS ARE TOUCHING NOTHING
bool zero_fingertip_sensors

# the finger contact conditions that determine what our goal is
# Leaving this field blank will result in the robot closing until
# contact on BOTH fingers is achieved
int8 contact_conditions

# predefined values for the above contact_conditions variable
int8 BOTH = 0   # both fingers must make contact
int8 LEFT = 1   # just the left finger 
int8 RIGHT = 2  # just the right finger
int8 EITHER = 3 # either finger, we don't care which

"""

Definition at line 12 of file _PR2GripperFindContactCommand.py.

Definition at line 11 of file _PR2GripperFindContactCommand.py.

Definition at line 9 of file _PR2GripperFindContactCommand.py.

Definition at line 40 of file _PR2GripperFindContactCommand.py.

Definition at line 10 of file _PR2GripperFindContactCommand.py.

Definition at line 34 of file _PR2GripperFindContactCommand.py.

Definition at line 54 of file _PR2GripperFindContactCommand.py.

Definition at line 37 of file _PR2GripperFindContactCommand.py.

Definition at line 35 of file _PR2GripperFindContactCommand.py.

Definition at line 36 of file _PR2GripperFindContactCommand.py.

Definition at line 54 of file _PR2GripperFindContactCommand.py.


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


pr2_gripper_sensor_msgs
Author(s): Joe Romano
autogenerated on Mon Oct 6 2014 12:17:35