summaryrefslogtreecommitdiff
path: root/ros-humble-mavros-extras.spec
diff options
context:
space:
mode:
Diffstat (limited to 'ros-humble-mavros-extras.spec')
-rw-r--r--ros-humble-mavros-extras.spec12
1 files changed, 11 insertions, 1 deletions
diff --git a/ros-humble-mavros-extras.spec b/ros-humble-mavros-extras.spec
index e9fa2c7..ccad114 100644
--- a/ros-humble-mavros-extras.spec
+++ b/ros-humble-mavros-extras.spec
@@ -4,13 +4,16 @@
Name: ros-%{ros_distro}-%{RosPkgName}
Version: 2.16.0
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Extra nodes and plugins for MAVROS
License: GPLv3 and LGPLv3 and BSD
URL: https://github.com/mavlink/mavros
Source0: https://github.com/mavlink/mavros/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
+# Patch: mavros_msgs 2.14.0 (ROS SIG repo) lacks HilGPS.id/yaw fields added in 2.16.0
+Patch0: hil-gps-id-yaw-compat.patch
+
# debug subpackage not meaningful (/opt prefix, nonstandard strip paths)
%global debug_package %{nil}
# /opt python bytecode compilation writes standard sitelib paths — strip brp-python-bytecompile
@@ -145,6 +148,13 @@ cd mavros_extras/.obj
/opt/ros/%{ros_distro}
%changelog
+* Mon Oct 12 2026 AI Importer <ai-importer@openeuler.org> - 2.16.0-4
+- Add Patch0 (hil-gps-id-yaw-compat.patch): comment out gps.id/gps.yaw
+ assignments in hil.cpp that reference HilGPS fields added in mavros 2.16.0.
+ The ROS SIG repo ships mavros_msgs 2.14.0 which lacks these fields, causing
+ "has no member named 'id'/'yaw'" compile errors at hil.cpp:243-244.
+ The MAVLink HIL_GPS message still has id/yaw (defaults to 0).
+
* Mon Oct 12 2026 AI Importer <ai-importer@openeuler.org> - 2.16.0-3
- Escape %%cmake token in a %%build comment: rpm expands %%macros even
inside comments, so the openEuler %%cmake macro's multi-line body (which