Skip to content

Commit

Permalink
use node name
Browse files Browse the repository at this point in the history
  • Loading branch information
AnastasiaPittel committed Jul 4, 2024
1 parent 9c88ab7 commit 204c07c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nav2_core/include/nav2_core/behavior_tree_navigator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ class BehaviorTreeNavigator : public NavigatorBase
// Create the Behavior Tree Action Server for this navigator
bt_action_server_ = std::make_unique<nav2_behavior_tree::BtActionServer<ActionT>>(
node,
getName(),
node->get_name(),
plugin_lib_names,
default_bt_xml_filename,
std::bind(&BehaviorTreeNavigator::onGoalReceived, this, std::placeholders::_1),
Expand Down

0 comments on commit 204c07c

Please sign in to comment.