Robowflex  v0.1
Making MoveIt Easy
plugin_io.cpp
Go to the documentation of this file.
1 /* Author: Zachary Kingston */
2 
3 #include <moveit/planning_request_adapter/planning_request_adapter.h>
4 
7 
8 using namespace robowflex;
9 
10 /* \file plugin_io.cpp
11  * Demonstrates how to use the plugin loader helper class to load some MoveIt
12  * plugins.
13  */
14 
15 int main(int argc, char **argv)
16 {
17  ROS ros(argc, argv);
18 
19  auto plugin1 = IO::PluginManager::load<planning_request_adapter::PlanningRequestAdapter>( //
20  "moveit_core", "default_planner_request_adapters/AddTimeParameterization");
21 
22  auto plugin2 = IO::PluginManager::load<planning_request_adapter::PlanningRequestAdapter>( //
23  "moveit_core", "default_planner_request_adapters/FixStartStateBounds");
24 
25  auto plugin3 = IO::PluginManager::load<planning_request_adapter::PlanningRequestAdapter>( //
26  "moveit_core", "default_planner_request_adapters/FixStartStateCollision");
27 
28  return 0;
29 }
RAII-pattern for starting up ROS.
Definition: util.h:52
Main namespace. Contains all library classes and functions.
Definition: scene.cpp:25
int main(int argc, char **argv)
Definition: plugin_io.cpp:15