Browse Source

APM_Control: prevent bad init of FF in autotune

c415-sdk
Andrew Tridgell 4 years ago
parent
commit
91856b1d8c
  1. 2
      libraries/APM_Control/AP_AutoTune.cpp

2
libraries/APM_Control/AP_AutoTune.cpp

@ -117,7 +117,7 @@ void AP_AutoTune::start(void) @@ -117,7 +117,7 @@ void AP_AutoTune::start(void)
last_save_ms = now;
restore = last_save = get_gains(current);
current = restore = last_save = get_gains(current);
// do first update of rmax and tau now
update_rmax();

Loading…
Cancel
Save