Skip to content

Commit

Permalink
Update ros-humble-webots-ros2-control.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias-Fischer authored Feb 3, 2024
1 parent fb521b0 commit eef9fac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patch/ros-humble-webots-ros2-control.patch
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ index fca501e86..fa414b150 100644
for (unsigned int i = 0; i < controlHardware.size(); i++) {
// Necessary hotfix for renamed variables present in "hardware_interface" package for versions above 3.5 (#590)
-#if HARDWARE_INTERFACE_VERSION_MAJOR >= 3 && HARDWARE_INTERFACE_VERSION_MINOR >= 5
+#if 1
+#if 0
const std::string pluginName = controlHardware[i].hardware_plugin_name;
auto webotsSystem =
std::unique_ptr<webots_ros2_control::Ros2ControlSystemInterface>(mHardwareLoader->createUnmanagedInstance(pluginName));
Expand Down

0 comments on commit eef9fac

Please sign in to comment.