mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 01:53:35 +08:00
docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
This commit is contained in:
@@ -1,8 +1,32 @@
|
||||
---
|
||||
pageClass: is-wide-page
|
||||
---
|
||||
|
||||
# GimbalControls (UORB message)
|
||||
|
||||
**TOPICS:** gimbal_controls
|
||||
|
||||
## Fields
|
||||
|
||||
[source file](https://github.com/PX4/PX4-Autopilot/blob/main/msg/GimbalControls.msg)
|
||||
| Name | Type | Unit [Frame] | Range/Enum | Description |
|
||||
| ---------------- | ------------ | ------------ | ---------- | -------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| timestamp | `uint64` | | | time since system start (microseconds) |
|
||||
| timestamp_sample | `uint64` | | | the timestamp the data this control response is based on was sampled |
|
||||
| control | `float32[3]` | | | Normalized output. 1 means maximum positive position. -1 maximum negative position. 0 means no deflection. NaN maps to disarmed. |
|
||||
|
||||
## Constants
|
||||
|
||||
| Name | Type | Value | Description |
|
||||
| --------------------------------------- | ------- | ----- | ----------- |
|
||||
| <a href="#INDEX_ROLL"></a> INDEX_ROLL | `uint8` | 0 |
|
||||
| <a href="#INDEX_PITCH"></a> INDEX_PITCH | `uint8` | 1 |
|
||||
| <a href="#INDEX_YAW"></a> INDEX_YAW | `uint8` | 2 |
|
||||
|
||||
## Source Message
|
||||
|
||||
[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/GimbalControls.msg)
|
||||
|
||||
::: details Click here to see original file
|
||||
|
||||
```c
|
||||
uint64 timestamp # time since system start (microseconds)
|
||||
@@ -11,6 +35,7 @@ uint8 INDEX_PITCH = 1
|
||||
uint8 INDEX_YAW = 2
|
||||
|
||||
uint64 timestamp_sample # the timestamp the data this control response is based on was sampled
|
||||
float32[3] control
|
||||
|
||||
float32[3] control # Normalized output. 1 means maximum positive position. -1 maximum negative position. 0 means no deflection. NaN maps to disarmed.
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
Reference in New Issue
Block a user