From f57ee7f4cdc7f69248b05ad2d45a86d93758590f Mon Sep 17 00:00:00 2001 From: Sergi Hernandez Juan <shernand@iri.upc.edu> Date: Mon, 16 May 2022 16:23:45 +0200 Subject: [PATCH] Solved a bug: got the last part of the namespace as the prefix, nhot the firt one. --- include/iri_nav_module/ackermann_lp_module_bt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/iri_nav_module/ackermann_lp_module_bt.h b/include/iri_nav_module/ackermann_lp_module_bt.h index c27d32b..ac26736 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> -- GitLab