"real-time" attitude and position datastream

j ferguson
Posts: 1
Joined: Tue Oct 16, 2018 3:05 pm

"real-time" attitude and position datastream

Postby j ferguson » Tue Oct 16, 2018 3:12 pm

I need a method to report "near-real-time" attitude (Euler angles), present position (lat/lon) , and heading hopefully in a serial stream and hopefully out a usb port.

Is this functionality available in prepar3d and if so how to I get into it?

If this isn't the right forum, where should I have posted this?

john ferguson

obinder
Posts: 99
Joined: Sun Jun 08, 2014 9:43 am

Re: "real-time" attitude and position datastream

Postby obinder » Wed Oct 17, 2018 5:21 pm

Hi,

this functionality is not available directly, you need to write a SimConnect client program to do it. That client can access the API and read the desired data at the internal frame rate of the sim, so it should be real time enough. The output to a USB based COM port is not hard to do - if you have a driver that establishes the serial port on the USB connection. Arduinos do work nicely that way.

(I have answered to your thread in the other forum too)

Best regards
Oliver Binder
Lorby-SI


Return to “SimConnect Interface Questions”

Who is online

Users browsing this forum: No registered users and 2 guests