From eef9fac97be9a87429199aee3590cc4bbe2ece65 Mon Sep 17 00:00:00 2001 From: Tobias Fischer Date: Sat, 3 Feb 2024 14:57:04 +1000 Subject: [PATCH] Update ros-humble-webots-ros2-control.patch --- patch/ros-humble-webots-ros2-control.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patch/ros-humble-webots-ros2-control.patch b/patch/ros-humble-webots-ros2-control.patch index 3a6586010..e7a67e1e6 100644 --- a/patch/ros-humble-webots-ros2-control.patch +++ b/patch/ros-humble-webots-ros2-control.patch @@ -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(mHardwareLoader->createUnmanagedInstance(pluginName));