Removed experiment

This commit is contained in:
Maximilian Giller 2023-10-09 19:10:14 +02:00
parent 83ee05d300
commit e7d397563a

View file

@ -52,7 +52,6 @@ class VL53L1XSensor(ToFSensor):
def getDistance(self) -> float: def getDistance(self) -> float:
"""Returns new distance in cm.""" """Returns new distance in cm."""
self.sensor.set_user_roi(self.roi) self.sensor.set_user_roi(self.roi)
self.sensor.set_timing(66000, 70)
self.sensor.start_ranging(self.ranging) self.sensor.start_ranging(self.ranging)
distance = self.sensor.get_distance() distance = self.sensor.get_distance()
self.sensor.stop_ranging() self.sensor.stop_ranging()