Why does ST VL53L0X library always return RangeStatus non-zero
We are using the VL53L0X sensors in their default configuration supplied out of the factory. We run VL53L0X_DataInit() on the sensors and then every 100ms call VL53L0X_PerformSingleRangingMeasurement(Device, &measure). Upon return, we check measure.RangeStatus for non zero values. VL53L0X_PerformSingleRangingMeasurement(Device, &measure) never returns measure.RangeStatus == 0. However, the RangeMilliMeter values are correct, meaning that is the distance of our detected object.
The value of RangeStatus is either Sigma fail or Min Range Fail.
any thoughts???
