mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
fw att+pos ctrl: use enum for flaps configs
This commit is contained in:
committed by
Lorenz Meier
parent
0c3399433d
commit
8a7919bcb6
@@ -20,7 +20,10 @@ bool yaw_reset_integral # Reset yaw integral part (navigation logic change)
|
||||
bool fw_control_yaw # control heading with rudder (used for auto takeoff on runway)
|
||||
bool disable_mc_yaw_control # control yaw for mc (used for vtol weather-vane mode)
|
||||
|
||||
int8 apply_flaps # 0 = no flaps, 1 = landing flaps setting, 2 = take-off flaps setting
|
||||
uint8 apply_flaps # flap config specifier
|
||||
uint8 FLAPS_OFF = 0 # no flaps
|
||||
uint8 FLAPS_LAND = 1 # landing config flaps
|
||||
uint8 FLAPS_TAKEOFF = 2 # take-off config flaps
|
||||
|
||||
float32 landing_gear
|
||||
|
||||
|
||||
Reference in New Issue
Block a user