"real-time" attitude and position datastream

Discuss on the SimConnect SDK can be used by programmers to write add-on components for Prepar3D
Post Reply
j ferguson
Posts: 1
Joined: Tue Oct 16, 2018 3:05 pm

"real-time" attitude and position datastream

Post by j ferguson »

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: 145
Joined: Sun Jun 08, 2014 9:43 am

Re: "real-time" attitude and position datastream

Post by obinder »

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
Post Reply