mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
25 lines
935 B
Markdown
25 lines
935 B
Markdown
# ActuatorServos (повідомлення UORB)
|
|
|
|
Повідомлення про керування сервоприводом
|
|
|
|
Normalised output setpoint for up to 8 servos.
|
|
Published by the vehicle's allocation and consumed by the actuator output drivers.
|
|
|
|
[source file](https://github.com/PX4/PX4-Autopilot/blob/main/msg/versioned/ActuatorServos.msg)
|
|
|
|
```c
|
|
# Servo control message
|
|
#
|
|
# Normalised output setpoint for up to 8 servos.
|
|
# Published by the vehicle's allocation and consumed by the actuator output drivers.
|
|
|
|
uint32 MESSAGE_VERSION = 0
|
|
|
|
uint64 timestamp # [us] Time since system start
|
|
uint64 timestamp_sample # [us] Sampling timestamp of the data this control response is based on
|
|
|
|
uint8 NUM_CONTROLS = 8 #
|
|
float32[8] control # [-] [@range -1, 1] Normalized output. 1 means maximum positive position. -1 maximum negative position (if not supported by the output, <0 maps to NaN). NaN maps to disarmed.
|
|
|
|
```
|