flybywiresim / aircraft

The A32NX & A380X Project are community driven open source projects to create free Airbus aircraft in Microsoft Flight Simulator that are as close to reality as possible.
https://flybywiresim.com
GNU General Public License v3.0
5.09k stars 1.11k forks source link

allow external tool to manage flight plan #5743

Open damianvandoom opened 3 years ago

damianvandoom commented 3 years ago

Aircraft Version

Experimental

Build info

{
  "built": "2021-08-26T10:35:24+00:00",
  "ref": "experimental",
  "sha": "14a5718876e99aefde0a96682f609f7dc2e82b99",
  "actor": "aguther",
  "event_name": "manual"
}

Describe the bug

cFMS no longer allows external tool (possibility others) to manage the flight plan of the a320 while in flight.

I use AivlaSoft EFB v2.

Any injection / modification of a flight plan from the external tool will be ignored.

Expected behavior

External tools such as EFB which accurately track and allow detailed procedure modification to a flight plan while in flight should be able to modify the a320 flight plan in the A.C.

EFB uses FSUIPC which I assume other tools do also to collect data and submit it back to the SIM.

I guess, ideally the cFMS should listen, capture and imploment flight plan changes while in flight via FSUIPC.

Steps to reproduce

Setup the aircraft ready for flight with full flight plan imported from SIMBRIEF. Do not set a SID in the A/C Use an external tool (such as EFB) to set the SID. Take off (SID as set in EBF is not followed) In the external tool, set a DIRECT TO (the A/C does not follow the instruction from the external tool)

References (optional)

No response

Additional info (optional)

No response

Discord Username (optional)

DamianVanDoom#5760

Benjozork commented 3 years ago

We'll see if it is possible to do this, but the flight plan APIs are very ancient and finicky.

tracernz commented 3 years ago

I think what we could possibly do in future is treat the MSFS flightplan as a dispatch source (instead of SimBrief), and it could be loaded into the MCDU with an init request, with the caveat that there are limitations with the MSFS flight planning system. Editing the flightplan directly outside the MCDU would no be consistent with our goals. This almost definitely won't be worked on until flight planning is completed.