mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 09:22:18 +00:00
vmount/mavlink: update gimbal information message
We should be using gimbal_manager_information and not gimbal_device_information. Plus, this updates the fields and flags according to the MAVLink changes.
This commit is contained in:
@@ -2,9 +2,12 @@ uint64 timestamp # time since system start (microseconds)
|
||||
|
||||
uint8[32] vendor_name
|
||||
uint8[32] model_name
|
||||
uint8[32] custom_name
|
||||
uint32 firmware_version
|
||||
uint32 hardware_version
|
||||
uint64 uid
|
||||
|
||||
uint16 capability_flags
|
||||
uint16 cap_flags
|
||||
|
||||
uint32 GIMBAL_DEVICE_CAP_FLAGS_HAS_RETRACT = 1
|
||||
uint32 GIMBAL_DEVICE_CAP_FLAGS_HAS_NEUTRAL = 2
|
||||
@@ -17,11 +20,17 @@ uint32 GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_LOCK = 128
|
||||
uint32 GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_AXIS = 256
|
||||
uint32 GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_FOLLOW = 512
|
||||
uint32 GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_LOCK = 1024
|
||||
uint32 GIMBAL_DEVICE_CAP_FLAGS_SUPPORTS_INFINITE_YAW = 2048
|
||||
|
||||
uint16 custom_cap_flags
|
||||
|
||||
float32 roll_min # [rad]
|
||||
float32 roll_max # [rad]
|
||||
|
||||
float32 pitch_max # [rad]
|
||||
float32 pitch_min # [rad]
|
||||
float32 pitch_max # [rad]
|
||||
|
||||
float32 yaw_max # [rad]
|
||||
float32 yaw_min # [rad]
|
||||
float32 yaw_max # [rad]
|
||||
|
||||
uint8 gimbal_device_compid
|
||||
|
||||
Reference in New Issue
Block a user