mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 11:05:33 +08:00
Use onGround flag only when ground speed is low
OnGround flag is not synchronized with positions and causes jumps during right before takeoff and after landing. By adding a threshold currently being 20 kts, we move the jump into an area when the aircraft is still leveled.
This commit is contained in:
committed by
Mathew Sutcliffe
parent
d46318be5e
commit
58c816197e
@@ -99,7 +99,7 @@ namespace BlackMisc
|
||||
virtual BlackMisc::Geo::CLongitude longitude() const override { return this->m_position.longitude(); }
|
||||
|
||||
//! Guess if aircraft is "on ground"
|
||||
virtual bool isOnGroundGuessed() const;
|
||||
bool isOnGroundGuessed() const;
|
||||
|
||||
//! \copydoc Geo::ICoordinateGeodetic::geodeticHeight
|
||||
const BlackMisc::Aviation::CAltitude &geodeticHeight() const override { return this->m_position.geodeticHeight(); }
|
||||
|
||||
Reference in New Issue
Block a user