add a flag to indicate if the filter needs to be reset

This commit is contained in:
Sven Czarnian
2021-12-23 17:50:21 +01:00
parent f54711f490
commit d24c1ee1ce

View File

@@ -38,6 +38,7 @@ namespace aman {
std::vector<ArrivalWaypoint> m_arrivalRoute; std::vector<ArrivalWaypoint> m_arrivalRoute;
Time m_timeToLose; Time m_timeToLose;
UtcTime::Point m_waypointEstimatedTimeOfArrival; UtcTime::Point m_waypointEstimatedTimeOfArrival;
bool m_resetFilter;
void updatePrediction(EuroScopePlugIn::CRadarTarget& target, const aman::AircraftSchedule& inbound); void updatePrediction(EuroScopePlugIn::CRadarTarget& target, const aman::AircraftSchedule& inbound);
Velocity indicatedAirspeed(const Length& altitude) const noexcept; Velocity indicatedAirspeed(const Length& altitude) const noexcept;