✨
This commit is contained in:
@ -17,7 +17,10 @@ def careful_forward(drive_time, arlo):
|
||||
arlo.go_diff(POWER, POWER + RIGHT_WHEEL_OFFSET, 1, 1)
|
||||
else:
|
||||
print("blocked")
|
||||
arlo.go_diff(POWER, POWER + RIGHT_WHEEL_OFFSET, 0, 1)
|
||||
if forward_dist > 600 and right_dist > 200:
|
||||
arlo.go_diff(POWER, POWER, 1, 0)
|
||||
else:
|
||||
arlo.go_diff(POWER, POWER + RIGHT_WHEEL_OFFSET, 0, 1)
|
||||
|
||||
time.sleep(0.01)
|
||||
|
||||
|
Reference in New Issue
Block a user