mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 04:45:31 +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
|
bool CAircraftSituation::canLikelySkipNearGroundInterpolation() const
|
||||||
{
|
{
|
||||||
|
if (this->isNull()) { return true; }
|
||||||
|
|
||||||
// those we can exclude, we are ON GROUND not guessed
|
// those we can exclude, we are ON GROUND not guessed
|
||||||
if (this->isOnGround() && this->hasInboundGroundDetails()) { return false; }
|
if (this->isOnGround() && this->hasInboundGroundDetails()) { return false; }
|
||||||
|
|
||||||
// cases where we can skip
|
// cases where we can skip
|
||||||
if (this->isNull()) { return true; }
|
// Concorde had a take-off speed of 220 knots (250 mph) and
|
||||||
if (this->getGroundSpeed().value(CSpeedUnit::kts()) > 250) { return true; }
|
// landing speed was 187 mph
|
||||||
|
if (this->getGroundSpeed().value(CSpeedUnit::kts()) > 225.0) { return true; }
|
||||||
|
|
||||||
if (this->hasGroundElevation())
|
if (this->hasGroundElevation())
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -171,12 +171,13 @@ namespace BlackMisc
|
|||||||
return this->getAltitude().compare(elevationPlane.getAltitude());
|
return this->getAltitude().compare(elevationPlane.getAltitude());
|
||||||
}
|
}
|
||||||
|
|
||||||
// 100km/h 27,8m/s
|
// distance per second distance per 5 secs (taxi speeds)
|
||||||
// 50km/h 13,9m/s
|
// 100km/h 27,8m/s 10kts 51m/5secs
|
||||||
|
// 50km/h 13,9m/s 20kts 102m/5secs
|
||||||
// 100kts 51,4m/s
|
// 100kts 51,4m/s
|
||||||
const CLength &CElevationPlane::singlePointRadius()
|
const CLength &CElevationPlane::singlePointRadius()
|
||||||
{
|
{
|
||||||
static const CLength l(25.0, CLengthUnit::m());
|
static const CLength l(50.0, CLengthUnit::m());
|
||||||
return l;
|
return l;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user