2021-01-21 07:28 PM
Hello,
I can find the "VL53LX_MAX_RANGE_RESULTS" parameter in "vl53lx_platform_user_config.h".
But I can't find the usable range of the "VL53LX_MAX_RANGE_RESULTS" parameter.
The documentation only mentions the default value 4.
What is the usable range of the "VL53LX_MAX_RANGE_RESULTS" parameter?
Thanks.
2021-01-21 08:28 PM
The histogram driver is capable of resolving up to 4 targets.
This parameter is what defines this.
Practically it is extremely rare to be able to find 4 targets. Each target has to be a minimum of 80cm from each other, each has to return enough photons to be able to extract the signal. Generally either the first or second or third will cover the field of view, and thus covering the fourth target.
After doing the range, look for the number of targets. Use this and the range_status to determine if that that target can be used.
In theory you could lower this number to save a little space, but you don't save enough space to make it worth lowering the number.
- john