Hi !
I am just playing around with the Sensor and noticed that the velocity calculation does not seem to work correctly.
I am using the unmodified examples/qwiic_otos_ex5_velocity_and_acceleration.py
The sensor is stationary and I get the following reading :
Position:
X (Inches): 0.15619201660156248
Y (Inches): -0.6127532958984374
Heading (Degrees): 33.94775390625
Velocity:
X (Inches/sec): 0.39048004150390625
Y (Inches/sec): 0.47458343505859374
Heading (Degrees/sec): 0.0
Position is rock solid stationary, tracking works fine. Just the velocity is often way off.
The code does note that those readings can be noisy and inaccurate
Is the calibration in ex5 completing? Is the sensor FLAT? Does re-running change anything?
Yes, everything works fine and is calibratet, sensor is flat. Position updates correctly.
When the sensor is stationary, the position reads rock solid stationary.
But the velocity often reads a constant high speed around 0.5 inch/sec even though the position does not change. Thats beyond the rate of noisy and inaccurate and does not reflect that the position reading is very solid.
Does changing the surface, moving, or anything alter the readings and if so how?