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.07k stars 1.1k forks source link

correct speed constraint handling #6056

Closed Rascal650 closed 2 years ago

Rascal650 commented 3 years ago

Aircraft Version

Development

Build info

d3754f4 (and before) Also repro in stable

Describe the bug

When comparing the flight plan in the ND against the navigraph chart, I noticed that often the SPEED constraint is shown at the PRECEDING waypoint instead of the expected one

Expected behavior

Speed constraints in FP should match the Navigraph chart

Steps to reproduce

1 - I created a SimBrief flight from KSJC (origin does not really matter) to KPDX. 2- From FBW A320 (latest dev release), I spawned on KSJC runway. 3- Go to MCDU → init: load the flight plan 4- MCDU → F-PLN, select KPDX, choose arrival 5- Select ILS10R runway, then selectTMBRS2 STAR (GALLO transition) 6- Check the F-PLAN (by scrolling up and down arrow on MCDU). 7- Noticed that the speed restrictions are there but they show up on the flight plan one waypoint too early.

Examples: PORTL has the 270kn restriction on the chart but it shows up at MOXEE Same things for TMBRS and VANTZ, MYCRO and SSAIL

See snapshots. below

References (optional)

TMBRS2 20211021_091712 20211021_094409

Additional info (optional)

I first sent this report to NAVIGRAPH. They were able to check that with another plane, the flight plan shows the speed constraint at the right place. Here is a link to my chat with Navigraph:

https://forum.navigraph.com/t/constraint-alt-speed-are-not-consistent-between-nav-display-and-chart-using-flybywire-320/6414

Note: I'll file the missing mandatory ALT constraint (@ ARCHI, SFO approach) as a different bug since it seems to be missing (as opposed to show early).

Discord Username (optional)

No response

Rascal650 commented 3 years ago

Ignore my rookie question: What's cFPM?

Kimbyeoungjang commented 3 years ago

Ignore my rookie question: What's cFPM?

Custom Flight Plan Manager

You can try it via installer Experimental version or you can check https://github.com/flybywiresim/a32nx/tree/autopilot-custom-fpm this branch

tracernz commented 3 years ago

There root issue is that there is no VNAV yet to predict the deceleration point, because you need to slow down to the constraint speed by the end of the leg, not after it.

This is definitely not fixed in cfpm yet @Benjozork. It shows the speed constraint on the correct fix, but it slows down at the start of that leg just the same.

Rascal650 commented 3 years ago

I understand the VNAV dependency. However the magenta CSTR markers on the ND should match the Navigraph maps. Right now, it's confusing because there are many inconsistencies and I end up looking at the charts all the time. I'm not using VATSIM (yet) but I can imagine that the navigation display's magenta CSTRs are useless when using VATSIM because they contradict the navigraph charts (which I believe are the gold standard for ATC).

Slowing down at the waypoint (not after) is the pilot's responsibility. When looking at a STAR or SID navigraph chart, the speed constraint is at the expected waypoint and the pilot has to anticipate the speed change if needed before reaching the waypoint. I would expect it to be the same on the A320 ND when the CSTR button is turned on. According Richard @ Navigraph, that's how it works for the Working Title C4 (which seems to be the reference for Navigraph).

If it's difficult to compute the "optimal" speed for each waypoint because VNAV is not working, at least we could show the speed constraints at the CORRECT waypoint in the ND for now. This way, the CSTR button would be in sync with the charts and a useful feature until VNAV and the new cfpm is implemented. Just my view as a user...:)

Benjozork commented 3 years ago

In a purely technical sense the constraints are correct in cFMS but the VNAV logic is not there.

tracernz commented 3 years ago

I understand the VNAV dependency. However the magenta CSTR markers on the ND should match the Navigraph maps.

They do in the new ND on the experimental branch. dev is still using the Asobo ND and flight plan manager where it is not correct.

Slowing down at the waypoint (not after) is the pilot's responsibility. When looking at a STAR or SID navigraph chart, the speed constraint is at the expected waypoint and the pilot has to anticipate the speed change if needed before reaching the waypoint.

No, the A320 anticipates and slows down for you in managed speed mode. The CJ4 autoflight system is much more primitive.

Rascal650 commented 3 years ago

Excellent! I created a quick FP with the same TMBRS2 approach with the EXPERIMENTAL version and you are right; CSTR shows the right ALT and SPEED restriction (at the correct waypoints). That was my main complain with the DEV version.

Here are the new snapshots

There is a discontinuity between PUBBB and TRAYL. What would cause that?

experimentalND experimentalFP

Benjozork commented 3 years ago

There is a MANUAL leg coded in the navdata, which is a segment that never sequences. This is normal and not a bug. You cannot clear those discontinuities - you would usually perform a DIRECT TO to TRAYL or any other waypoint after.

tracernz commented 3 years ago

You would usually be vectored on headings by ATC until LOC capture, or instructed to go direct to a waypoint.

Aarondodd88 commented 3 years ago

Discontinuity's can be cleared. Unless this has changed as of late. Video reference in real life @ 8:12 https://www.youtube.com/watch?v=twwUjHXdNVU

tracernz commented 3 years ago

Discontinuity's can be cleared. Unless this has changed as of late. Video reference in real life @ 8:12 https://www.youtube.com/watch?v=twwUjHXdNVU

That is not after a manual leg. Only some discontinuities can be cleared... others require changes to the flightplan before they can be cleared (or disappear).

Aarondodd88 commented 3 years ago

Ahh thankyou for the clarification :)

derl30n commented 2 years ago

Whats the status on this issue?

tracernz commented 2 years ago

Sorted. 👍