$search

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


Member Function Documentation

def pr2_gripper_sensor_msgs::msg::_PR2GripperFindContactCommand::PR2GripperFindContactCommand::__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:
   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 40 of file _PR2GripperFindContactCommand.py.

def pr2_gripper_sensor_msgs::msg::_PR2GripperFindContactCommand::PR2GripperFindContactCommand::_get_types (   self  )  [private]
internal API method

Definition at line 65 of file _PR2GripperFindContactCommand.py.

def pr2_gripper_sensor_msgs::msg::_PR2GripperFindContactCommand::PR2GripperFindContactCommand::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 83 of file _PR2GripperFindContactCommand.py.

def pr2_gripper_sensor_msgs::msg::_PR2GripperFindContactCommand::PR2GripperFindContactCommand::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 115 of file _PR2GripperFindContactCommand.py.

def pr2_gripper_sensor_msgs::msg::_PR2GripperFindContactCommand::PR2GripperFindContactCommand::serialize (   self,
  buff 
)
serialize message into buffer
@param buff: buffer
@type  buff: StringIO

Definition at line 71 of file _PR2GripperFindContactCommand.py.

def pr2_gripper_sensor_msgs::msg::_PR2GripperFindContactCommand::PR2GripperFindContactCommand::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 101 of file _PR2GripperFindContactCommand.py.


Member Data Documentation

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

Definition at line 9 of file _PR2GripperFindContactCommand.py.

Definition at line 7 of file _PR2GripperFindContactCommand.py.

Definition at line 38 of file _PR2GripperFindContactCommand.py.

Definition at line 8 of file _PR2GripperFindContactCommand.py.

Definition at line 32 of file _PR2GripperFindContactCommand.py.

Definition at line 60 of file _PR2GripperFindContactCommand.py.

Definition at line 35 of file _PR2GripperFindContactCommand.py.

Definition at line 33 of file _PR2GripperFindContactCommand.py.

Definition at line 34 of file _PR2GripperFindContactCommand.py.

Definition at line 58 of file _PR2GripperFindContactCommand.py.


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


pr2_gripper_sensor_msgs
Author(s): Joe Romano
autogenerated on Tue Mar 5 13:08:30 2013