diff --git a/include/iri_nav_module/ackermann_lp_module_bt.h b/include/iri_nav_module/ackermann_lp_module_bt.h index c27d32b0ae3e680eb63fe2a2a43c36d82b2ca3aa..ac26736e78dbdbaa4caffd17d559777847ae4c5a 100644 --- a/include/iri_nav_module/ackermann_lp_module_bt.h +++ b/include/iri_nav_module/ackermann_lp_module_bt.h @@ -109,7 +109,7 @@ class CAckermannLPModuleBT module(module) { std::size_t found = name.find_last_of("/\\"); - this->name=name.substr(0,found); + this->name=name.substr(found+1); } template <class ModuleCfg>