feat(mavlink): receive external gimbal manager information/status

PX4 today only produces GIMBAL_MANAGER_INFORMATION/STATUS (as its own gimbal
manager); it has no way to learn about a gimbal manager running on another
component. To interoperate with an external gimbal manager (e.g. a smart
camera-gimbal that runs its own manager), PX4 needs to discover it and track
who currently controls it.

Decode incoming GIMBAL_MANAGER_INFORMATION and GIMBAL_MANAGER_STATUS from
other components into the new external_gimbal_manager_information and
external_gimbal_manager_status uORB topics, carrying the manager's sysid and
compid from the message frame. Messages originating from our own
system/component are ignored so we don't ingest our own streamed manager
messages.

This is the awareness layer that a gimbal-manager client output builds on.

Signed-off-by: Julian Oes <julian@oes.ch>
This commit is contained in:
Julian Oes committed 2026-09-22 15:15:30 +12:00
1 parent 0ff8d3270c
commit c237be45c8
5 files changed
+106

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
# Status of a gimbal manager running on another component (not us), decoded from
# an incoming GIMBAL_MANAGER_STATUS message. Used to track which component
# currently controls an external gimbal manager.
uint64 timestamp # time since system start (microseconds)
uint8 manager_sysid # system id of the external gimbal manager
uint8 manager_compid # component id of the external gimbal manager
uint32 flags
uint8 gimbal_device_id
uint8 primary_control_sysid
uint8 primary_control_compid
uint8 secondary_control_sysid
uint8 secondary_control_compid