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