microlinux / tello

A Python interface for the Ryze Tello drone.
171 stars 77 forks source link

Is it possible to get the video feed? #2

Closed freaad closed 6 years ago

freaad commented 6 years ago

I am wondering that is it possible to get the video feeding or not using by sdk?

anj-easyinspect commented 6 years ago

No, it does not seem like it at the moment. https://dl-cdn.ryzerobotics.com/downloads/tello/0228/Tello+SDK+Readme.pdf

freaad commented 6 years ago

Thank you.

edmondja commented 6 years ago

I wanted to post the same before I saw your issue x).

If anybody has a news about this, post it here please so we receive an email notification

Nufflee commented 6 years ago

I'm pretty sure it is but not through this "simplified" API. Tello also has a (unofficial?) more advanced and robust API that you can see here. I think it's the same API used by the app as it has a thing for setting stick values. There's also this very promising function for retrieving video data/feed but I couldn't get it to work. @freaad @edmondja

edmondja commented 6 years ago

Hi, thanks for the information. What did you try to do to get the videos ? from pytello.tello import Tello t = Tello() t.setSmartVideoShot(1, True) Something like that ?

And what about this https://github.com/hanyazou/TelloPy/blob/develop-0.5.0/tellopy/examples/video_effect.py ? (updated here https://github.com/mcecchi/KivyTello/blob/master/tellopy/examples/video_effect.py)

Nufflee commented 6 years ago

Yeah, I tried that but the video isn't saved anywhere. The video receive thread is never called. Will check out stuff you linked now. @edmondja

Nufflee commented 6 years ago

Also, I'm sure there's a way to retrieve because the Tello app is doing it.

arthursp commented 6 years ago

Yes it's possible, a team created it with golang : https://gobot.io/documentation/examples/tello_opencv/, I tried to reverse engineered it to find the utf8 command from the binary uint8[], but not yet found...

freaad commented 6 years ago

ok I find the real useful python tello library. I put on the link. https://github.com/hanyazou/TelloPy