Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Improve import flight plan from MSFS World Map #7646

Merged
merged 10 commits into from
Dec 31, 2022

Conversation

frankkopp
Copy link
Member

@frankkopp frankkopp commented Dec 10, 2022

Summary of Changes

Currently the import from the MSFS World Map is officially supported when the The SimOptions setting "Sync MSFS Flight Plan" is set to Load Only or Save.

Unfortunately this import is still unreliable and needs imrpovement for users who prefer the MSFS World Map over SimBrief.

Current know issues:

  • Order of imported waypoint is wrong
  • Waypoints are missing (not imported)
  • fix eslint error as far as useful

Additional context

flybywiresim/docs#691

Test 1:
image
image
LPPT ROKOB BOMKO ALAMA FTM NEA VRA SSN URUNA IBDER REPSI MEBAK NINTU MILPA VADAR FRI SUREP DITON KUDIS NUNRI BETOS EDDM

Test 2:
EIDW DE28L D1 DW080 DW682 NEPOD ABIDO PESIT GWC WAFFU ELDAX PIREG SOMIL IRBAL RANUX NEBAX OBAKI BEGAR ELMUR RESIA UNTAD DIKEM ROKIB BABAG PEVAL PUL INTIT MD326 NEVRA KRO LGAV

Discord username (if different from GitHub): Cdr_Maverick#6475

Testing instructions

  • Plan a flight via the MSFS World Map
  • Use various combinations of "only enroute", with/without SID, with/without STAR/APPR, etc.
  • Test from Gate and Runway (mid air flight plan loading is not yet supported)

OBS: it might be required to enter SID/STAR/APPR in the MCDU again - esp. the STAR/APPR will sometimes not be loaded as expected as the MSFS flight plan does not really handle all arrival and approach combinations (e.g. VIAs).

Tips:

  • make screenshots or notes of the planned route from World Map
  • compare it to the MCDU F-PLN
  • iterate through the MCDU F_PLN on the ND

Updated Docs:
flybywiresim/docs#691

How to download the PR for QA

Every new commit to this PR will cause a new A32NX artifact to be created, built, and uploaded.

  1. Make sure you are signed in to GitHub
  2. Click on the Checks tab on the PR
  3. On the left side, click on the bottom PR tab
  4. Click on the A32NX download link at the bottom of the page

@frankkopp frankkopp self-assigned this Dec 10, 2022
@frankkopp frankkopp force-pushed the msfs-fplan-import-fix branch from 24e492e to 16193b1 Compare December 10, 2022 15:47
@frankkopp frankkopp marked this pull request as ready for review December 10, 2022 16:23
@frankkopp frankkopp enabled auto-merge (squash) December 12, 2022 07:26
@frankkopp frankkopp disabled auto-merge December 12, 2022 07:26
@frankkopp frankkopp requested a review from 2hwk December 12, 2022 07:37
@2hwk 2hwk added this to the v0.10.0 milestone Dec 12, 2022
@frankkopp frankkopp force-pushed the msfs-fplan-import-fix branch 3 times, most recently from 1b0f7c2 to 23237de Compare December 19, 2022 19:35
@frankkopp frankkopp force-pushed the msfs-fplan-import-fix branch from 23237de to 59d1023 Compare December 20, 2022 11:10
@frankkopp frankkopp added the Exp Available on experimental branch (for testing) label Dec 20, 2022
@frankkopp frankkopp force-pushed the msfs-fplan-import-fix branch from 59d1023 to e97c240 Compare December 20, 2022 22:06
@alexr4339
Copy link

alexr4339 commented Dec 22, 2022

Quality Assurance Tester Report

Discord : Alex R#6663
Object of testing: #PR 7646
Tier of Testing : 1
Date : 22/12/2022

Testing Process:
Updated the A32NX to latest experimental. I tested 5 different scenarios which I will explain in detail. I want to note, that the import of enroute waypoint worked perfectly everytime.

Test 1: Flight on Worldmap, EDDS to EDDF with SID and STAR/Approach selected on the worldmap and loaded the aircraft on the runway. EDDFs STAR (SPES3C) was inserted twice.
FBW1

Test 2: Flight on Worldmap, EDDS to EDDM with SID and STAR/Approach selected on the worldmap and loaded the aircraft at the gate. Everything imported/loaded as selected on the worldmap.

Test 3: Flight on Worldmap, EDDF to EDDM without SID and without STAR but Approach only (08L) selected on the worldmap and loaded the aircraft on the runway. Everything imported/loaded as selected on the worldmap.

Test 4: Flight on Worldmap, EDDH to EDDF with SID and STAR/Approach (UNOK3C/ILS07C) selected on the worldmap and loaded the aircrafton the runway. The STAR was again inserted twice.
FBW2

Test 5: Flight on Worldmap, EDDF to EDDS with SID and STAR/Approach selected on the worldmap and loaded the aircraft on the runway. Everything imported/loaded as selected on the worldmap.

Negatives:
Occasional "double-insert" of STAR

Testing Results:
Passed (As it worked as expected, altough I want to mention I never used the world map import before and thus does not have any reference)

Conclusion:
I selected pass as the result as the import of enroute waypoints worked and in general the import worked as expected. The double insert of a STAR might be annoying but can be solved by deleting the STAR, so you have the STAR inserted only one time afterwards. The issue of the STAR double-insert did not seem to be a deal-breaker for me.

@frankkopp
Copy link
Member Author

Conclusion: I selected pass as the result as the import of enroute waypoints worked and in general the import worked as expected. The double insert of a STAR might be annoying but can be solved by deleting the STAR, so you have the STAR inserted only one time afterwards. The issue of the STAR double-insert did not seem to be a deal-breaker for me.

Thanks for the test!!

There are some issue with procedure still and probably these are not solvable easily - my documentation will state to re-insert procedures in to the MCDU.

But could you give me the exact plans for when it failed?
Maybe I find something.

@frankkopp frankkopp force-pushed the msfs-fplan-import-fix branch 2 times, most recently from 8fc7078 to 5f623bc Compare December 26, 2022 02:24
@frankkopp
Copy link
Member Author

@alexr4339 couldn't reproduce the double STAR insert - tried with what you sent above.
Do you have the full route info by chance?

@frankkopp frankkopp force-pushed the msfs-fplan-import-fix branch 2 times, most recently from bd296c5 to b0f0d1e Compare December 29, 2022 13:52
@frankkopp frankkopp force-pushed the msfs-fplan-import-fix branch from b0f0d1e to fdfcc92 Compare December 31, 2022 16:41
@frankkopp frankkopp merged commit b0f9c7b into flybywiresim:master Dec 31, 2022
@frankkopp frankkopp deleted the msfs-fplan-import-fix branch December 31, 2022 17:36
@frankkopp frankkopp removed the Exp Available on experimental branch (for testing) label Dec 31, 2022
Eearslya pushed a commit to Eearslya/a32nx that referenced this pull request Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants