mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-24 15:40:31 +08:00
gimbal: correctly set gimbal_device_id
When we use a gimbal connected via "RC", so PWM via the Aux channels, we need to set the gimbal_device_id to 1 as per the protocol. This was missing for GIMBAL_DEVICE_ATTITUDE_STATUS, so I added that, and fixed the name of that variable while at it.
This commit is contained in:
@@ -33,4 +33,4 @@ float32 pitch_max # [rad]
|
||||
float32 yaw_min # [rad]
|
||||
float32 yaw_max # [rad]
|
||||
|
||||
uint8 gimbal_device_compid
|
||||
uint8 gimbal_device_id
|
||||
|
||||
Reference in New Issue
Block a user