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

Bug - NAV mode behaves oddly after landing #324

Closed
linguisticmind opened this issue Jun 4, 2024 · 3 comments
Closed

Bug - NAV mode behaves oddly after landing #324

linguisticmind opened this issue Jun 4, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@linguisticmind
Copy link

Describe the bug
You create a flightplan, fly it and land at the destination airport. Then, within the same session, you create a new flightplan, take off, engage the NAV mode and it behaves oddly.

To Reproduce
Steps to reproduce the behaviour:
Recorded a video to show exactly what is happening: https://youtu.be/I2shoi4N5mw
But in a nutshell:

  1. Start up the aircraft (e.g. with the "Ready for Takeoff" preset)
  2. Create a flightplan
  3. Fly the route and land at the destination
  4. Without ending the session, INIT a new FROM/TO in the MCDU, and create a new flightplan
  5. Take off and try engaging the autopilot in the NAV mode to observe the odd behavior

Expected behaviour
NAV mode working after landing, creating a new flightplan, and taking off again—all within the same session.

Screenshots
Recorded a video: https://youtu.be/I2shoi4N5mw

System (please complete the following information):

  • OS: Debian Stable (12, Bookworm)
  • FlightGear version: 2020.3.19
  • A320 Version: dev, d7ecd42

Additional context
I observed similar unexpected behavior when using DIR in the MCDU to go to an arbitrary waypoint while in flight. The aircraft starts flying in unexpected directions, not following the flightplan.

@linguisticmind linguisticmind added the bug Something isn't working label Jun 4, 2024
@linguisticmind linguisticmind changed the title Bug - NAV mode behaves oddly after landing Bug - NAV mode behaves oddly after landing and taking off again Jun 4, 2024
@linguisticmind linguisticmind changed the title Bug - NAV mode behaves oddly after landing and taking off again Bug - NAV mode behaves oddly after landing Jun 4, 2024
@Octal450
Copy link
Collaborator

Octal450 commented Jun 4, 2024

Use of the ROUTE MANAGER is not supported. I am surprised it's not disabled? I will have to disable it. The issue is due to the route manager does not handle waypoint sequencing properly. So the wrong waypoint is selected.

If you can demonstrate the problem using the MCDU ONLY, then I can reopen the issue.

Kind Regards,
Josh

@Octal450 Octal450 closed this as completed Jun 4, 2024
@linguisticmind
Copy link
Author

linguisticmind commented Jun 4, 2024

@Octal450 Could you give me some pointers as to how to do it through the MCDU? That's what I wanted to do initially, and I tried following this tutorial (link to the place where he selects a SID), but no SIDs appear for me in the MCDU (see screenshot).

Same is true for approaches and airways. I can't select any of those in the MCDU, but in that tutorial he does.

Never mind. I was able to get it to work by installing the navdata from https://github.com/l0k1/fg-navaiddata as explained in the README. I only tried https://github.com/jojo2357/flightgear-star-sid-manager before, and it looks like there's only data for a limited number of airports in that repo.

Thanks for your great work!

@linguisticmind
Copy link
Author

@Octal450 I tried reproducing the problem using the MCDU, and I was able to fly the route for the second time, but the route didn't display properly on the NAV display or in the FlightGear's built-in map. I created a new issue for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants