Skip to content

Commit

Permalink
[CM] Skip robot_description topic remapping for controllers (#2082)
Browse files Browse the repository at this point in the history
  • Loading branch information
saikishor authored Mar 1, 2025
1 parent 54f9d74 commit 5595d32
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion controller_manager/src/controller_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3568,7 +3568,9 @@ rclcpp::NodeOptions ControllerManager::determine_controller_node_options(

for (const std::string & arg : cm_node_options_.arguments())
{
if (arg.find("__ns") != std::string::npos || arg.find("__node") != std::string::npos)
if (
arg.find("__ns") != std::string::npos || arg.find("__node") != std::string::npos ||
arg.find("robot_description") != std::string::npos)
{
if (
node_options_arguments.back() == RCL_REMAP_FLAG ||
Expand Down

0 comments on commit 5595d32

Please sign in to comment.