mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Common: Include altitude in the init check for a location
This commit is contained in:
parent
9eb6c1be64
commit
819d1b5246
@ -112,7 +112,7 @@ public:
|
||||
*/
|
||||
float line_path_proportion(const Location &point1, const Location &point2) const;
|
||||
|
||||
bool initialised() const { return (lat !=0 || lng != 0); }
|
||||
bool initialised() const { return (lat !=0 || lng != 0 || alt != 0); }
|
||||
|
||||
private:
|
||||
static AP_Terrain *_terrain;
|
||||
|
Loading…
Reference in New Issue
Block a user