Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
lukicdarkoo committed Dec 18, 2024
1 parent 3b4b90e commit 771ef22
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions webots_ros2_control/src/Ros2Control.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,8 @@ namespace webots_ros2_control {

rclcpp::NodeOptions options = controller_manager::get_cm_node_options();
options.arguments(node->get_node_options().arguments());
mControllerManager.reset(new controller_manager::ControllerManager(
std::move(resourceManager),
mExecutor,
"controller_manager",
node->get_namespace(),
options
));
mControllerManager.reset(new controller_manager::ControllerManager(std::move(resourceManager), mExecutor,
"controller_manager", node->get_namespace(), options));

// Update rate
const int updateRate = mControllerManager->get_parameter("update_rate").as_int();
Expand Down

0 comments on commit 771ef22

Please sign in to comment.