repo.or.cz
/
ardupilot.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
AP_HAL_ChibiOS: added NxtPX4v2
[ardupilot.git]
/
AntennaTracker
/
mode_auto.cpp
blob
1ef9940dca9bfbbd76b324ec6ca350cd5f6c20fa
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
}