TelloPy icon indicating copy to clipboard operation
TelloPy copied to clipboard

I don't know how to get a picture I took.

Open omiita opened this issue 6 years ago • 3 comments

Thank you for your splendid work.

I'm new to Tello and I can't understand how to take a picture and save it as image file by TelloPy. I'm using take_picture() method as follows but got a bunch of error messages. Should I make some variable for the return value of take_picuter() method and then convert it to img file somehow? Can someone clarify this for me?

Thank you in advance!

import tellopy
tl = tellopy.Tello()
tl.connect()
tl.takeoff()
tl.take_picture()
tl.quit()

[Edit] I think this might help me out.

Try opening inbound UDP ports 9000, 9617, and 6038

But, I'm not sure for the way of opening inbound UDP ports by those mentioned ports.

omiita avatar Feb 15 '19 14:02 omiita

You should handle EVENT_FILE_RECEIVED. Please look at tellopy/examples/keyboard_and_video.p to know how to handle the event.

hanyazou avatar Feb 15 '19 21:02 hanyazou

Can you please help me with this issue - I think you can solve it since you were able to establish connection: (Thanks)

https://github.com/hanyazou/TelloPy/issues/58#issuecomment-529257754

pnehareddy1 avatar Sep 09 '19 00:09 pnehareddy1

@omihub1996

pnehareddy1 avatar Sep 09 '19 00:09 pnehareddy1