Public Member Functions | Public Attributes | Private Member Functions
sr_grasp.Grasp Class Reference

List of all members.

Public Member Functions

def __init__
def from_msg
def from_yaml
def set_grasp_point
def set_pre_grasp_point
def to_msg

Public Attributes

 grasp_quality
 joint_names

Private Member Functions

def _set_posture_point

Detailed Description

Represents a single grasp, basically a wrapper around moveit_msgs/Grasp
with added functions and Shadow Hand specific knowledge.

Definition at line 21 of file __init__.py.


Constructor & Destructor Documentation

def sr_grasp.Grasp.__init__ (   self)

Definition at line 26 of file __init__.py.


Member Function Documentation

def sr_grasp.Grasp._set_posture_point (   self,
  posture,
  positions,
  point = 0 
) [private]
Set the posture positions using a dict of joint positions.

Definition at line 85 of file __init__.py.

def sr_grasp.Grasp.from_msg (   cls,
  msg 
)
Construct a shadow grasp object from moveit grasp object.

Definition at line 42 of file __init__.py.

def sr_grasp.Grasp.from_yaml (   self,
  y 
)
Construct a shadow grasp object from YAML object. For example YAML
grabbed from rostopic to a file.

Definition at line 62 of file __init__.py.

def sr_grasp.Grasp.set_grasp_point (   self,
  args,
  kwargs 
)
Set the positions for a point (default 0) in the grasp to a dict of
joint positions.

Definition at line 78 of file __init__.py.

def sr_grasp.Grasp.set_pre_grasp_point (   self,
  args,
  kwargs 
)
Set the positions for a point (default 0) in the pre-grasp to a dict of
joint positions.

Definition at line 71 of file __init__.py.

def sr_grasp.Grasp.to_msg (   self)
Return plain moveit_msgs/Grasp version of self.

Definition at line 57 of file __init__.py.


Member Data Documentation

Definition at line 26 of file __init__.py.

Definition at line 26 of file __init__.py.


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


sr_grasp
Author(s): Mark Pitchless
autogenerated on Fri Aug 21 2015 12:26:28