FlightPlanManager + Avionics changes

Version: 1.37.4.0

Frequency: Consistently

Severity: High

Context: Using FlightPlanManager to retrieve and monitor flight plan data.

Bug description: Modifying the flight plan from the aircraft avionics mixes up the order of waypoints in .getWaypoints(), breaks .getActiveWaypointIndex() and connecting functions. The same issue occurs when getting the FP from Coherent.call("GET_FLIGHTPLAN") directly.

Repro steps:

  1. Load a flight with departure, route and arrival
  2. Monitor the waypoints in a FlightPlanManager
  3. Modify the flight plan in the avionics
  4. Check waypoints again

Attachments:

Hello @runshotgun

I think this was addressed in later versions of the SU15 flighting.
I am no longer able to replicate this bug on 1.37.7.0.
Let me know if you still encounter problems with this call.

Regards,
Sylvain

I will give it a shot, thank you for the update!