5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-01-14 04:38:30 -04:00
ardupilot/ArduPlane/mode_qautotune.cpp

28 lines
376 B
C++

#include "mode.h"
#include "Plane.h"
bool ModeQAutotune::_enter()
{
return plane.mode_qstabilize._enter();
}
void ModeQAutotune::update()
{
plane.mode_qstabilize.update();
}
void ModeQAutotune::run()
{
#if QAUTOTUNE_ENABLED
quadplane.qautotune.run();
#endif
}
void ModeQAutotune::_exit()
{
#if QAUTOTUNE_ENABLED
plane.quadplane.qautotune.stop();
#endif
}