aircraft icon indicating copy to clipboard operation
aircraft copied to clipboard

feat(hud): Head-Up Display for A32NX and A380X

Open nonenty opened this issue 2 years ago • 3 comments

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
    • [x] simple HUD panel
    • [ ] HUD control panel
    • [ ] precise HUD panel with animations
  • [ ] Attitude
    • [x] Horizon line
    • [x] Aircraft reference
    • [ ] Roll
    • [x] Pitch/FPA scale
    • [x] Sideslip index
    • [ ] Tail strike pitch limit
  • [ ] Airspeed
    • [x] Speed tape
    • [x] Speed trend arrow
    • [ ] Airspeed target
    • [x] Mach number
    • [x] Airspeed indications(V1, V2 etc.)
    • [x] 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
  • [x] Guidance
    • [x] Flight path vector
    • [x] Total flight path angle
    • [x] Flight path director
    • [x] Delta speed
    • [x] Selected flight path angle
  • [ ] Approach guidance
    • [ ] Flare reminder
    • [ ] LOC and G/S deviation
    • [x] 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

nonenty avatar Mar 22 '24 09:03 nonenty

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.

BlueberryKing avatar Mar 22 '24 18:03 BlueberryKing

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

nonenty avatar Mar 30 '24 12:03 nonenty

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.

tracernz avatar Mar 30 '24 13:03 tracernz