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(hud): Head-Up Display for A32NX and A380X #8580

Draft
wants to merge 24 commits into
base: master
Choose a base branch
from

Conversation

nonenty
Copy link

@nonenty nonenty commented Mar 22, 2024

Fixes #[3415]

Summary of Changes

This pull request intends to implement HUD on A32NX and A380X. The code is modified based on PFD.

  • model modifications
    • simple HUD panel
    • HUD control panel
    • precise HUD panel with animations
  • Attitude
    • Horizon line
    • Aircraft reference
    • Roll
    • Pitch/FPA scale
    • Sideslip index
    • Tail strike pitch limit
  • Airspeed
    • Speed tape
    • Speed trend arrow
    • Airspeed target
    • Mach number
    • Airspeed indications(V1, V2 etc.)
    • Airspeed protections
  • Altitude
    • Altitude tape
    • Altitude target
    • Vertical deviation
    • Metric indication
    • Baro
  • Radio altitude
  • Vertical speed
  • Heading/Track
    • Heading/Track scale
    • Current heading/track
    • Selected heading/track
    • True indication
  • Guidance
    • Flight path vector
    • Total flight path angle
    • Flight path director
    • Delta speed
    • Selected flight path angle
  • Approach guidance
    • Flare reminder
    • LOC and G/S deviation
    • Synthetic runway
    • Information
  • FMA
  • Wind indications
  • Various messages
  • Failure display
  • Display modes
    • On ground indications
      • Taxi mode
      • Takeoff mode
      • Roll out or rejected takeoff mode
    • Reduced display modes
      • Declutter modes
      • Crosswind mode

Screenshots (if necessary)

Still WIP.

Microsoft Flight Simulator 2024_3_22 17_02_59

References

link type date content
Head-Up Display: see the sky with new eyes A320 FFS 2016.7.29 release Head-up Combiner Unit(HCU), takeoff, descent, go around, landing, rollout
Live from the Airbus Cockpit - A beautyfull approach into Keflavik Iceland A319-115 REG/OY-RCG 2018.1.30 descent, approach, landing, rollout, declutter mode
Live from the Airbus Cockpit - Why we fly - Head up Display approach Maybe the same above 2017.12.23 descent, approach, landing, rollout
KAL A380 FLEET FCOM A380 2011.12.03 HUD system description
350-941 FLEET FCOM A350-941 2020.2.6 HUD system description, Chinese version

Additional context

A simple HUD panel is added to the A32NX cockpit for development purposes. Expect further work from modelers.

Discord username (if different from GitHub): nobodyimmortal

Testing instructions

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, click on the bottom PR tab
  4. Click on either flybywire-aircraft-a320-neo or flybywire-aircraft-a380-842 download link at the bottom of the page

@BlueberryKing
Copy link
Member

Hi, great to see you are interested in contributing! Just so you're aware, there's currently some discussion within the team about how we plan on sharing code for the PFD between the A32NX and the A380X since we don't want to have to maintain what is mostly the same codebase in two different places.

As a result, we're not sure if we want to have another instance of largely the same PFD code in the form of the HUD before we've decided on a better structure. I don't want to discourage you from continuing to work on this but wanted to make you aware that you might have to restructure your code if we end up splitting the PFD into reusable components for example.

Unfortunately, I can't say when or even if that's gonna happen, but I want to be fully transparent with you. Other team members are welcome to share their thoughts of course.

@nonenty
Copy link
Author

nonenty commented Mar 30, 2024

It's just a problem that makes me hesitate recently. I notice that there's pillow distortion when MSFS renders the HUD. Not sure about how to correct it. <feDisplacementMap> may help but too tricky.
Microsoft Flight Simulator 2024_3_30 20_27_10
Microsoft Flight Simulator 2024_3_30 16_47_57
image

@tracernz
Copy link
Member

Try render your test pattern on the default B787 HUD (edit it's panel.cfg), and use the pre-defined HUD camera to view it.

@Zoverr
Copy link

Zoverr commented May 25, 2024

news ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants