In this position it is quite inaccurate (around +/- 6cm), which is 3 times higer than in documentation.
It’s connected to the RaspberryPi Controller via [QWIICBus Kit, but even without this extender the distance reads are quite disparate.
I’ve tried to attach various types of materials to the bottom of the blinds, such as white paper, grey paper, cardboard, milk-colored plexiglas, gray plexiglas, milk-colored plexiglas. Best result I’ve got with cardboard.
There are several things I would consider in troubleshooting this system. Can you provide more information for the questions below?
How are you setting up your control measurement? Is it from the ground, base of the lidar, or edge of the lidar? I can’t tell if the lidar is “on” the ground, flush with the bottom bar, or is above the bottom bar.
Are you able to control the slant of the measured surface? I see it at a slight angle, but this could cause a very negligible error.
KansasBot:
There are several things I would consider in troubleshooting this system. Can you provide more information for the questions below?
How are you setting up your control measurement? Is it from the ground, base of the lidar, or edge of the lidar? I can’t tell if the lidar is “on” the ground, flush with the bottom bar, or is above the bottom bar.
Are you able to control the slant of the measured surface? I see it at a slight angle, but this could cause a very negligible error.
How are you sampling the data values? Are you using example functions found [here? Are you doing single measurements or are you taking averages of set sample sizes?[/quote]
Is there a setting that allows me to choose whether the measurement is from the bottom or the top of the sensor? If so, I have that setting as default because I haven’t changed it.
No, i don’t. The angle is always the same. I’ve checked that and in my case it does not have almost any impact (+/- 1cm which is acceptable).
No, but I’m using quite similar functions from [here.
My project is running on RaspberryPi4, not on Arduino.
mateo_glowinski:
I don’t understand second part of the question.
Is there a setting that allows me to choose whether the measurement is from the bottom or the top of the sensor? If so, I have that setting as default because I haven’t changed it.
I was intending for where you’re placing the beginning of your measurement distance. For instance, if you put a physical ruler on the system, where is your ruler’s edge lined up.
The datasheet doesn’t seem to clarify at all unfortunately. I would reasonably assume that the beam is initially calculated at the exact distance of absorption with the optical receiver underneath the lens. However, most likely the processing unit accounts for this offset without reporting it in the datasheet. I would double check your comparative measuring setup.
Also double checking the datasheet, for distances <2m the typical error margin is +/- 5cm and at distance >2m the error margin is +/-2.5cm. At what distance ranges are your readings the most inaccurate?
As for the drift you’re suggesting, I would recommend probably reaching out Garmin because that’s probably above SparkFun’s head since they didn’t design this product.
I was intending for where you’re placing the beginning of your measurement distance. For instance, if you put a physical ruler on the system, where is your ruler’s edge lined up.
I assumed it was a LiDAR lens.
I would double check your comparative measuring setup.
What do you mean:)?
If you are asking about register values, I set them like in the code, which you have sent for Arduino.
SIG_COUNT_VAL → 0x1D
THRESHOLD_BYPASS → 0x00
Also double checking the datasheet, for distances <2m the typical error margin is +/- 5cm and at distance >2m the error margin is +/-2.5cm. At what distance ranges are your readings the most inaccurate?
I'm totally fine with +/- 5cm discrepancy, but problem is that measurement changes within time.
Friday afternoon it is 100cm, Monday morning it is 90cm.
The most inaccurate readings are at 70cm distance.
As for the drift you’re suggesting, I would recommend probably reaching out Garmin because that’s probably above SparkFun’s head since they didn’t design this product.
I've already contacted Garmin last Monday, but they did not reply yet. I will write here, if i get response from Garmin team.
When powered, the LIDAR-Lite v3 performs a zero range calibration using an internal optical path of known length. This same zero range calibration occurs automatically after some number (around 50?) distance measurements. This goal of this ongoing measurement strategy is to avoid the drift in position estimates that would otherwise result from changes in temperature of the hardware. Most applications will hit 50 measurements in under a second because they are continuously measuring distance.