Public Member Functions | Public Attributes | Private Member Functions | List of all members
sr_grasp.Grasp Class Reference
Inheritance diagram for sr_grasp.Grasp:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self)
 
def from_msg (cls, msg)
 
def from_yaml (self, y)
 
def set_grasp_point (self, args, kwargs)
 
def set_pre_grasp_point (self, args, kwargs)
 
def to_msg (self)
 

Public Attributes

 grasp_quality
 
 joint_names
 

Private Member Functions

def _set_posture_point (self, posture, positions, point=0)
 

Detailed Description

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

Definition at line 23 of file __init__.py.

Constructor & Destructor Documentation

def sr_grasp.Grasp.__init__ (   self)

Definition at line 29 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 88 of file __init__.py.

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

Definition at line 45 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 65 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 81 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 74 of file __init__.py.

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

Definition at line 60 of file __init__.py.

Member Data Documentation

sr_grasp.Grasp.grasp_quality

Definition at line 31 of file __init__.py.

sr_grasp.Grasp.joint_names

Definition at line 32 of file __init__.py.


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


sr_grasp
Author(s): Mark Pitchless
autogenerated on Wed Oct 14 2020 04:05:13