Browse Source

Rover: remove copy of home

master
Peter Barker 6 years ago committed by Randy Mackay
parent
commit
47f55b5fed
  1. 1
      APMrover2/Rover.cpp
  2. 5
      APMrover2/Rover.h

1
APMrover2/Rover.cpp

@ -32,7 +32,6 @@ Rover::Rover(void) : @@ -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)
{
}

5
APMrover2/Rover.h

@ -297,11 +297,6 @@ private: @@ -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;

Loading…
Cancel
Save