Skip to content
Snippets Groups Projects
Commit 01b78ace authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Implemented the dynamic_reconfigure function in the opendrive global planner module.

parent 73fc69cb
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,11 @@ class COpendriveGPModule : public CNavPlannerModule<ModuleCfg>
*
*/
COpendriveGPModule(const std::string &name,const std::string &name_space=std::string(""));
/**
* \brief
*
*/
void dynamic_reconfigure(ModuleCfg &config, const std::string &name);
/* parameter functions */
dyn_reconf_status_t is_multi_hypothesis(bool &enable);
dyn_reconf_status_t multy_hypothesis(bool enable);
......@@ -70,6 +75,13 @@ class COpendriveGPModule : public CNavPlannerModule<ModuleCfg>
}
template<class ModuleCfg>
void COpendriveGPModule<ModuleCfg>::dynamic_reconfigure(ModuleCfg &config, const std::string &name)
{
this->get_map.dynamic_reconfigure(config,name+"_get_map");
this->get_nodes.dynamic_reconfigure(config,name+"_get_nodes");
}
/* parameter functions */
template<class ModuleCfg>
dyn_reconf_status_t COpendriveGPModule<ModuleCfg>::is_multi_hypothesis(bool &enable)
......
File added
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