glide_wing_lock

Locks the wing of an ornicopter so it can glide.

Configures

Name

Value

Description

ADC_MOTOR_SENSOR

ADC_*

ADC to use

WING_POS_DOWN_THRESH

0-5000

Threshold below of wich wing is considered down

WING_POS_LOCK_MIN_THRESH

0-5000

Prefered lock position of the wing

WING_POS_LOCK_MAX_THRESH

0-5000

Prefered lock position of the wing

WING_POS_LOCK_SWITCH

0-5000

RC switch to activate lock of the wing

WING_POS_NOMINAL_THRUST

0-9600

Nominal thrust to use just before locking