#include <planning_request_adapter.h>
Public Types | |
typedef boost::function< bool(const planning_scene::PlanningSceneConstPtr &planning_scene, const planning_interface::MotionPlanRequest &req, planning_interface::MotionPlanResponse &res)> | PlannerFn |
Public Member Functions | |
bool | adaptAndPlan (const planning_interface::PlannerManagerPtr &planner, const planning_scene::PlanningSceneConstPtr &planning_scene, const planning_interface::MotionPlanRequest &req, planning_interface::MotionPlanResponse &res) const |
bool | adaptAndPlan (const planning_interface::PlannerManagerPtr &planner, const planning_scene::PlanningSceneConstPtr &planning_scene, const planning_interface::MotionPlanRequest &req, planning_interface::MotionPlanResponse &res, std::vector< std::size_t > &added_path_index) const |
virtual bool | adaptAndPlan (const PlannerFn &planner, const planning_scene::PlanningSceneConstPtr &planning_scene, const planning_interface::MotionPlanRequest &req, planning_interface::MotionPlanResponse &res, std::vector< std::size_t > &added_path_index) const =0 |
Adapt the planning request if needed, call the planner function planner and update the planning response if needed. If the response is changed, the index values of the states added without planning are added to added_path_index. | |
virtual std::string | getDescription () const |
Get a short string that identifies the planning request adapter. | |
PlanningRequestAdapter () | |
virtual | ~PlanningRequestAdapter () |
Definition at line 48 of file planning_request_adapter.h.
typedef boost::function<bool(const planning_scene::PlanningSceneConstPtr& planning_scene, const planning_interface::MotionPlanRequest &req, planning_interface::MotionPlanResponse &res)> planning_request_adapter::PlanningRequestAdapter::PlannerFn |
Definition at line 53 of file planning_request_adapter.h.
Definition at line 55 of file planning_request_adapter.h.
virtual planning_request_adapter::PlanningRequestAdapter::~PlanningRequestAdapter | ( | ) | [inline, virtual] |
Definition at line 59 of file planning_request_adapter.h.
bool planning_request_adapter::PlanningRequestAdapter::adaptAndPlan | ( | const planning_interface::PlannerManagerPtr & | planner, |
const planning_scene::PlanningSceneConstPtr & | planning_scene, | ||
const planning_interface::MotionPlanRequest & | req, | ||
planning_interface::MotionPlanResponse & | res | ||
) | const |
Definition at line 70 of file planning_request_adapter.cpp.
bool planning_request_adapter::PlanningRequestAdapter::adaptAndPlan | ( | const planning_interface::PlannerManagerPtr & | planner, |
const planning_scene::PlanningSceneConstPtr & | planning_scene, | ||
const planning_interface::MotionPlanRequest & | req, | ||
planning_interface::MotionPlanResponse & | res, | ||
std::vector< std::size_t > & | added_path_index | ||
) | const |
Definition at line 61 of file planning_request_adapter.cpp.
virtual bool planning_request_adapter::PlanningRequestAdapter::adaptAndPlan | ( | const PlannerFn & | planner, |
const planning_scene::PlanningSceneConstPtr & | planning_scene, | ||
const planning_interface::MotionPlanRequest & | req, | ||
planning_interface::MotionPlanResponse & | res, | ||
std::vector< std::size_t > & | added_path_index | ||
) | const [pure virtual] |
Adapt the planning request if needed, call the planner function planner and update the planning response if needed. If the response is changed, the index values of the states added without planning are added to added_path_index.
virtual std::string planning_request_adapter::PlanningRequestAdapter::getDescription | ( | ) | const [inline, virtual] |
Get a short string that identifies the planning request adapter.
Definition at line 64 of file planning_request_adapter.h.