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/AntennaTracker/mode_auto.cpp
Views: 1798
1
#include "mode.h"
2
3
#include "Tracker.h"
4
5
void ModeAuto::update()
6
{
7
if (tracker.vehicle.location_valid) {
8
update_auto();
9
} else if (tracker.target_set || (tracker.g.auto_opts.get() & (1 << 0)) != 0) {
10
update_scan();
11
}
12
}
13
14