fix(mavlink): Allowing custom modes to request offboard setpoints via the external mode registration (#26949)

* forwarding offboard setpoints in modes using the external mode registration

* requesting offboard setpoint in RAPTOR

* adding old message versions

* bumping vehicle status

* adding message translations

* updating reference to versioned old message on previous translations
This commit is contained in:
Jonas Eschmann authored and GitHub committed 2026-04-13 09:06:11 -07:00
1 parent 885fe14ee6
commit abc756bf34
14 files changed
+347 -8

No files matched your search

+1
View File
@@ -2026,6 +2026,7 @@ void Commander::run()
// vehicle_status publish (after prearm/preflight updates above)
_mode_management.getModeStatus(_vehicle_status.valid_nav_states_mask, _vehicle_status.can_set_nav_states_mask);
_vehicle_status.accepts_offboard_setpoints = _mode_management.currentModeAcceptsOffboardSetpoints(_vehicle_status.nav_state);
_vehicle_status.timestamp = hrt_absolute_time();
_vehicle_status_pub.publish(_vehicle_status);