mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
Tracker: split home-set and home-locked state
This commit is contained in:
parent
c99cc465e6
commit
7be25fccea
@ -163,7 +163,6 @@ void Tracker::set_home(struct Location temp)
|
|||||||
Location ekf_origin;
|
Location ekf_origin;
|
||||||
if (ahrs.get_origin(ekf_origin)) {
|
if (ahrs.get_origin(ekf_origin)) {
|
||||||
ahrs.set_home(temp);
|
ahrs.set_home(temp);
|
||||||
ahrs.set_home_status(HOME_SET_NOT_LOCKED);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
gcs().send_home();
|
gcs().send_home();
|
||||||
|
Loading…
Reference in New Issue
Block a user