mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
Copter: leave AHRS to log and notify home changes
This commit is contained in:
parent
da5ed06714
commit
332340135f
@ -100,13 +100,6 @@ bool Copter::set_home(const Location& loc, bool lock)
|
|||||||
ahrs.lock_home();
|
ahrs.lock_home();
|
||||||
}
|
}
|
||||||
|
|
||||||
// log ahrs home and ekf origin dataflash
|
|
||||||
ahrs.Log_Write_Home_And_Origin();
|
|
||||||
|
|
||||||
// send new home and ekf origin to GCS
|
|
||||||
gcs().send_home();
|
|
||||||
gcs().send_ekf_origin();
|
|
||||||
|
|
||||||
// return success
|
// return success
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user