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(fms): regression of approach ident on ND #9158

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

BravoMike99
Copy link
Contributor

@BravoMike99 BravoMike99 commented Oct 27, 2024

Fixes #[issue_no]

Summary of Changes

Fixes uncaught regression introduced in #8782 where approach ident would only be displayed when the actual approach procedure was being flown.

Screenshots (if necessary)

References

Additional context

Discord username (if different from GitHub):
bruno_pt99

Testing instructions

A32NX or A380X:
Insert a destination airport & approach of your choice as long as it is not a runway only approach (visual).
Verify that the approach identifier shows on top of the ND when in cruise and distance to destination is less than 250NM or, once out of the cruise phase. This can be done by checking the progress page and looking at the green text at the top of the page ("CRZ"-> Cruise, "DES" -> Descent, "APPR"-> Approach, "GA"-> Go Around) on the A32NX and via the PERF page on the A380X.

How to download the PR for QA

Every new commit to this PR will cause new A32NX and A380X artifacts 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, find and click on the PR Build tab
  4. Click on either flybywire-aircraft-a320-neo or flybywire-aircraft-a380-842 download link at the bottom of the page

@2hwk 2hwk added A32NX Related to the A32NX aircraft A380X Related to the A380X aircraft QA Tier 1 QA Ready to Test labels Oct 28, 2024
@2hwk 2hwk added this to the v0.13.0 milestone Oct 28, 2024
Copy link
Member

@tracernz tracernz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs a changelog.

@luckol3
Copy link

luckol3 commented Oct 29, 2024

Quality Assurance Tester/Trainee Report

Discord Username : luckol3
Object of testing : #9158
Aircraft : A32NX
Tier of Testing : 1
Date : 28/10/2024
Testing Process:

  1. Loaded VMMC-VHHH Flight
  2. ILS 07R Does not show during descent/cruise/g.a
  3. Only shows when established on LOC

Testing Results:
Approach identifier only shows when established on LOC and then thereafter

Testing Results:
Failed

Negatives:
Approach identifier does not show on the ND

Notes:
Using default nav data due to clean community folder.
Report approved to be posted by alepouna

Media:
image-54
image-135
image-9
image-60

@BravoMike99
Copy link
Contributor Author

BravoMike99 commented Oct 29, 2024

Quality Assurance Tester/Trainee Report

Discord Username : luckol3 Object of testing : #9158 Aircraft : A32NX Tier of Testing : 1 Date : 28/10/2024 Testing Process:

  1. Loaded VMMC-VHHH Flight
  2. ILS 07R Does not show during descent/cruise/g.a
  3. Only shows when established on LOC

Testing Results: Approach identifier only shows when established on LOC and then thereafter

Testing Results: Failed

Negatives: Approach identifier does not show on the ND

Notes: Using default nav data due to clean community folder. Report approved to be posted by alepouna

Media: image-54 image-135 image-9 image-60

It is working for me, can you give it a try again and observe the FMS phases in the progress page? The FMS needs to be in the "CRZ", "DES", "APPR" or "GA" phase for the identifier to appear. In the cruise case, distance to destination needs to be less than 250NM. I've updated the testing instructions accordingly
Cruise Phase:
image
Descent Phase:
image

@luckol3
Copy link

luckol3 commented Oct 29, 2024

I have tried again. Still same results

CRZ
image

DES
image
image

APPR
image

GA
image

@BravoMike99
Copy link
Contributor Author

BravoMike99 commented Oct 29, 2024

I have tried again. Still same results

CRZ image

DES image image

APPR image

GA image

That is strange, are you sure you are using the right version? (You can also open the fmgc.js file located at flybywire-aircraft-a320-neo\html_ui\JS\fbw-a32nx\fmgc in line 140176 and check that it says the following const runway = this.flightPlanService.active.destinationRunway; of the package which you are loading into the simulator. If it doesn't, chances are you are not using the correct build )

@luckol3
Copy link

luckol3 commented Oct 29, 2024

2024-10-29.17-07-04.mp4

This is what 140176 shows, this is the latest version downloaded a few minutes ago.

@frenchairbuspilot
Copy link

QA Trainee Pilot Report

Discord : jp320
Object of testing: #9158
Tier of Testing : 1
Date : 31/10/2024

Testing Process:
tested 3 flights CDG-BRU LGW-BRU and LFRS EBBR, flight phases never switched to CRZ phase even though ALTZ CRZ was shown on FMA, trying to play with climb and descents but not succes.

Negatives:
CRZ phase never activated , CLB stayed displayed on PROG page

Testing Results:
Not Passed

Media:
Capture d’écran 2024-10-30 215200

@BravoMike99
Copy link
Contributor Author

QA Trainee Pilot Report

Discord : jp320 Object of testing: #9158 Tier of Testing : 1 Date : 31/10/2024

Testing Process: tested 3 flights CDG-BRU LGW-BRU and LFRS EBBR, flight phases never switched to CRZ phase even though ALTZ CRZ was shown on FMA, trying to play with climb and descents but not succes.

Negatives: CRZ phase never activated , CLB stayed displayed on PROG page

Testing Results: Not Passed

Media: Capture d’écran 2024-10-30 215200

I didn't change anything in regards to the flight phase logic so this is probably something unrelated to this PR :( . Can you replicate it on master? Might be worth logging an issue for

@frenchairbuspilot
Copy link

I didn't change anything in regards to the flight phase logic so this is probably something unrelated to this PR :( . Can you replicate it on master? Might be worth logging an issue for

I tried with the latest DEV version this morning, First flight from LFRS to EBBR FL220, all went ok as soon as ALT CRZ was shown on the FMA the prog page switched to CRZ phase. no APPR indication on ND at 250nm.

Second try, same route, with an intial cruise lvl at FL130. as soon as i reached alt crz on FMA, PROG page remained on CLB phase. even when i step climbed intially to FL 220, the auto change in crz alt on the prog was done, when reaching that altitude, prog page stayed in clb again... Then I went up to FL350, the PROG CRZ ALT stayed at FL220, I had to manually insert FL350 and when reaching that altitude and ALT CRZ on the FMA, the prog page was still in CLB phase...

I don't really know why it does this

@BravoMike99
Copy link
Contributor Author

I didn't change anything in regards to the flight phase logic so this is probably something unrelated to this PR :( . Can you replicate it on master? Might be worth logging an issue for

I tried with the latest DEV version this morning, First flight from LFRS to EBBR FL220, all went ok as soon as ALT CRZ was shown on the FMA the prog page switched to CRZ phase. no APPR indication on ND at 250nm.

Second try, same route, with an intial cruise lvl at FL130. as soon as i reached alt crz on FMA, PROG page remained on CLB phase. even when i step climbed intially to FL 220, the auto change in crz alt on the prog was done, when reaching that altitude, prog page stayed in clb again... Then I went up to FL350, the PROG CRZ ALT stayed at FL220, I had to manually insert FL350 and when reaching that altitude and ALT CRZ on the FMA, the prog page was still in CLB phase...

I don't really know why it does this

Yes the approach ident on the ND is broken on master so that's fine. So it seems there's indeed something else going on with the FMS phases :/

@BravoMike99 BravoMike99 force-pushed the fix-appr-ident-regression branch from bd4857c to 2d1d648 Compare December 29, 2024 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A32NX Related to the A32NX aircraft A380X Related to the A380X aircraft QA Failed QA Ready to Test QA Tier 1
Projects
Status: 🟣 QA Review: Ready to Test
Development

Successfully merging this pull request may close these issues.

7 participants