mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Tracker: allow for "in-flight" compass learning
This commit is contained in:
parent
a8f5079df9
commit
75b2c8bf1b
@ -115,6 +115,10 @@ void Tracker::one_second_loop()
|
||||
set_home(temp_loc);
|
||||
}
|
||||
}
|
||||
|
||||
// need to set "likely flying" when armed to allow for compass
|
||||
// learning to run
|
||||
ahrs.set_likely_flying(hal.util->get_soft_armed());
|
||||
}
|
||||
|
||||
void Tracker::ten_hz_logging_loop()
|
||||
|
Loading…
Reference in New Issue
Block a user