Definition at line 20 of file grasps_interpoler.py.
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.
def sr_hand.grasps_interpoler.GraspInterpoler.interpolate |
( |
|
self, |
|
|
|
percentage |
|
) |
| |
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.
sr_hand.grasps_interpoler.GraspInterpoler.from_grasp1_to_grasp2 |
sr_hand.grasps_interpoler.GraspInterpoler.grasp_from |
sr_hand.grasps_interpoler.GraspInterpoler.grasp_to |
sr_hand.grasps_interpoler.GraspInterpoler.percentage |
The documentation for this class was generated from the following file: