CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
Ardupilot

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

GitHub Repository: Ardupilot/ardupilot
Path: blob/master/ArduPlane/mode_autotune.cpp
Views: 1798
1
#include "mode.h"
2
#include "Plane.h"
3
4
bool ModeAutoTune::_enter()
5
{
6
plane.autotune_start();
7
8
return true;
9
}
10
11
12
void ModeAutoTune::update()
13
{
14
plane.mode_fbwa.update();
15
}
16
17
void ModeAutoTune::run()
18
{
19
// Run base class function and then output throttle
20
Mode::run();
21
22
output_pilot_throttle();
23
}
24
25