Simple interface to pick and place actions.
More...
|
def | __init__ (self, group="arm", ee_group="gripper", plan_only=False, verbose=False) |
| Create a grasp manager, connect actions. More...
|
|
def | get_pick_action (self) |
|
def | get_place_action (self) |
|
def | pick_with_retry (self, name, grasps, retries=5, scene=None, kwargs) |
| Common usage pattern TODO document. More...
|
|
def | pickup (self, name, grasps, wait=True, kwargs) |
| Plan and grasp something. More...
|
|
def | place (self, name, locations, wait=True, kwargs) |
| Plan and grasp something. More...
|
|
def | place_with_retry (self, name, locations, retries=5, scene=None, kwargs) |
| Common usage pattern TODO document. More...
|
|
Simple interface to pick and place actions.
Definition at line 35 of file pick_place_interface.py.
def moveit_python.pick_place_interface.PickPlaceInterface.__init__ |
( |
|
self, |
|
|
|
group = "arm" , |
|
|
|
ee_group = "gripper" , |
|
|
|
plan_only = False , |
|
|
|
verbose = False |
|
) |
| |
Create a grasp manager, connect actions.
- Parameters
-
group | Name of arm planning group |
ee_group | Name of end effector planning group |
plan_only | Should we only plan, but not execute? |
Definition at line 45 of file pick_place_interface.py.
def moveit_python.pick_place_interface.PickPlaceInterface.get_pick_action |
( |
|
self | ) |
|
def moveit_python.pick_place_interface.PickPlaceInterface.get_place_action |
( |
|
self | ) |
|
def moveit_python.pick_place_interface.PickPlaceInterface.pick_with_retry |
( |
|
self, |
|
|
|
name, |
|
|
|
grasps, |
|
|
|
retries = 5 , |
|
|
|
scene = None , |
|
|
|
kwargs |
|
) |
| |
def moveit_python.pick_place_interface.PickPlaceInterface.pickup |
( |
|
self, |
|
|
|
name, |
|
|
|
grasps, |
|
|
|
wait = True , |
|
|
|
kwargs |
|
) |
| |
Plan and grasp something.
- Parameters
-
name | Name of the object to grasp |
grasps | Grasps to try (moveit_msgs/Grasp) |
support_name | Name of the support surface |
- Returns
- moveit_msgs/PickupResult
Definition at line 77 of file pick_place_interface.py.
def moveit_python.pick_place_interface.PickPlaceInterface.place |
( |
|
self, |
|
|
|
name, |
|
|
|
locations, |
|
|
|
wait = True , |
|
|
|
kwargs |
|
) |
| |
Plan and grasp something.
- Parameters
-
name | Name of the object to grasp |
grasps | Grasps to try (moveit_msgs/Grasp) |
support_name | Name of the support surface |
goal_is_eef | Set to true if the place goal is for the end effector frame, default is object frame. |
- Returns
- moveit_msgs/PlaceResult
Definition at line 168 of file pick_place_interface.py.
def moveit_python.pick_place_interface.PickPlaceInterface.place_with_retry |
( |
|
self, |
|
|
|
name, |
|
|
|
locations, |
|
|
|
retries = 5 , |
|
|
|
scene = None , |
|
|
|
kwargs |
|
) |
| |
moveit_python.pick_place_interface.PickPlaceInterface._effector |
|
private |
moveit_python.pick_place_interface.PickPlaceInterface._group |
|
private |
moveit_python.pick_place_interface.PickPlaceInterface._pick_action |
|
private |
moveit_python.pick_place_interface.PickPlaceInterface._place_action |
|
private |
moveit_python.pick_place_interface.PickPlaceInterface._plan_only |
|
private |
moveit_python.pick_place_interface.PickPlaceInterface._verbose |
|
private |
moveit_python.pick_place_interface.PickPlaceInterface.allowed_planning_time |
moveit_python.pick_place_interface.PickPlaceInterface.planner_id |
The documentation for this class was generated from the following file: