✨
This commit is contained in:
1 parent
2d3fa509ee
commit
652394544e
1 file changed
+1
-4
+1
-4
@@ -17,10 +17,7 @@ def careful_forward(drive_time, arlo):
|
||||
arlo.go_diff(POWER, POWER + RIGHT_WHEEL_OFFSET, 1, 1)
|
||||
else:
|
||||
print("blocked")
|
||||
if right_dist > 300:
|
||||
arlo.go_diff(POWER, POWER, 1, 0)
|
||||
else:
|
||||
arlo.go_diff(POWER, POWER + RIGHT_WHEEL_OFFSET, 0, 1)
|
||||
arlo.go_diff(POWER, POWER + RIGHT_WHEEL_OFFSET, 0, 1)
|
||||
|
||||
time.sleep(0.1)
|
||||
|
||||
|
||||
Reference in new issue
Block a user