Public Member Functions | Public Attributes | List of all members
sr_hand.grasps_interpoler.GraspInterpoler Class Reference
Inheritance diagram for sr_hand.grasps_interpoler.GraspInterpoler:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, grasp_from, grasp_to="current")
 
def interpolate (self, percentage)
 
def set_percentage_grasp1_to_grasp2 (self, percentage)
 

Public Attributes

 from_grasp1_to_grasp2
 
 grasp_from
 
 grasp_to
 
 percentage
 

Detailed Description

Definition at line 20 of file grasps_interpoler.py.

Constructor & Destructor Documentation

def sr_hand.grasps_interpoler.GraspInterpoler.__init__ (   self,
  grasp_from,
  grasp_to = "current" 
)
interpolate from one grasp to another

Keyword arguments
grasp_from -- goes from this grasp
grasp_to -- to this grasp (if not defined, then consider
the current position of the hand as a grasp)

Definition at line 22 of file grasps_interpoler.py.

Member Function Documentation

def sr_hand.grasps_interpoler.GraspInterpoler.interpolate (   self,
  percentage 
)

Definition at line 61 of file grasps_interpoler.py.

def sr_hand.grasps_interpoler.GraspInterpoler.set_percentage_grasp1_to_grasp2 (   self,
  percentage 
)
move to a given percentage between grasp1 and grasp2

Keyword arguments
percentage -- must be between 0 and 100

Definition at line 45 of file grasps_interpoler.py.

Member Data Documentation

sr_hand.grasps_interpoler.GraspInterpoler.from_grasp1_to_grasp2

Definition at line 37 of file grasps_interpoler.py.

sr_hand.grasps_interpoler.GraspInterpoler.grasp_from

Definition at line 32 of file grasps_interpoler.py.

sr_hand.grasps_interpoler.GraspInterpoler.grasp_to

Definition at line 33 of file grasps_interpoler.py.

sr_hand.grasps_interpoler.GraspInterpoler.percentage

Definition at line 31 of file grasps_interpoler.py.


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


sr_hand
Author(s): Ugo Cupcic
autogenerated on Tue Oct 13 2020 03:55:53