Skip to content
Snippets Groups Projects
Commit d1005dea authored by Alejandro Lopez Gestoso's avatar Alejandro Lopez Gestoso
Browse files

Added set and get yaw goal tolerances functions

parent b05d3980
No related branches found
No related tags found
No related merge requests found
......@@ -204,6 +204,22 @@ class CTEBLPModule : public CNavPlannerModule<ModuleCfg>
return DYN_RECONF_NO_SUCH_PARAM;
}
template <class ModuleCfg>
dyn_reconf_status_t CTEBLPModule<ModuleCfg>::set_yaw_goal_tolerance(double &value)
{
this->planner_reconf.set_parameter("yaw_goal_tolerance",value);
return this->planner_reconf.get_status();
}
template <class ModuleCfg>
dyn_reconf_status_t CTEBLPModule<ModuleCfg>::get_yaw_goal_tolerance(double &value)
{
if(this->planner_reconf.get_parameter("yaw_goal_tolerance",value))
return DYN_RECONF_SUCCESSFULL;
else
return DYN_RECONF_NO_SUCH_PARAM;
}
template <class ModuleCfg>
dyn_reconf_status_t CTEBLPModule<ModuleCfg>::set_goal_tolerances(double &xy_tol, double &yaw_tol)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment