From 28f84e85b4942d54703b5957d07279116a0e1eaa Mon Sep 17 00:00:00 2001 From: MNikoliCC Date: Thu, 12 Dec 2024 11:53:46 +0100 Subject: [PATCH] Fix revert urdf --- webots_ros2_control/src/Ros2Control.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/webots_ros2_control/src/Ros2Control.cpp b/webots_ros2_control/src/Ros2Control.cpp index 97fee6c7b..d73d3bdc1 100644 --- a/webots_ros2_control/src/Ros2Control.cpp +++ b/webots_ros2_control/src/Ros2Control.cpp @@ -146,14 +146,7 @@ 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("" - " " - " " - " hardware_interface/DefaultPlugin" - " " - " " - "", - false, false); + resourceManager->load_urdf(urdfString, false, false); } #endif