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
"real-time" attitude and position datastream
-
- Posts: 1
- Joined: Tue Oct 16, 2018 3:05 pm
Re: "real-time" attitude and position datastream
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
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