Ref T773, adjust skip values (speed/radius)

This commit is contained in:
Klaus Basan
2020-02-22 00:29:49 +01:00
committed by Mat Sutcliffe
parent e21dab0605
commit 3b73f6aa25
2 changed files with 9 additions and 5 deletions

View File

@@ -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())
{

View File

@@ -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;
}