A motion planner that uses the MoveIt! planning pipeline to load a planner plugin.
More...
#include <planning.h>
A motion planner that uses the MoveIt! planning pipeline to load a planner plugin.
Definition at line 248 of file robowflex_library/include/robowflex_library/planning.h.
◆ PipelinePlanner() [1/2]
Constructor.
PipelinePlanner
Definition at line 253 of file robowflex_library/src/planning.cpp.
Planner(const RobotPtr &robot, const std::string &name="")
Constructor. Takes in a robot description and an optional namespace name. If name is specified,...
Functions for loading and animating robots in Blender.
◆ PipelinePlanner() [2/2]
◆ extractPlanningContext()
Retrieve planning context and dynamically cast to desired type from planning pipeline.
- Parameters
-
[in] | scene | A planning scene for the same robot_ to compute the plan in. |
[in] | request | The motion planning request to solve. |
- Template Parameters
-
T | Type of underlying planning context. |
- Returns
- The casted context for the motion planning request. On failure, nullptr.
Definition at line 275 of file robowflex_library/include/robowflex_library/planning.h.
281 auto pc =
pipeline_->getPlannerManager()->getPlanningContext(
scene->getSceneConst(), request);
282 return std::dynamic_pointer_cast<T>(pc);
planning_pipeline::PlanningPipelinePtr pipeline_
Loaded planning pipeline plugin.
Functions for loading and animating scenes in Blender.
◆ operator=()
◆ plan()
Plan a motion given a request and a scene. Uses the planning pipeline's generatePlan() method, which goes through planning adapters.
- Parameters
-
[in] | scene | A planning scene for the same robot_ to compute the plan in. |
[in] | request | The motion planning request to solve. |
- Returns
- The motion planning response generated by the planner.
Implements robowflex::Planner.
Definition at line 258 of file robowflex_library/src/planning.cpp.
262 pipeline_->generatePlan(
scene->getSceneConst(), request, response);
◆ pipeline_
planning_pipeline::PlanningPipelinePtr robowflex::PipelinePlanner::pipeline_ |
|
protected |
The documentation for this class was generated from the following files: