damiafuentes / DJITelloPy

DJI Tello drone python interface using the official Tello SDK. Feel free to contribute!
MIT License
1.24k stars 490 forks source link

Problème Vidéo avec Tello Robomaster TT #179

Open lugrsmb opened 1 year ago

lugrsmb commented 1 year ago

Bonjour, Lorsque je lance le programme de capture vidéo du drone ci dessous, cela me renvoie une KeyError: '192.168.10.1'

frame_read = tello.get_frame_read()

def videoRecorder(): height, width, _ =frame_read.frame.shape video= cv2.VideoWriter('video.avi',cv2.VideoWriter_fourcc(*'XVID'),38,(width,height)) while keepRecording: video.write(frame_read.frame) time.sleep video.release

recorder= Thread(target=videoRecorder) recorder.start() tello.takeoff() tello.land() keepRecording= False recorder.join()

M4GNV5 commented 1 year ago

Hey,

can you describe your problem in english? Also please include the full error log.