Removed experiment
This commit is contained in:
parent
83ee05d300
commit
e7d397563a
1 changed files with 0 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue