Public Member Functions | Public Attributes | Private Attributes | List of all members
moveit_python.pick_place_interface.PickPlaceInterface Class Reference

Simple interface to pick and place actions. More...

Inheritance diagram for moveit_python.pick_place_interface.PickPlaceInterface:
Inheritance graph
[legend]

Public Member Functions

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...
 

Public Attributes

 allowed_planning_time
 
 planner_id
 

Private Attributes

 _effector
 
 _group
 
 _pick_action
 
 _place_action
 
 _plan_only
 
 _verbose
 

Detailed Description

Simple interface to pick and place actions.

Definition at line 35 of file pick_place_interface.py.

Constructor & Destructor Documentation

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
groupName of arm planning group
ee_groupName of end effector planning group
plan_onlyShould we only plan, but not execute?

Definition at line 45 of file pick_place_interface.py.

Member Function Documentation

def moveit_python.pick_place_interface.PickPlaceInterface.get_pick_action (   self)

Definition at line 66 of file pick_place_interface.py.

def moveit_python.pick_place_interface.PickPlaceInterface.get_place_action (   self)

Definition at line 69 of file pick_place_interface.py.

def moveit_python.pick_place_interface.PickPlaceInterface.pick_with_retry (   self,
  name,
  grasps,
  retries = 5,
  scene = None,
  kwargs 
)

Common usage pattern TODO document.

Definition at line 250 of file pick_place_interface.py.

def moveit_python.pick_place_interface.PickPlaceInterface.pickup (   self,
  name,
  grasps,
  wait = True,
  kwargs 
)

Plan and grasp something.

Parameters
nameName of the object to grasp
graspsGrasps to try (moveit_msgs/Grasp)
support_nameName 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
nameName of the object to grasp
graspsGrasps to try (moveit_msgs/Grasp)
support_nameName of the support surface
goal_is_eefSet 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 
)

Common usage pattern TODO document.

Definition at line 288 of file pick_place_interface.py.

Member Data Documentation

moveit_python.pick_place_interface.PickPlaceInterface._effector
private

Definition at line 48 of file pick_place_interface.py.

moveit_python.pick_place_interface.PickPlaceInterface._group
private

Definition at line 47 of file pick_place_interface.py.

moveit_python.pick_place_interface.PickPlaceInterface._pick_action
private

Definition at line 51 of file pick_place_interface.py.

moveit_python.pick_place_interface.PickPlaceInterface._place_action
private

Definition at line 57 of file pick_place_interface.py.

moveit_python.pick_place_interface.PickPlaceInterface._plan_only
private

Definition at line 62 of file pick_place_interface.py.

moveit_python.pick_place_interface.PickPlaceInterface._verbose
private

Definition at line 46 of file pick_place_interface.py.

moveit_python.pick_place_interface.PickPlaceInterface.allowed_planning_time

Definition at line 64 of file pick_place_interface.py.

moveit_python.pick_place_interface.PickPlaceInterface.planner_id

Definition at line 63 of file pick_place_interface.py.


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


moveit_python
Author(s): Michael Ferguson
autogenerated on Wed Jun 5 2019 21:51:17