flybywiresim / aircraft

The A32NX & A380X Project are community driven open source projects to create free Airbus aircraft in Microsoft Flight Simulator that are as close to reality as possible.
https://flybywiresim.com
GNU General Public License v3.0
5.14k stars 1.12k forks source link

Alt magenta visible on PFD with FDs off #8971

Closed BravoMike99 closed 22 minutes ago

BravoMike99 commented 1 month ago

Aircraft Version

Development

Build info

{
    "built": "2024-09-21T09:36:47+00:00",
    "ref": "refs/heads/master",
    "sha": "497d0a8b6a80e52655a6629fcf7bf4ee07c817a2",
    "actor": "Maximilian-Reuter",
    "event_name": "manual",
    "pretty_release_name": "master:497d0a8b",
    "version": "a32nx-v0.12.0-dev.497d0a8"
}

Describe the bug

Altitude magenta displayed on PFD despite FDs being off and no guidance mode being active. Managed

Expected behavior

Altitude magenta to not be displayed in the above conditions.

Steps to reproduce

1) Fly an arrival using managed descent with an altitude constraint (AT/AT OR ABOVE). Select an FCU altitude higher or the same as the constraint. 2) Disconnect AP & FDs 3) Select an altitude below the constraint on the FCU and observe PFD.

References (optional)

No response

Additional info (optional)

No response

Discord Username (optional)

bruno_pt99

lukecologne commented 1 month ago

Looks like it's because the current logic in the PFD applies negative logic (i.e. CSTR when NOT in selected modes) instead of positive logic (i.e. in managed modes). This will be fixed in #7587, where the logic is redone and moved to the FG.