Skip to content

Commit

Permalink
Remove loading from robot description from parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
destogl committed Dec 12, 2023
1 parent c73ffa4 commit 9d1a17d
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions controller_manager/src/controller_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -272,16 +272,7 @@ ControllerManager::ControllerManager(
RCLCPP_WARN(get_logger(), "'update_rate' parameter not set, using default value.");
}

robot_description_ = "";
get_parameter("robot_description", robot_description_);
if (robot_description_.empty())
{
subscribe_to_robot_description_topic();
}
else
{
init_resource_manager(robot_description_);
}
subscribe_to_robot_description_topic();

diagnostics_updater_.setHardwareID("ros2_control");
diagnostics_updater_.add(
Expand Down

0 comments on commit 9d1a17d

Please sign in to comment.