Line data Source code
1 : #include "mode.h" 2 : #include "Plane.h" 3 : 4 3 : bool ModeAutoTune::_enter() 5 : { 6 3 : plane.autotune_start(); 7 : 8 3 : return true; 9 : } 10 : 11 : 12 19745 : void ModeAutoTune::update() 13 : { 14 19745 : plane.mode_fbwa.update(); 15 19745 : } 16 : 17 19745 : void ModeAutoTune::run() 18 : { 19 : // Run base class function and then output throttle 20 19745 : Mode::run(); 21 : 22 19745 : output_pilot_throttle(); 23 19745 : }