From 204c07c336e41113b6b8b6dc0fc492406b8c398a Mon Sep 17 00:00:00 2001 From: AnastasiaPittel Date: Thu, 4 Jul 2024 11:29:22 +0300 Subject: [PATCH] use node name --- nav2_core/include/nav2_core/behavior_tree_navigator.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nav2_core/include/nav2_core/behavior_tree_navigator.hpp b/nav2_core/include/nav2_core/behavior_tree_navigator.hpp index 1a35aa6686..2989a140db 100644 --- a/nav2_core/include/nav2_core/behavior_tree_navigator.hpp +++ b/nav2_core/include/nav2_core/behavior_tree_navigator.hpp @@ -204,7 +204,7 @@ class BehaviorTreeNavigator : public NavigatorBase // Create the Behavior Tree Action Server for this navigator bt_action_server_ = std::make_unique>( node, - getName(), + node->get_name(), plugin_lib_names, default_bt_xml_filename, std::bind(&BehaviorTreeNavigator::onGoalReceived, this, std::placeholders::_1),