Library containing Crazyflie 2.0 sensors drivers: - LPS25H (barometer) - MPU9250 (IMU) - PMW3901 (optical flow) - VL53L0X (range)
Dependents: Drones-Controlador controladoatitude_cteste Drone_Controlador_Atitude optical_test
Diff: VL53L0X/VL53L0X.cpp
- Revision:
- 15:e07de535b86f
- Parent:
- 13:7c993621bc1f
--- a/VL53L0X/VL53L0X.cpp Thu Sep 27 17:57:28 2018 +0000 +++ b/VL53L0X/VL53L0X.cpp Wed Oct 17 13:26:29 2018 +0000 @@ -1041,6 +1041,6 @@ void VL53L0X::read() { - z = readRangeContinuousMillimeters()/1000.0f; + d = readRangeContinuousMillimeters()/1000.0f; }