A/D to distance conversion should work, only simulated, not tested irl