mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
39 lines
1.1 KiB
Markdown
39 lines
1.1 KiB
Markdown
---
|
|
pageClass: is-wide-page
|
|
---
|
|
|
|
# ActuatorServosTrim (UORB message)
|
|
|
|
Servo trims, added as offset to servo outputs.
|
|
|
|
**TOPICS:** actuator_servos_trim
|
|
|
|
## Fields
|
|
|
|
| Name | Type | Unit [Frame] | Range/Enum | Description |
|
|
| --------- | ------------ | ------------ | ---------- | -------------------------------------- |
|
|
| timestamp | `uint64` | | | time since system start (microseconds) |
|
|
| trim | `float32[8]` | | | range: [-1, 1] |
|
|
|
|
## Constants
|
|
|
|
| Name | Type | Value | Description |
|
|
| --------------------------------------- | ------- | ----- | ----------- |
|
|
| <a id="#NUM_CONTROLS"></a> NUM_CONTROLS | `uint8` | 8 |
|
|
|
|
## Source Message
|
|
|
|
[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/ActuatorServosTrim.msg)
|
|
|
|
::: details Click here to see original file
|
|
|
|
```c
|
|
# Servo trims, added as offset to servo outputs
|
|
uint64 timestamp # time since system start (microseconds)
|
|
|
|
uint8 NUM_CONTROLS = 8
|
|
float32[8] trim # range: [-1, 1]
|
|
```
|
|
|
|
:::
|