Skip to content

Commit

Permalink
Name bt_navigator action nodes uniquely (#2410)
Browse files Browse the repository at this point in the history
Co-authored-by: Jonatan Olofsson <[email protected]>
  • Loading branch information
2 people authored and SteveMacenski committed Jul 13, 2021
1 parent fdf2ce4 commit 9f53431
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ bool BtActionServer<ActionT>::on_configure()
// use suffix '_rclcpp_node' to keep parameter file consistency #1773
auto options = rclcpp::NodeOptions().arguments(
{"--ros-args",
"-r", std::string("__node:=") + node->get_name() + "_rclcpp_node",
"-r", std::string("__node:=") + std::string(node->get_name()) + action_name_ + "_rclcpp_node",
"--"});
// Support for handling the topic-based goal pose from rviz
client_node_ = std::make_shared<rclcpp::Node>("_", options);
Expand Down

0 comments on commit 9f53431

Please sign in to comment.