5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-01-29 12:08:32 -04:00
ardupilot/ArduPlane/mode_autotune.cpp

22 lines
268 B
C++

#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();
}