File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -91,15 +91,9 @@ namespace webots_ros2_control {
9191 resourceManager->import_component (std::move (webotsSystem), controlHardware[i]);
9292
9393// Configure and activate all components
94- // Necessary hotfix for deprecation of component activation present in "hardware_interface" package for versions above 3.15
95- // (#793)
96- #if HARDWARE_INTERFACE_VERSION_MAJOR >= 4 || HARDWARE_INTERFACE_VERSION_MAJOR >= 3 && HARDWARE_INTERFACE_VERSION_MINOR >= 15
9794 using lifecycle_msgs::msg::State;
9895 rclcpp_lifecycle::State active_state (State::PRIMARY_STATE_ACTIVE, hardware_interface::lifecycle_state_names::ACTIVE);
9996 resourceManager->set_component_state (controlHardware[i].name , active_state);
100- #else
101- resourceManager->activate_all_components ();
102- #endif
10397 resourceManager->load_urdf (urdfString, false , false );
10498 }
10599
You can’t perform that action at this time.
0 commit comments