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 <jonatan.olofsson@saabgroup.com>
  • Loading branch information
jonatanolofsson and Jonatan Olofsson authored Jun 21, 2021
1 parent eab8b49 commit cb5f90f
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 cb5f90f

Please sign in to comment.