2020-04-14 10:01 AM
Code is at:
https://github.com/zhivko/LaserMeasure_VL53L0X/blob/master/main/Server.cpp
problem is oscilation of measurement. on 10mm range it moves almost 2mm constantly... see video.
2020-04-18 04:48 PM
I didn't check your source code, but as you're displaying sub-mm values, you're obviously doing some post-processing.
So let me ask some simple questions:
I'd consider your results "better than to be expected". So what are you complaining about?
2020-05-14 10:55 AM
du00000001 is correct, although a bit abrupt.
The best accuracy can be obtained by increasing the ranging time. Does take more power, and more time, but 4 times the time, will give you twice the accuracy as a general rule.
I had one guy keep a running average to increase accuracy. If a new range deviated a lot then he assumed there was movement and he re-started the running average.
This way, you get re-activity and accuracy.
I've been guilty of wanting more accuracy out of the sensor as well. So your observation is not totally unfounded, but the speed of light is really fast and it is a inexpensive sensor.