mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 04:45:24 +03:00
Throttlebased EzLanding (#12094)
* ezLanding * Add ez_landing throttle mode * Correct EzLanding scaling of motorMixRange * Correct mixer_type switch bracing style * Remove motor value cliping ez landing mode - rename mixer type cli setting to EZLANDING from EZLANDING_THROTTLE - remove EZLANDING_CLIP cli setting - double default ez_landing_threshold - halve default ez_landing_limit - check and limits in cli settings - remove mixer type dependent settings in mixer_init - remove clip based code in mixer.c * Change ez_landing setting values and refactoring - Halve defaul ez_landing_threshold setting and double in init instead. Now stick deflection equal to ez_landing_threshold should give approimately full authority. Previously it was the point where the mixer was allowed to raise the throttle to 100 % (which wouuld never be required) - Increase ez_landing_threshold maximum to 200 (from 100) to allow settings that increase authority by a little at full stick deflection - Increase ez_landing_limit maximum to 75 which is the point where EzLanding should act identical to the Legacy mixer with airmode on - remove throttle percent from - simplify calculation of , since throttle stick deflection is no longer involved - update/remove outdated comments * Remove old EZLANDING entries in mixerType enum * Add mixer_type setting to blackbox log header --------- Co-authored-by: ctzsnooze <chris.thompson@sydney.edu.au> Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
This commit is contained in:
parent
d3830b6b34
commit
ae71256da7
14 changed files with 123 additions and 18 deletions
|
@ -227,6 +227,8 @@ void resetPidProfile(pidProfile_t *pidProfile)
|
|||
.tpa_low_rate = 20,
|
||||
.tpa_low_breakpoint = 1050,
|
||||
.tpa_low_always = 0,
|
||||
.ez_landing_threshold = 25,
|
||||
.ez_landing_limit = 5,
|
||||
);
|
||||
|
||||
#ifndef USE_D_MIN
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue