[edit] I set an InSim connection to LFS with Interval parameter equal to 50, which means an MCI packet every 50 ms. But in fact I receive a packet each 60 ms. Guess what I get if I try to calculate speed or acceleration by XYZ?
Compare dX/50^2 and dX/60^2 where dX is equal in both expressions. First differential (mathematical) is greater than expected by the factor of 1.2, second diff is 1.44 times greater! According to these calculations, a free falling car accelerates at 11.78 m/s^2 (first diff) or 14.4 m/s^2 (if you take second diff).
This made me feel really paranoic for an hour or two, because I searched for errors in the calculations that produced incorrect results, but were correct. I spent much time before I finally dumped all the data in tabbed txt and reproduced the calculations in Excel, and they made incorrect results as well (and only after that I noticed the 60/50 and (60/50)^2 "scaling" factors in the figures).
So, apparently the interval in LFS is taken as your parameter + 1ms. If Scawen reads this, please document this thing or fix it.
Compare dX/50^2 and dX/60^2 where dX is equal in both expressions. First differential (mathematical) is greater than expected by the factor of 1.2, second diff is 1.44 times greater! According to these calculations, a free falling car accelerates at 11.78 m/s^2 (first diff) or 14.4 m/s^2 (if you take second diff).
This made me feel really paranoic for an hour or two, because I searched for errors in the calculations that produced incorrect results, but were correct. I spent much time before I finally dumped all the data in tabbed txt and reproduced the calculations in Excel, and they made incorrect results as well (and only after that I noticed the 60/50 and (60/50)^2 "scaling" factors in the figures).
So, apparently the interval in LFS is taken as your parameter + 1ms. If Scawen reads this, please document this thing or fix it.