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

Flight plan transfer to flight simulator and back #35

Closed
albar965 opened this issue Oct 9, 2016 · 8 comments
Closed

Flight plan transfer to flight simulator and back #35

albar965 opened this issue Oct 9, 2016 · 8 comments
Assignees
Labels
enhancement requested reschedule Assign to one of the milestones

Comments

@albar965
Copy link
Owner

albar965 commented Oct 9, 2016

Once the flight plan changes in Navmap automatically copy it to FSX computer and call
SimConnect_FlightPlanLoad.

If a flight plan changes in the simulator load it:
SimConnect_SubscribeToSystemEvent with FlightPlanActivated parameter.

Check if this is also doable for X-Plane.

@albar965 albar965 self-assigned this Oct 9, 2016
@albar965 albar965 modified the milestone: Release 1.6 May 24, 2017
@albar965 albar965 modified the milestones: Release 1.6, Release 1.8 Jun 18, 2017
@albar965 albar965 changed the title Flight plan transfer to flight simulator Flight plan transfer to flight simulator and back Jul 4, 2017
@albar965 albar965 modified the milestones: Release 1.8, Release 2.0 Sep 25, 2017
@albar965 albar965 removed this from the Release 2.0 milestone Dec 2, 2017
@albar965 albar965 added requested and removed FSX/P3D labels Dec 2, 2017
This was referenced Dec 2, 2017
@albar965 albar965 added this to the Release 2.8 milestone Sep 12, 2020
@daheise
Copy link

daheise commented Oct 23, 2020

I notice this feature is from 2016 - given the release of MSFS2020, is it safe to assume support for it is planned, and not just FSX?

@albar965
Copy link
Owner Author

This even more important for MSFS but needs some time. Probably have to change the communication protocol.

@Kebas53
Copy link

Kebas53 commented Oct 23, 2020

Would like this option very much for MSFS2020.
1 vote for me

@daheise
Copy link

daheise commented Oct 24, 2020

So, I'm trying some naive stuff using Python-SimConnect with MSFS2020 1.9.5.0 that might save you some troubleshooting down the line. Here is my naive code:

sm = SimConnect()
print(sm.load_flight_plan("path to .pln"))
sleep(5)
sm.exit()
quit()

I'm testing with the MSFS2020 Cessna 172 G1000.

I have found a few interesting things.

  1. If I load up a plane with no flight plan, and run this code, everything populates into the G1000 and everything is happy.
  2. If I load a flight plan, and then attempt to load a new flight plan over the top, the CDI/PFD updates accordingly, but not the FPL in the G1000. The old waypoints remain, but none are shown as active.

In situation (2) if I delete the flight plan, I can load up a new one but the same issue persists - no waypoints displayed, no active leg.

Now, if I reload the aircraft (using developer mode), whatever the last plan I called with sm.load_flight_plan appears correctly. However, this comes with other MSFS oddities like the avionics brightness being nonadjustable (at least on the C172 G1000) [This was a mod issue].

@albar965
Copy link
Owner Author

@daheise Plenty thanks for the research. I looks like MSFS needs more time to get this stable. 😞
Quite annoying there is no way to change the flight plan without restart.

@daheise
Copy link

daheise commented Oct 25, 2020

There's an issue on the MSFS forums here that can be voted on: https://forums.flightsimulator.com/t/better-support-for-simconnect-flightplanload/307388

@albar965
Copy link
Owner Author

Thanks. Voted. Will watch this.

@albar965 albar965 modified the milestones: Release 2.8, Release 3.0 Jun 12, 2021
@albar965 albar965 added the reschedule Assign to one of the milestones label Jul 10, 2022
@albar965 albar965 removed this from the Release 3.4 milestone Jul 10, 2022
@albar965
Copy link
Owner Author

Closing since new #1112 is a duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement requested reschedule Assign to one of the milestones
Projects
None yet
Development

No branches or pull requests

3 participants