mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 11:55:35 +08:00
Ref T773, adjust skip values (speed/radius)
This commit is contained in:
committed by
Mat Sutcliffe
parent
e21dab0605
commit
3b73f6aa25
@@ -1050,12 +1050,15 @@ namespace BlackMisc
|
||||
|
||||
bool CAircraftSituation::canLikelySkipNearGroundInterpolation() const
|
||||
{
|
||||
if (this->isNull()) { return true; }
|
||||
|
||||
// those we can exclude, we are ON GROUND not guessed
|
||||
if (this->isOnGround() && this->hasInboundGroundDetails()) { return false; }
|
||||
|
||||
// cases where we can skip
|
||||
if (this->isNull()) { return true; }
|
||||
if (this->getGroundSpeed().value(CSpeedUnit::kts()) > 250) { return true; }
|
||||
// Concorde had a take-off speed of 220 knots (250 mph) and
|
||||
// landing speed was 187 mph
|
||||
if (this->getGroundSpeed().value(CSpeedUnit::kts()) > 225.0) { return true; }
|
||||
|
||||
if (this->hasGroundElevation())
|
||||
{
|
||||
|
||||
@@ -171,12 +171,13 @@ namespace BlackMisc
|
||||
return this->getAltitude().compare(elevationPlane.getAltitude());
|
||||
}
|
||||
|
||||
// 100km/h 27,8m/s
|
||||
// 50km/h 13,9m/s
|
||||
// distance per second distance per 5 secs (taxi speeds)
|
||||
// 100km/h 27,8m/s 10kts 51m/5secs
|
||||
// 50km/h 13,9m/s 20kts 102m/5secs
|
||||
// 100kts 51,4m/s
|
||||
const CLength &CElevationPlane::singlePointRadius()
|
||||
{
|
||||
static const CLength l(25.0, CLengthUnit::m());
|
||||
static const CLength l(50.0, CLengthUnit::m());
|
||||
return l;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user