1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-24 08:45:31 +03:00

Changed to PT1 filter in fixedWingPitchToThrottleCorrection

This commit is contained in:
Airwide 2020-11-11 23:07:42 +01:00
parent 2767297970
commit cc47513004
5 changed files with 31 additions and 18 deletions

View file

@ -152,8 +152,8 @@ PG_RESET_TEMPLATE(navConfig_t, navConfig,
.max_throttle = 1700,
.min_throttle = 1200,
.pitch_to_throttle = 10, // pwm units per degree of pitch (10pwm units ~ 1% throttle)
.pitch_to_throttle_smooth = 1, // Number of fixedWingPitchToThrottleCorrection cycles used to calculate a moving average pitch
.pitch_to_throttle_thresh = 0, // Threshold from average pitch before pitch_to_throttle is applied [decidegrees]
.pitch_to_throttle_smooth = 0,
.pitch_to_throttle_thresh = 0,
.loiter_radius = 5000, // 50m
//Fixed wing landing