|
Robowflex
v0.1
Making MoveIt Easy
|
The actual plugin loader for collision plugins. Heavily inspired by code in moveit_ros/planning. More...
Public Member Functions | |
| CollisionPluginLoader () | |
| Constructor. Attempts to create the pluginlib loader for collision plugins. More... | |
| collision_detection::CollisionPluginPtr | load (const std::string &name) |
| Attempts to load the collision detector plugin by the given name. Saves the plugin in an internal map and returns it if found. More... | |
| bool | activate (const std::string &name, const planning_scene::PlanningScenePtr &scene, bool exclusive) |
| Loads a collision detector into a planning scene instance. More... | |
Private Types | |
| using | PluginLoader = pluginlib::ClassLoader< collision_detection::CollisionPlugin > |
| The pluginlib loader for collision detection plugins. More... | |
Private Attributes | |
| std::shared_ptr< PluginLoader > | loader_ |
| std::map< std::string, collision_detection::CollisionPluginPtr > | plugins_ |
| Loaded plugins. More... | |
The actual plugin loader for collision plugins. Heavily inspired by code in moveit_ros/planning.
|
private |
|
inline |
Constructor. Attempts to create the pluginlib loader for collision plugins.
Definition at line 37 of file scene.cpp.
|
inline |
Loads a collision detector into a planning scene instance.
| [in] | name | the plugin name |
| [in] | scene | the planning scene instance. |
| [in] | exclusive | If true, the new collision detector is the only one. |
Definition at line 77 of file scene.cpp.
|
inline |
|
private |
|
private |