While we're at it, this is another huge problem with lockon plugin data and is easily fixed!
Check out this youtube link, I posted a video about all of what I'm about to explain.
https://www.youtube.com/watch?v=x3n0Zz1pn1kWhen looking at the data given by lockon plugin, most of the data is continuous, except data related to acceleration values that flicker between 0 and another value. Let me give you an example:
Radio altimeter data example: 1400, 1400, 1410, 1420, 1430, 1430, 1430 ...
Bank Acceleration data example: +1324, 0, 0, +1530, 0 , +1400, +942, 0, ...
Somewhere the calculation is done too fast, plugin should calculate the difference between two real values. If the plugin does calculation 100 times a second, but simulator gives only say, 30 values a second, the plugin will give 0 as a result every time when the simulator didn't have time to give a value. This causes unnecessarily jumpy data. Some sort of synchronization is required.
"Whenever simulator gives a new value, do acceleration calculation, otherwise keep previous value." This avoids the flickering values between 0 and an actual useful value. I think that it really might be this simple. This scales perfectly to any system, regardless of the simulator given values per second. Ideally the plugin could take in to account the time scale being used and actually use some sort of lerp function to provide smooth data, mean values or something, but this isn't really the most important part, who does simming with slowed time anyway? The slowing down of the time inside DCS as shown in the video is used only to show the problem in slow motion. Now you might be thinking, what's the problem then, you don't fly in slow motion? Why fix this? Because the problem can be felt with realtime data too! The data could be a lot smoother in real time also.
So, only calculate acceleration value when new data arrives, not between.
Take a close look on lockon plug value "time" and compare it to any other value! It is smooth as butter even when DCS time is slowed down almost to a halt, where as any other value updates only about 3 times a second! So, the time-value should NOT be used for synchronization as this is way too fast but almost any other value would do.
Yaw acceleration also is suffering from the original problem when going around 360 degrees and spiking, this has the same solution as I suggested few posts earlier.
-L