3 #ifndef ROBOWFLEX_DART_PLANNER_ 
    4 #define ROBOWFLEX_DART_PLANNER_ 
   71             template <
typename T, 
typename... Args>
 
   74                 return [&]() -> ompl::base::PlannerPtr {
 
   77                         auto p = std::make_shared<T>(
builder->info, std::forward<Args>(args)...);
 
#define ROBOWFLEX_CLASS_FORWARD(C)
Macro that forward declares a class and defines two shared ptrs types:
 
An abstract interface to a motion planning algorithm.
 
A shared pointer wrapper for robowflex::Robot.
 
A const shared pointer wrapper for robowflex::Scene.
 
Wrapper for easy access to DART planning tools via standard Robowflex interface.
 
std::vector< std::string > getPlannerConfigs() const override
Return all planner configurations offered by this planner. Any of the configurations returned can be ...
 
void setupPlanners()
Setup planner allocators.
 
RobotPtr dart_robot_
DART version of the robot.
 
DARTPlanner(const robowflex::RobotPtr &robot, const std::string &name="DARTPlanner")
Constructor. Takes in a robot description and an optional namespace name. If name is specified,...
 
PlanBuilderPtr builder
DART Motion Plan Builder.
 
StructurePtr dart_scene_
DART version of current planning request scene.
 
void preRun(const robowflex::SceneConstPtr &scene, const planning_interface::MotionPlanRequest &request) override
This function is called before benchmarking. Here, it is used to setup the DART scene before the solv...
 
PlannerAllocator makePlanner(Args &&... args)
Macro for creating and setting up an OMPL planner.
 
planning_interface::MotionPlanResponse plan(const robowflex::SceneConstPtr &scene, const planning_interface::MotionPlanRequest &request) override
Plan a motion given a request and a scene.
 
WorldPtr world_
DART world containing robot and scene.
 
ompl::base::GoalPtr goal_
Current motion planning goal.
 
SceneConstPtr scene_
Current planning request scene.
 
std::map< std::string, PlannerAllocator > planner_allocators_
Named planner allocators.
 
A shared pointer wrapper for robowflex::darts::PlanBuilder.
 
A shared pointer wrapper for robowflex::darts::Structure.
 
A shared pointer wrapper for robowflex::darts::World.
 
moveit_msgs::MotionPlanRequest MotionPlanRequest
 
Functions for loading and animating robots in Blender.
 
Main namespace. Contains all library classes and functions.
 
Functions for loading and animating scenes in Blender.