Lidar Lite Measure in Ft, In.

odometer:
Does it work if the measurement is 22 feet or more?

You are totally right, it seems like the lidar is not reading passed 20ft (goes in negative digits). I will try to go with the long like you showed me but I need to learn more about it since I don't understand a thing of what that is :slight_smile:

--EDIT

Changed

int reading;

for

unsigned long reading;

And everything seem to work perfectly. I compared my data with a laser rangefinder (Leica Disto) and I get the same results at 60' (+/- 4" of margin which is totally fine for me).

Thanks a lot odometer :slight_smile: