mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-03-24 02:24:09 +08:00
1.9 KiB
1.9 KiB
pageClass
| pageClass |
|---|
| is-wide-page |
GimbalControls (UORB message)
TOPICS: gimbal_controls
Fields
| 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 |
|---|---|---|---|
| INDEX_ROLL | uint8 |
0 | |
| INDEX_PITCH | uint8 |
1 | |
| INDEX_YAW | uint8 |
2 |
Source Message
::: details Click here to see original file
uint64 timestamp # time since system start (microseconds)
uint8 INDEX_ROLL = 0
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 # Normalized output. 1 means maximum positive position. -1 maximum negative position. 0 means no deflection. NaN maps to disarmed.
:::