I'm pretty sure that one uses 140mm to do the offset calibration. And that distance is kind of arbitrary. The distance was chosen so a reasonably reflective target (White paper) would not be overly affectived by the crosstalk.
Once you've done the offset, then you can move on to the crosstalk calibration. The best way to do this is to choose a reasonably dark target (Dark Gray paint should do it) and range until you find a point where the measured distance is 10-20% less than the actual distance.
Then call the crosstalk function, giving it the actual distance. By knowing the real distance and the measured distance the code will work out how many photons were refected by the glass.
From here extract the calibration data, and store it in your host. At reboot, download the calibration data as part of your boot procedure.
- john
If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.