Skip to content

Commit bb37c9f

Browse files
Update elio.py
fix move one step
1 parent 4f4bdd2 commit bb37c9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ def slow_stop(self):
243243
self.BIN1.duty_cycle = 0
244244
self.BIN2.duty_cycle = 0
245245

246-
def move_one_step(self, direction, distance):
246+
def move_one_step(self, direction, distance=20):
247247
"""
248248
Move the robot a certain distance.
249249

0 commit comments

Comments
 (0)