mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 09:43:34 +08:00
fixed publication of mixer limit flags
This commit is contained in:
@@ -52,11 +52,10 @@
|
||||
* Motor limits
|
||||
*/
|
||||
struct multirotor_motor_limits_s {
|
||||
uint8_t roll_pitch : 1; // roll/pitch limit reached
|
||||
uint8_t yaw : 1; // yaw limit reached
|
||||
uint8_t throttle_lower : 1; // lower throttle limit reached
|
||||
uint8_t throttle_upper : 1; // upper throttle limit reached
|
||||
uint8_t reserved : 4;
|
||||
uint8_t lower_limit : 1; // at least one actuator command has saturated on the lower limit
|
||||
uint8_t upper_limit : 1; // at least one actuator command has saturated on the upper limit
|
||||
uint8_t yaw : 1; // yaw limit reached
|
||||
uint8_t reserved : 5; // reserved
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user