1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 01:05:27 +03:00

Requested changes, cleanup and control logic updates

Also added a new parameter acro_trainer_gain to allow adjustments to the limiting strength.
This commit is contained in:
Bruce Luckcuck 2018-05-26 16:16:35 -04:00
parent 9b43839052
commit 2384088855
4 changed files with 46 additions and 39 deletions

View file

@ -131,6 +131,7 @@ typedef struct pidProfile_s {
uint8_t acro_trainer_angle_limit; // Acro trainer roll/pitch angle limit in degrees
uint16_t acro_trainer_lookahead_ms; // The lookahead window in milliseconds used to reduce overshoot
uint8_t acro_trainer_debug_axis; // The axis for which record debugging values are captured 0=roll, 1=pitch
uint8_t acro_trainer_gain; // The strength of the limiting. Raising may reduce overshoot but also lead to oscillation around the angle limit
} pidProfile_t;
#ifndef USE_OSD_SLAVE