60 planning_interface::PlanningContextPtr& planning_context,
const std::string& name,
const std::string& group)
const
62 if (limits_set_ && model_set_)
64 planning_context = std::make_shared<PlanningContextPTP>(name, group, model_, limits_);
71 RCLCPP_ERROR_STREAM(getLogger(),
72 "Joint Limits are not defined. Cannot load planning context. Call setLimits loadContext");
76 RCLCPP_ERROR_STREAM(getLogger(),
"Robot model was not set");
Plugin that can generate instances of PlanningContextPTP. Generates instances of PlanningContextPTP.
bool loadContext(planning_interface::PlanningContextPtr &planning_context, const std::string &name, const std::string &group) const override
return a instance of pilz_industrial_motion_planner::PlanningContextPTP
Base class for all PlanningContextLoaders. Since planning_interface::PlanningContext has a non empty ...