Rover: remove copy of home

This commit is contained in:
Peter Barker 2019-02-19 08:54:56 +11:00 committed by Randy Mackay
parent eb16c30bdb
commit 47f55b5fed
2 changed files with 0 additions and 6 deletions

View File

@ -32,7 +32,6 @@ Rover::Rover(void) :
modes(&g.mode1),
nav_controller(&L1_controller),
control_mode(&mode_initializing),
home(ahrs.get_home()),
G_Dt(0.02f)
{
}

View File

@ -297,11 +297,6 @@ private:
FUNCTOR_BIND_MEMBER(&Rover::handle_battery_failsafe, void, const char*, const int8_t),
_failsafe_priorities};
// 3D Location vectors
// Location structure defined in AP_Common
// The home location used for RTL. The location is set when we first get stable GPS lock
const struct Location &home;
// true if the compass's initial location has been set
bool compass_init_location;