The online racing simulator
x y coordinates in MCI packets not stable
I am having problems getting stable X, Y coordinates from MCI packets. On the server, i have two stationary cars beside eachother. Both have pings of below 50ms and they are visually stationary, yet the x, y coordinates shift about by about 0.25m (see below).

I am coding with VB.Net using InSimDotNet.

Does anyone have any ideas?
Attached images
Capture1.JPG
Capture2.JPG
#2 - Racon
The biggest difference I can see in any of those coordinates is 10, but that is in MCI units. To get metres it has to be divided by 65536, so the jiggle is less than a millimetre in the world space.
Quote from Racon :The biggest difference I can see in any of those coordinates is 10, but that is in MCI units. To get metres it has to be divided by 65536, so the jiggle is less than a millimetre in the world space.

It looks like OP might be using C# for his application, so this insim.net method can be used:

var meters = MathHelper.LengthToMeters(12570260);

awesome! thanks Smile

FGED GREDG RDFGDR GSFDG