predict the planned waypoint if a heading is given

This commit is contained in:
Sven Czarnian committed 2021-12-20 11:08:07 +01:00
1 parent 2795011021
commit ec9e9e285b
2 files changed
+101 -1

No files matched your search

+3
View File
@@ -39,12 +39,14 @@ namespace aman {
UtcTime::Point m_waypointEstimatedTimeOfArrival;
Length m_trackmiles;
Time m_flighttime;
std::string m_predictedWaypoint;
void updatePrediction(EuroScopePlugIn::CRadarTarget& target, const aman::AircraftSchedule& inbound);
Velocity indicatedAirspeed(const Length& altitude) const noexcept;
Velocity groundSpeed(const Length& altitude, const Velocity& ias, const Angle& heading);
void createWindTables(const google::protobuf::RepeatedPtrField<aman::WindData>& wind);
void predictETA(const EuroScopePlugIn::CRadarTarget& target, const EuroScopePlugIn::CFlightPlanPositionPredictions& predictions);
std::string findNextWaypointOnHeading(EuroScopePlugIn::CFlightPlan& plan);
public:
Inbound(EuroScopePlugIn::CRadarTarget& target, const aman::AircraftSchedule& inbound, const google::protobuf::RepeatedPtrField<aman::WindData>& wind);
@@ -58,6 +60,7 @@ namespace aman {
const Time& timeToLose() const noexcept;
const Length& trackmiles() const noexcept;
const Time& flighttime() const noexcept;
const std::string& predictedWaypoint() const noexcept;
static int matchToPredictedPath(const EuroScopePlugIn::CFlightPlanPositionPredictions& predictions, const GeoCoordinate& position,
const Velocity& groundspeed, Length& trackmiles);