Moveit Plugin for Planning with Standart Robot Commands This planner is dedicated to return a instance of PlanningContext that corresponds to the requested motion command set as planner_id in the MotionPlanRequest). It can be easily extended with additional commands by creating a class inherting from PlanningContextLoader. More...
#include <pilz_command_planner.h>
Public Member Functions | |
virtual bool | canServiceRequest (const planning_interface::MotionPlanRequest &req) const override |
Checks if the request can be handled. More... | |
virtual std::string | getDescription () const override |
Description of the planner. More... | |
virtual void | getPlanningAlgorithms (std::vector< std::string > &algs) const override |
Returns the available planning commands. More... | |
virtual planning_interface::PlanningContextPtr | getPlanningContext (const planning_scene::PlanningSceneConstPtr &planning_scene, const planning_interface::MotionPlanRequest &req, moveit_msgs::MoveItErrorCodes &error_code) const override |
Returns a PlanningContext that can be used to solve(calculate) the trajectory that corresponds to command given in motion request as planner_id. More... | |
virtual bool | initialize (const robot_model::RobotModelConstPtr &model, const std::string &ns) override |
Initializes the planner Upon initialization this planner will look for plugins implementing pilz::PlanningContextLoader. More... | |
void | registerContextLoader (const pilz::PlanningContextLoaderPtr &planning_context_loader) |
Register a PlanningContextLoader to be used by the CommandPlanner. More... | |
virtual | ~CommandPlanner () |
Public Member Functions inherited from planning_interface::PlannerManager | |
const PlannerConfigurationMap & | getPlannerConfigurations () const |
PlanningContextPtr | getPlanningContext (const planning_scene::PlanningSceneConstPtr &planning_scene, const MotionPlanRequest &req) const |
PlannerManager () | |
virtual void | setPlannerConfigurations (const PlannerConfigurationMap &pcs) |
void | terminate () const |
virtual | ~PlannerManager () |
Private Attributes | |
pilz::JointLimitsContainer | aggregated_limit_active_joints_ |
aggregated limits of the active joints More... | |
pilz::CartesianLimit | cartesian_limit_ |
cartesian limit More... | |
std::map< std::string, pilz::PlanningContextLoaderPtr > | context_loader_map_ |
Mapping from command to loader. More... | |
moveit::core::RobotModelConstPtr | model_ |
Robot model obtained at initialize. More... | |
std::string | namespace_ |
Namespace where the parameters are stored, obtained at initialize. More... | |
boost::scoped_ptr< pluginlib::ClassLoader< PlanningContextLoader > > | planner_context_loader |
Plugin loader. More... | |
Additional Inherited Members | |
Protected Attributes inherited from planning_interface::PlannerManager | |
PlannerConfigurationMap | config_settings_ |
Moveit Plugin for Planning with Standart Robot Commands This planner is dedicated to return a instance of PlanningContext that corresponds to the requested motion command set as planner_id in the MotionPlanRequest). It can be easily extended with additional commands by creating a class inherting from PlanningContextLoader.
Definition at line 42 of file pilz_command_planner.h.
|
inlinevirtual |
Definition at line 45 of file pilz_command_planner.h.
|
overridevirtual |
Checks if the request can be handled.
motion | request containing the planning_id that corresponds to the motion command |
Implements planning_interface::PlannerManager.
Definition at line 134 of file pilz_command_planner.cpp.
|
overridevirtual |
Description of the planner.
Reimplemented from planning_interface::PlannerManager.
Definition at line 89 of file pilz_command_planner.cpp.
|
overridevirtual |
Returns the available planning commands.
list | with the planning algorithms |
Reimplemented from planning_interface::PlannerManager.
Definition at line 94 of file pilz_command_planner.cpp.
|
overridevirtual |
Returns a PlanningContext that can be used to solve(calculate) the trajectory that corresponds to command given in motion request as planner_id.
planning_scene | |
req | |
error_code |
Implements planning_interface::PlannerManager.
Definition at line 104 of file pilz_command_planner.cpp.
|
overridevirtual |
Initializes the planner Upon initialization this planner will look for plugins implementing pilz::PlanningContextLoader.
model | The robot model |
ns | The namespace |
Reimplemented from planning_interface::PlannerManager.
Definition at line 38 of file pilz_command_planner.cpp.
void pilz::CommandPlanner::registerContextLoader | ( | const pilz::PlanningContextLoaderPtr & | planning_context_loader | ) |
Register a PlanningContextLoader to be used by the CommandPlanner.
planning_context_loader |
ContextLoaderRegistrationException | if a loader with the same algorithm name is already registered |
Definition at line 139 of file pilz_command_planner.cpp.
|
private |
aggregated limits of the active joints
Definition at line 108 of file pilz_command_planner.h.
|
private |
cartesian limit
Definition at line 111 of file pilz_command_planner.h.
|
private |
Mapping from command to loader.
Definition at line 99 of file pilz_command_planner.h.
|
private |
Robot model obtained at initialize.
Definition at line 102 of file pilz_command_planner.h.
|
private |
Namespace where the parameters are stored, obtained at initialize.
Definition at line 105 of file pilz_command_planner.h.
|
private |
Plugin loader.
Definition at line 96 of file pilz_command_planner.h.