Skip to content

Commit

Permalink
Fix pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
MNikoliCC committed Dec 11, 2024
1 parent 48183f9 commit 9d07c06
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions webots_ros2_control/src/Ros2Control.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,15 +146,14 @@ namespace webots_ros2_control {
rclcpp_lifecycle::State active_state(State::PRIMARY_STATE_ACTIVE, hardware_interface::lifecycle_state_names::ACTIVE);
resourceManager->set_component_state(controlHardware[i].name, active_state);

resourceManager->load_urdf(
"<robot name=\"default_robot\">"
" <ros2_control name=\"default_control\" type=\"hardware_interface/DefaultHardware\">"
" <hardware>"
" <plugin>hardware_interface/DefaultPlugin</plugin>"
" </hardware>"
" </ros2_control>"
"</robot>",
false, false);
resourceManager->load_urdf("<robot name=\"default_robot\">"
" <ros2_control name=\"default_control\" type=\"hardware_interface/DefaultHardware\">"
" <hardware>"
" <plugin>hardware_interface/DefaultPlugin</plugin>"
" </hardware>"
" </ros2_control>"
"</robot>",
false, false);
}
#endif

Expand Down

0 comments on commit 9d07c06

Please sign in to comment.