summaryrefslogtreecommitdiff
path: root/picknik-reset-fault-controller.spec
diff options
context:
space:
mode:
Diffstat (limited to 'picknik-reset-fault-controller.spec')
-rw-r--r--picknik-reset-fault-controller.spec10
1 files changed, 9 insertions, 1 deletions
diff --git a/picknik-reset-fault-controller.spec b/picknik-reset-fault-controller.spec
index 814c37c..a935a60 100644
--- a/picknik-reset-fault-controller.spec
+++ b/picknik-reset-fault-controller.spec
@@ -5,11 +5,15 @@
Name: ros-%{ros_distro}-%{RosPkgName}
Version: 0.0.5
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: ROS 2 controller that offers a service to clear faults in a hardware interface
License: Apache-2.0
URL: https://github.com/PickNikRobotics/picknik_controllers
Source0: https://github.com/PickNikRobotics/picknik_controllers/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
+# Adapt source to installed ros2_control 2.54.0 humble API:
+# LoanedStateInterface/LoanedCommandInterface::get_value() (returns double, no get_optional)
+# RealtimePublisher::tryPublish() (camelCase, no try_publish)
+Patch0: fix-humble-ros2-control-api.patch
# debug subpackage is meaningless for /opt prefix packages
%global debug_package %{nil}
@@ -82,6 +86,10 @@ make install DESTDIR=%{buildroot}
/opt/ros/%{ros_distro}
%changelog
+* Fri Oct 09 2026 ROS SIG <ros-sig@openeuler.org> - 0.0.5-3
+- Add Patch0 to adapt source to installed ros2_control 2.54.0 humble API:
+ replace get_optional() with get_value() (returns double) and try_publish with tryPublish
+
* Fri Oct 09 2026 ROS SIG <ros-sig@openeuler.org> - 0.0.5-2
- Fix %build syntax error: escape %%cmake in comment to prevent RPM macro expansion