rpi calibrated floor detection