From 3bd8eacddc7095f193c6e4638bc56a9483bc539c Mon Sep 17 00:00:00 2001 From: nrodriguez <nicolas.adrian.rodriguez@upc.edu> Date: Thu, 19 May 2022 18:54:13 +0200 Subject: [PATCH] Corrected node announced with the same ID --- include/iri_nav_module/nav_module_bt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/iri_nav_module/nav_module_bt.h b/include/iri_nav_module/nav_module_bt.h index 6b80bb5..ecc2118 100644 --- a/include/iri_nav_module/nav_module_bt.h +++ b/include/iri_nav_module/nav_module_bt.h @@ -318,8 +318,8 @@ class CNavModuleBT factory.registerSimpleAction(name+"_costmaps_clear", std::bind(&CNavModuleBT::costmaps_clear, this)); factory.registerSimpleAction(name+"_costmaps_enable_auto_clear", std::bind(&CNavModuleBT::costmaps_enable_auto_clear, this, std::placeholders::_1), auto_clear_ports); factory.registerSimpleAction(name+"_costmaps_disable_auto_clear", std::bind(&CNavModuleBT::costmaps_disable_auto_clear, this)); - factory.registerSimpleAction(name+"_get_current_pose", std::bind(&CNavModuleBT::get_current_speed, this, std::placeholders::_1), current_speed_ports); - factory.registerSimpleAction(name+"_get_current_pose", std::bind(&CNavModuleBT::get_current_path, this, std::placeholders::_1), current_path_ports); + factory.registerSimpleAction(name+"_get_current_speed", std::bind(&CNavModuleBT::get_current_speed, this, std::placeholders::_1), current_speed_ports); + factory.registerSimpleAction(name+"_get_current_path", std::bind(&CNavModuleBT::get_current_path, this, std::placeholders::_1), current_path_ports); factory.registerSimpleAction(name+"_get_current_pose", std::bind(&CNavModuleBT::get_current_pose, this, std::placeholders::_1), current_pose_ports); factory.registerSimpleAction(name+"_get_goal_distance", std::bind(&CNavModuleBT::get_goal_distance, this, std::placeholders::_1), goal_distance_ports); factory.registerSimpleAction(name+"_get_path_length", std::bind(&CNavModuleBT::get_path_length, this, std::placeholders::_1), path_length_ports); -- GitLab