mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-24 07:09:48 +08:00
TECS: remove TECS_MODE enum and instead add descriptive boolean flag to tecs_status
New flag: underspeed_mode_enabled. Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
committed by
Thomas Stastny
parent
a6fcf7b48c
commit
8741a9784d
+1
-4
@@ -26,7 +26,4 @@ float32 throttle_sp # Current throttle setpoint [-]
|
||||
float32 pitch_sp_rad # Current pitch setpoint [rad]
|
||||
float32 throttle_trim # estimated throttle value [0,1] required to fly level at equivalent_airspeed_sp in the current atmospheric conditions
|
||||
|
||||
# TECS mode
|
||||
uint8 mode
|
||||
uint8 TECS_MODE_NORMAL = 0
|
||||
uint8 TECS_MODE_UNDERSPEED = 1
|
||||
bool underspeed_mode_enabled # System has detected a low airspeed and takes measures to avoid stalling the plane
|
||||
|
||||
Reference in New Issue
Block a user