Forum Archive

Tello.py problem

ihf

I am trying to use https://github.com/microlinux/tello/blob/master/tello.py to talk to a Tello drone but not getting too far.

After import tello, I try (in console):

drone = tello.Tello('192.168.10.2',8888)

drone = tello.Tello('192.168.10.2',8888)
Traceback (most recent call last):
File "", line 1, in
File "/private/var/mobile/Containers/Shared/AppGroup/B86CEE4E-E4A9-4BB4-9CA7-6E13BDA2C2A4/Pythonista3/Documents/tello/tello.py", line 60, in init
raise RuntimeError('Tello rejected attempt to enter command mode')
RuntimeError: Tello rejected attempt to enter command mode

ihf

Turns out that the person who posted this code did not have a Tello to test and the address he coded is wrong. It should be 192.168.10.1, 8889.