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

feat(a380x/pfd): velocity vector #8966

Merged
merged 6 commits into from
Sep 23, 2024
Merged

Conversation

tracernz
Copy link
Member

@tracernz tracernz commented Sep 22, 2024

Fixes #[issue_no]

Summary of Changes

  • Implement the VV (w/ declarative style JSX).
  • Correct the layering order of the FPV/VV.
  • Fix a nasty bug in Arinc429ConsumerSubject and deprecate Arinc429Word (see commit description).

Screenshots (if necessary)

References

Additional context

Discord username (if different from GitHub):

Testing instructions

General flight in the A32NX to ensure everything functions normally (due to Arinc429 changes).

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

The typing on Arinc429MutateFunc was incorrect, as it actually takes an Arinc429WordData as arg b, and that does not have a word member. With an Arinc429Register consumer it would work anyway. It accepted an Arinc429Word consumer though (because it implements Arinc429WordData), which silently failed to work, setting the internal register to undefined.

Technically the typings are still wrong, as arg a of the mutate function is also Arinc429WordData which does not implement a set method, but practically the initialValue is fixed as an Arinc429Register which does.

This whole mess could be cleaned up by getting rid of Arinc429Word so I have deprecated it here. It's whole design is very bad for CoherentGT as it requires constant allocations.
@becas22
Copy link
Contributor

becas22 commented Sep 23, 2024

Quality Assurance Report

Discord Username : bernardor96
Object of testing : #8966
Aircraft : A32NX
Tier of Testing : 2
Date : 23/09/2024

Testing Process:

LPPT-LPPR flight

Testing Results:
Passed

@tracernz tracernz enabled auto-merge (squash) September 23, 2024 20:36
@tracernz tracernz merged commit bbae4b7 into flybywiresim:master Sep 23, 2024
7 checks passed
tracernz added a commit to tracernz/a32nx that referenced this pull request Sep 28, 2024
* feat(a380x/pfd): velocity vector

* fix: Arinc429ConsumerSubject

The typing on Arinc429MutateFunc was incorrect, as it actually takes an Arinc429WordData as arg b, and that does not have a word member. With an Arinc429Register consumer it would work anyway. It accepted an Arinc429Word consumer though (because it implements Arinc429WordData), which silently failed to work, setting the internal register to undefined.

Technically the typings are still wrong, as arg a of the mutate function is also Arinc429WordData which does not implement a set method, but practically the initialValue is fixed as an Arinc429Register which does.

This whole mess could be cleaned up by getting rid of Arinc429Word so I have deprecated it here. It's whole design is very bad for CoherentGT as it requires constant allocations.

* fix(a380x/pfd): fpv/vv layer order

* fix: start out paused
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ✔️ Done
Development

Successfully merging this pull request may close these issues.

4 participants