Yash Sharma
Yash Sharma

Reputation: 112

Exception: Command 'command' was unsuccessful for 4 tries. Latest response: 'command'

I've created this simple tello code:

from djitellopy import Tello
tello = Tello()

tello.connect()
tello.takeoff()

tello.move_left(100)
tello.rotate_clockwise(90)
tello.move_forward(100)

tello.land()

However, every time I try to run the code, the drone light is yellow, even when I've connected to its wifi and I get this error:

Exception: Command 'command' was unsuccessful for 4 tries. Latest response: 'command'

Upvotes: 1

Views: 2864

Answers (2)

Sérgio Ildefonso
Sérgio Ildefonso

Reputation: 72

I had the same problem.

Then I connected the app and there was a need to activate the drone through the app. After that, I could connect the PC to the drone and take off / land.

Upvotes: 1

Towvis
Towvis

Reputation: 21

What worked for me was to first connect to the app, I took off and landed with the ryze tello app, then tried the code again and it worked straight away.

Upvotes: 1

Related Questions