OK
Yes ROC is not right.
You might like to think about
:
Z_Accel_x = cur_Plane.getParameter(part.ParameterTypes.Z_Overl oad, 0);
Z_Accel_y = cur_Plane.getParameter(part.ParameterTypes.Z_Overl oad, 1);
Z_Accel_z = cur_Plane.getParameter(part.ParameterTypes.Z_Overl oad, 2);
x = accleration fore/aft
y = accleration left/right
z = accleration up/down
z lets you know if you are accelerating up or down (changing height). I 'filter' by eyeball when assessing the records I get back, looking for 1.0, +/- about 0.03 to get a stable string of records. I also cross check for stable altitude +/- a few feet but within about 20 feet of the test altitude and for the IAS or TAS staying at best speed for good level flight. Its surprising how quickly it settles down, maybe 5 minutes, and how stable and predictable the returns are even over minor changes in height and Z_Accel_z ('G'). Makes it easy to see where speed is changing and why and to pick out the most appropriate result.