damiafuentes / DJITelloPy

DJI Tello drone python interface using the official Tello SDK. Feel free to contribute!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problème Vidéo avec Tello Robomaster TT

lugrsmb opened this issue · comments

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()

Hey,

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