Hello Tello Pilot!
Join our DJI Tello community & remove this banner.
Sign up

Tello python SDK only works takeoff and land command.

yasuowastaken

New member
Joined
Oct 5, 2018
Messages
2
Reaction score
0
Does anyone have the same issue and get working well with other commands?
I'm working on windows10 and Mac OSX, but it only works takeoff and land command.
 
If I delete source code of the receiving data part, part of the commands work, but still, flip commands are not working.
I don't know why it seems like our local network problem or something.
Well, now kind of, I can control a Tello.

If anyone has the same trouble, try this. It might help...

Thanks.
 
Using python code, I can get most commands to work but NOT flip. I get a Berror.
I am using the latest firmware. It will flip if I use the tello app.
 
The code that I converted from python 2 to 3 and did not work the flip command on the PC was from github Tello-Python.

The code that I wrote on my samsung tab3 which does work is the following:

print("This is console module")
import socket
tello = ("192.168.10.1", 8889)
# create udp socket
try:
socket = socket.socket (socket.AF_INET, socket.SOCK_DGRAM)
except socket.error:
print("error in connection")
exit()

while 1:
message = input("> ")
print(message)

if message == "exit" :
print ("goodbye")
break
message = message.encode()
try:
socket.sendto(message, tello)
data, ip = socket.recvfrom(1024)
print ("{}: {}".format (ip, data.decode()))
except socket.error:
print ("error {}".format(socket.error))
exit()
 

New Posts

Members online

No members online now.

Forum statistics

Threads
5,760
Messages
40,279
Members
17,408
Latest member
hengtoo

New Posts