cancel
Showing results for 
Search instead for 
Did you mean: 

VL53L3CX : Usable range of "VL53LX_MAX_RANGE_RESULTS" parameter

JShim.2
Associate

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.

1 REPLY 1
John E KVAM
ST Employee

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


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question. It helps the next guy.