|
@ -157,7 +157,7 @@ servoY = SERVO_INITIAL_Y_ANGLE |
|
|
servo.SetAngleUp(servoY) |
|
|
servo.SetAngleUp(servoY) |
|
|
servo.SetAngleDown(servoX) |
|
|
servo.SetAngleDown(servoX) |
|
|
|
|
|
|
|
|
cap = cv2.VideoCapture('C:/Users/Giorgos Ger/Desktop/drone_test.mp4') |
|
|
cap = cv2.VideoCapture('drone_test.mp4') |
|
|
if (cap.isOpened() == False): |
|
|
if (cap.isOpened() == False): |
|
|
print('Error opening stream.') |
|
|
print('Error opening stream.') |
|
|
quit() |
|
|
quit() |
|
|