mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-02 14:13:42 -04:00
22 lines
268 B
C++
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();
|
|
}
|
|
|