mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 14:03:33 +08:00
docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
This commit is contained in:
@@ -1,6 +1,46 @@
|
||||
---
|
||||
pageClass: is-wide-page
|
||||
---
|
||||
|
||||
# GimbalDeviceAttitudeStatus (UORB message)
|
||||
|
||||
[source file](https://github.com/PX4/PX4-Autopilot/blob/main/msg/GimbalDeviceAttitudeStatus.msg)
|
||||
**TOPICS:** gimbal_deviceattitude_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
|
||||
|
||||
| Name | Type | Value | Description |
|
||||
| ----------------------------------------------------------------------------------- | -------- | ----- | ----------- |
|
||||
| <a href="#DEVICE_FLAGS_RETRACT"></a> DEVICE_FLAGS_RETRACT | `uint16` | 1 |
|
||||
| <a href="#DEVICE_FLAGS_NEUTRAL"></a> DEVICE_FLAGS_NEUTRAL | `uint16` | 2 |
|
||||
| <a href="#DEVICE_FLAGS_ROLL_LOCK"></a> DEVICE_FLAGS_ROLL_LOCK | `uint16` | 4 |
|
||||
| <a href="#DEVICE_FLAGS_PITCH_LOCK"></a> DEVICE_FLAGS_PITCH_LOCK | `uint16` | 8 |
|
||||
| <a href="#DEVICE_FLAGS_YAW_LOCK"></a> DEVICE_FLAGS_YAW_LOCK | `uint16` | 16 |
|
||||
| <a href="#DEVICE_FLAGS_YAW_IN_VEHICLE_FRAME"></a> DEVICE_FLAGS_YAW_IN_VEHICLE_FRAME | `uint16` | 32 |
|
||||
| <a href="#DEVICE_FLAGS_YAW_IN_EARTH_FRAME"></a> DEVICE_FLAGS_YAW_IN_EARTH_FRAME | `uint16` | 64 |
|
||||
|
||||
## Source Message
|
||||
|
||||
[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/GimbalDeviceAttitudeStatus.msg)
|
||||
|
||||
::: details Click here to see original file
|
||||
|
||||
```c
|
||||
uint64 timestamp # time since system start (microseconds)
|
||||
@@ -29,5 +69,6 @@ float32 delta_yaw_velocity
|
||||
uint8 gimbal_device_id
|
||||
|
||||
bool received_from_mavlink
|
||||
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
Reference in New Issue
Block a user