plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.


Please take a moment to read the platform’s guidelines before you get started!


question

MartynJF avatar image
MartynJF asked FlyingRaccoon answered

Autopilot not flying STAR > approach

I'm encountering this issue when attempting to fly a STAR approach which has been selected in the MSFS flight planner (i.e. Departure > SID > Enroute > STAR > Destination auto-populated by the sim).

https://github.com/flybywiresim/a32nx/discussions/3494

The aircraft (tested with a few different types) has navigation hold mode engaged with NAV/GPS set to GPS. The autopilot correctly tracks the SID and enroute phases but as per the topic above, tracks directly to the destination upon reaching the last waypoint in the STAR, rather than transitioning to the selected approach. The magenta line on the nav map turns into a dashed line.

The only solution that I've found so far is to manually direct-to the first approach waypoint using something like the PMS50 GTN 750.

I'm triggering the autopilot event IDs from within a WASM gauge in case that makes any difference.

aircraftflightmodelwasm
2 comments
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Hello @MartynJF ,

To help me reproduce and understand this issue, can you tell me:
- Your flight plan
- Aircrafts you tested

Regards,
Boris

0 Likes 0 ·
Hi Boris. Chris (WT) mentioned that he'd been tasked to investigate and I sent him all the relevant info to pass on. Let me know if you still need it.
1 Like 1 ·
Simbol avatar image
Simbol answered

Following.. this would be an important fix.. lots of people complain about the AP behaviour for SIDs and STARS and come back at us thinking we 3rd party developers have done something wrong..

Best,
Raul

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

FlyingRaccoon avatar image
FlyingRaccoon answered

Hello.

There's a loophole in our design.
Some of the calls you need to interact with the flight plan management system are only available through the JS api.
This is something we need to change and that is already being discussed.

In the meantime:

- first, you can try to set an active waypoint index that is higher than the length of the enroute flight plan. We are not 100% sure about this but reading that piece of code, that seems to be one of the ways to switch to approach mode

- if that doesn't work, you'll have to create a dedicated JS gauge to do the flight plan management

Let us know if that first suggestion works.

Regards,
Sylvain

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 19.1 MiB each and 23.8 MiB total.