class PlanningSceneInterface(object):
Constructor: PlanningSceneInterface(ns, synchronous, service_timeout)
Python interface for a C++ PlanningSceneInterface. Uses both C++ wrapped methods and scene manipulation topics to manipulate the PlanningScene managed by the PlanningSceneMonitor. See wrap_python_planning_scene_interface.cpp for the wrapped methods.
Method | __init__ |
Undocumented |
Method | add |
Add a box to the planning scene |
Method | add |
Add a cylinder to the planning scene |
Method | add |
Add a cylinder to the planning scene |
Method | add |
Add a mesh to the planning scene |
Method | add |
Add an object to the planning scene |
Method | add |
Add a plane to the planning scene |
Method | add |
Add a sphere to the planning scene |
Method | apply |
Applies the planning scene message. |
Method | attach |
Undocumented |
Method | attach |
Undocumented |
Method | attach |
Attach an object in the planning scene |
Method | clear |
Remove all objects from the planning scene |
Method | get |
Get the attached objects identified by the given object ids list. If no ids are provided, return all the attached objects. |
Method | get |
Get the names of all known objects in the world. If with_type is set to true, only return objects that have a known type. |
Method | get |
Get the names of known objects in the world that are located within a bounding region (specified in the frame reported by get_planning_frame()). If with_type is set to true, only return objects that have a known type. |
Method | get |
Get the poses from the objects identified by the given object ids list. |
Method | get |
Get the objects identified by the given object ids list. If no ids are provided, return all the known objects. |
Method | remove |
Remove an attached object from the robot, or all objects attached to the link if no name is provided, or all attached objects in the scene if neither link nor name are provided. |
Method | remove |
Remove an object from planning scene, or all if no name is provided |
Static Method | __make |
Undocumented |
Static Method | __make |
Undocumented |
Static Method | __make |
Undocumented |
Static Method | __make |
Create an empty Collision Object. Used when the object already exists |
Static Method | __make |
Undocumented |
Static Method | __make |
Undocumented |
Static Method | __make |
Undocumented |
Static Method | __make |
Undocumented |
Method | __submit |
Undocumented |
Instance Variable | __synchronous |
Undocumented |
Instance Variable | _apply |
Undocumented |
Instance Variable | _psi |
Undocumented |
Get the attached objects identified by the given object ids list. If no ids are provided, return all the attached objects.
Get the names of all known objects in the world. If with_type is set to true, only return objects that have a known type.
Get the names of known objects in the world that are located within a bounding region (specified in the frame reported by get_planning_frame()). If with_type is set to true, only return objects that have a known type.
Get the objects identified by the given object ids list. If no ids are provided, return all the known objects.
Remove an attached object from the robot, or all objects attached to the link if no name is provided, or all attached objects in the scene if neither link nor name are provided.
Removed attached objects remain in the scene as world objects. Call remove_world_object afterwards to remove them from the scene.