ardupilot/ArduPlane/mode_autotune.cpp

22 lines
268 B
C++
Raw Permalink Normal View History

#include "mode.h"
#include "Plane.h"
bool ModeAutoTune::_enter()
{
plane.autotune_start();
return true;
}
void ModeAutoTune::_exit()
{
// restore last gains
plane.autotune_restore();
}
void ModeAutoTune::update()
{
plane.mode_fbwa.update();
}