RaceRalph Posted May 28, 2020 Report Posted May 28, 2020 I'm going to use GPS output functionality of FSUIPC4 for some serious engineering work. Is 10 Hz output rate available? Is it precisely 10 samples per second at perfectly equal intervals or are they jittering? What I need is NMEA messages exactly 10 times per second at equal intervals. The timestamps should be synchronised with whole seconds, they should look like that (GGA only): $GPGGA,113750.0... $GPGGA,113750.1... $GPGGA,113750.2... $GPGGA,113750.3... $GPGGA,113750.4... $GPGGA,113750.5... Is it achievable with FSUIPC4? The FSX simulation engine calculates position, velocity and other parameters at some different, higher rate, but are they going to be properly interpolated for the exact timestamps of the 10Hz output?
Pete Dowson Posted May 28, 2020 Report Posted May 28, 2020 4 hours ago, RaceRalph said: Is it achievable with FSUIPC4? The FSX simulation engine calculates position, velocity and other parameters at some different, higher rate, but are they going to be properly interpolated for the exact timestamps of the 10Hz output? No way, sorry. The CPU is being used by many other threads in the Sim, apart from those used by FSUIPC. The GPS timing is just using a regular Windows timer, but it can't get control until Windows switches to it, and that depends on loadings elsewhere. If this is critical the only way I can think of is to have an external program running a thread at high or critical priority level, (higher that other programs on the same PC), and whilst reading the data much more often in one of its threads, then doing its own interpolation for the 10Hz transmissions performed in its critical thread. Pete
RaceRalph Posted May 28, 2020 Author Report Posted May 28, 2020 It seems I will have to write everything on my own. No worries, I expected the NMEA output of FSUIPC to be designed for human users, not for crazy engineers 😉 Thanks anyway, it was worth checking.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now