Skip to content

common.xml: mirror GIMBAL_DEVICE and GIMBAL_MANAGER cap flags (#2414)#491

Merged
peterbarker merged 1 commit intoArduPilot:masterfrom
peterbarker:pr/duplicate-gimbal-flags
Mar 27, 2026
Merged

common.xml: mirror GIMBAL_DEVICE and GIMBAL_MANAGER cap flags (#2414)#491
peterbarker merged 1 commit intoArduPilot:masterfrom
peterbarker:pr/duplicate-gimbal-flags

Conversation

@peterbarker
Copy link
Copy Markdown

This is an attempt to fix the gimbal device vs. manager flags.

Instead of capping the device flags at 16 bits, we add an extension for 32 bits, and we copy any manager flags across.

For backwards compatibility, a gimbal device needs to set the 16 lower bits as well as the new 32 bits.

A ground station or gimbal manager can tell whether a gimbal device supports the new 32 bit flag if it is non-zero.

(this is from an upstream PR)

…k#2414)

This is an attempt to fix the gimbal device vs. manager flags.

Instead of capping the device flags at 16 bits, we add an extension for
32 bits, and we copy any manager flags across.

For backwards compatibility, a gimbal device needs to set the 16 lower
bits as well as the new 32 bits.

A ground station or gimbal manager can tell whether a gimbal device
supports the new 32 bit flag if it is non-zero.
@peterbarker peterbarker force-pushed the pr/duplicate-gimbal-flags branch from 0293530 to 518078e Compare March 27, 2026 00:01
@peterbarker peterbarker merged commit 93ac558 into ArduPilot:master Mar 27, 2026
12 checks passed
@peterbarker peterbarker deleted the pr/duplicate-gimbal-flags branch March 27, 2026 03:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants