mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-03-23 10:03:41 +08:00
3.0 KiB
3.0 KiB
pageClass
| pageClass |
|---|
| is-wide-page |
GimbalDeviceAttitudeStatus (UORB message)
TOPICS: gimbal_device_attitude_status
Fields
| Name | Type | Unit [Frame] | Range/Enum | Description |
|---|---|---|---|---|
| timestamp | uint64 |
time since system start (microseconds) | ||
| target_system | uint8 |
|||
| target_component | uint8 |
|||
| device_flags | uint16 |
|||
| q | float32[4] |
|||
| angular_velocity_x | float32 |
|||
| angular_velocity_y | float32 |
|||
| angular_velocity_z | float32 |
|||
| failure_flags | uint32 |
|||
| delta_yaw | float32 |
|||
| delta_yaw_velocity | float32 |
|||
| gimbal_device_id | uint8 |
|||
| received_from_mavlink | bool |
Constants
Source Message
::: details Click here to see original file
uint64 timestamp # time since system start (microseconds)
uint8 target_system
uint8 target_component
uint16 device_flags
uint16 DEVICE_FLAGS_RETRACT = 1
uint16 DEVICE_FLAGS_NEUTRAL = 2
uint16 DEVICE_FLAGS_ROLL_LOCK = 4
uint16 DEVICE_FLAGS_PITCH_LOCK = 8
uint16 DEVICE_FLAGS_YAW_LOCK = 16
uint16 DEVICE_FLAGS_YAW_IN_VEHICLE_FRAME = 32
uint16 DEVICE_FLAGS_YAW_IN_EARTH_FRAME = 64
float32[4] q
float32 angular_velocity_x
float32 angular_velocity_y
float32 angular_velocity_z
uint32 failure_flags
float32 delta_yaw
float32 delta_yaw_velocity
uint8 gimbal_device_id
bool received_from_mavlink
:::