mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-26 09:26:25 +08:00
docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
This commit is contained in:
@@ -1,8 +1,43 @@
|
||||
---
|
||||
pageClass: is-wide-page
|
||||
---
|
||||
|
||||
# GimbalManagerSetAttitude (UORB message)
|
||||
|
||||
**TOPICS:** gimbal_managerset_attitude
|
||||
|
||||
## Fields
|
||||
|
||||
[source file](https://github.com/PX4/PX4-Autopilot/blob/main/msg/GimbalManagerSetAttitude.msg)
|
||||
| Name | Type | Unit [Frame] | Range/Enum | Description |
|
||||
| ------------------ | ------------ | ------------ | ---------- | -------------------------------------- |
|
||||
| timestamp | `uint64` | | | time since system start (microseconds) |
|
||||
| origin_sysid | `uint8` | | |
|
||||
| origin_compid | `uint8` | | |
|
||||
| target_system | `uint8` | | |
|
||||
| target_component | `uint8` | | |
|
||||
| flags | `uint32` | | |
|
||||
| gimbal_device_id | `uint8` | | |
|
||||
| q | `float32[4]` | | |
|
||||
| angular_velocity_x | `float32` | | |
|
||||
| angular_velocity_y | `float32` | | |
|
||||
| angular_velocity_z | `float32` | | |
|
||||
|
||||
## Constants
|
||||
|
||||
| Name | Type | Value | Description |
|
||||
| ------------------------------------------------------------------------------- | -------- | ----- | ----------- |
|
||||
| <a href="#GIMBAL_MANAGER_FLAGS_RETRACT"></a> GIMBAL_MANAGER_FLAGS_RETRACT | `uint32` | 1 |
|
||||
| <a href="#GIMBAL_MANAGER_FLAGS_NEUTRAL"></a> GIMBAL_MANAGER_FLAGS_NEUTRAL | `uint32` | 2 |
|
||||
| <a href="#GIMBAL_MANAGER_FLAGS_ROLL_LOCK"></a> GIMBAL_MANAGER_FLAGS_ROLL_LOCK | `uint32` | 4 |
|
||||
| <a href="#GIMBAL_MANAGER_FLAGS_PITCH_LOCK"></a> GIMBAL_MANAGER_FLAGS_PITCH_LOCK | `uint32` | 8 |
|
||||
| <a href="#GIMBAL_MANAGER_FLAGS_YAW_LOCK"></a> GIMBAL_MANAGER_FLAGS_YAW_LOCK | `uint32` | 16 |
|
||||
| <a href="#ORB_QUEUE_LENGTH"></a> ORB_QUEUE_LENGTH | `uint8` | 2 |
|
||||
|
||||
## Source Message
|
||||
|
||||
[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/GimbalManagerSetAttitude.msg)
|
||||
|
||||
::: details Click here to see original file
|
||||
|
||||
```c
|
||||
uint64 timestamp # time since system start (microseconds)
|
||||
@@ -29,5 +64,6 @@ float32 angular_velocity_y
|
||||
float32 angular_velocity_z
|
||||
|
||||
uint8 ORB_QUEUE_LENGTH = 2
|
||||
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
Reference in New Issue
Block a user