mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 02:13:33 +08:00
docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
This commit is contained in:
@@ -1,8 +1,39 @@
|
||||
---
|
||||
pageClass: is-wide-page
|
||||
---
|
||||
|
||||
# GimbalDeviceSetAttitude (UORB message)
|
||||
|
||||
**TOPICS:** gimbal_deviceset_attitude
|
||||
|
||||
## Fields
|
||||
|
||||
[source file](https://github.com/PX4/PX4-Autopilot/blob/main/msg/GimbalDeviceSetAttitude.msg)
|
||||
| Name | Type | Unit [Frame] | Range/Enum | Description |
|
||||
| ------------------ | ------------ | ------------ | ---------- | -------------------------------------- |
|
||||
| timestamp | `uint64` | | | time since system start (microseconds) |
|
||||
| target_system | `uint8` | | |
|
||||
| target_component | `uint8` | | |
|
||||
| flags | `uint16` | | |
|
||||
| q | `float32[4]` | | |
|
||||
| angular_velocity_x | `float32` | | |
|
||||
| angular_velocity_y | `float32` | | |
|
||||
| angular_velocity_z | `float32` | | |
|
||||
|
||||
## Constants
|
||||
|
||||
| Name | Type | Value | Description |
|
||||
| ----------------------------------------------------------------------------- | -------- | ----- | ----------- |
|
||||
| <a href="#GIMBAL_DEVICE_FLAGS_RETRACT"></a> GIMBAL_DEVICE_FLAGS_RETRACT | `uint32` | 1 |
|
||||
| <a href="#GIMBAL_DEVICE_FLAGS_NEUTRAL"></a> GIMBAL_DEVICE_FLAGS_NEUTRAL | `uint32` | 2 |
|
||||
| <a href="#GIMBAL_DEVICE_FLAGS_ROLL_LOCK"></a> GIMBAL_DEVICE_FLAGS_ROLL_LOCK | `uint32` | 4 |
|
||||
| <a href="#GIMBAL_DEVICE_FLAGS_PITCH_LOCK"></a> GIMBAL_DEVICE_FLAGS_PITCH_LOCK | `uint32` | 8 |
|
||||
| <a href="#GIMBAL_DEVICE_FLAGS_YAW_LOCK"></a> GIMBAL_DEVICE_FLAGS_YAW_LOCK | `uint32` | 16 |
|
||||
|
||||
## Source Message
|
||||
|
||||
[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/GimbalDeviceSetAttitude.msg)
|
||||
|
||||
::: details Click here to see original file
|
||||
|
||||
```c
|
||||
uint64 timestamp # time since system start (microseconds)
|
||||
@@ -22,5 +53,6 @@ float32[4] q
|
||||
float32 angular_velocity_x
|
||||
float32 angular_velocity_y
|
||||
float32 angular_velocity_z
|
||||
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
Reference in New Issue
Block a user