mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-02 06:01:35 +08:00
Robustified actuator output topic, added number of mixed outputs
This commit is contained in:
@@ -53,8 +53,9 @@
|
||||
#define NUM_ACTUATOR_OUTPUT_GROUPS 4 /**< for sanity checking */
|
||||
|
||||
struct actuator_outputs_s {
|
||||
uint64_t timestamp;
|
||||
float output[NUM_ACTUATOR_OUTPUTS];
|
||||
uint64_t timestamp; /**< output timestamp in us since system boot */
|
||||
float output[NUM_ACTUATOR_OUTPUTS]; /**< output data, in natural output units */
|
||||
int noutputs; /**< valid outputs */
|
||||
};
|
||||
|
||||
/* actuator output sets; this list can be expanded as more drivers emerge */
|
||||
|
||||
Reference in New Issue
Block a user