Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Ardupilot
GitHub Repository: Ardupilot/ardupilot
Path: blob/master/AntennaTracker/mode_auto.cpp
9437 views
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