Skip to content

Commit 929c45c

Browse files
moved load_urdf so it runs for all ROS2 distros. (#898)
1 parent b56cc41 commit 929c45c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webots_ros2_control/src/Ros2Control.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ namespace webots_ros2_control {
9999
resourceManager->set_component_state(controlHardware[i].name, active_state);
100100
#else
101101
resourceManager->activate_all_components();
102-
resourceManager->load_urdf(urdfString, false, false);
103102
#endif
103+
resourceManager->load_urdf(urdfString, false, false);
104104
}
105105

106106
// Controller Manager

0 commit comments

Comments
 (0)