forked from platypush/platypush
Changed default distance
This commit is contained in:
parent
cf83f07f79
commit
df6790cde9
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ class GpioZeroborgPlugin(Plugin):
|
||||||
distance = self.get_distance()
|
distance = self.get_distance()
|
||||||
|
|
||||||
print(distance)
|
print(distance)
|
||||||
if distance > 200.0: # distance in mm
|
if distance > 250.0: # distance in mm
|
||||||
self._direction = Direction.DIR_UP.value
|
self._direction = Direction.DIR_UP.value
|
||||||
else:
|
else:
|
||||||
self._direction = Direction.DIR_LEFT.value
|
self._direction = Direction.DIR_LEFT.value
|
||||||
|
|
Loading…
Reference in a new issue