This commit is contained in:
NikolajDanger
2022-10-10 13:48:46 +02:00
parent f547e8e0c3
commit f77b2d32bd

View File

@ -215,10 +215,11 @@ try:
else: else:
cam = camera.Camera(0, 'macbookpro', useCaptureThread = True) cam = camera.Camera(0, 'macbookpro', useCaptureThread = True)
arlo.go_diff(POWER, POWER, 0, 1) arlo.go_diff(40, 40, 0, 1)
for _ in range(100): for i in range(100):
# Move the robot according to user input (only for testing) # Move the robot according to user input (only for testing)
print(i)
action = cv2.waitKey(10) action = cv2.waitKey(10)
if action == ord('q'): # Quit if action == ord('q'): # Quit
break break