ezrafielding / easyTello

An easy to use library to support DJI Tello scripting in Python 3
MIT License
79 stars 31 forks source link

Not getting data from tello #21

Open tvaneynde opened 4 years ago

tvaneynde commented 4 years ago

When I try to get the battery level of the tello it doesn't respond with anything, this is the terminal output.

Sending command: command Response: b'ok' Sending command: streamon Response: b'ok' Sending command: takeoff Response: b'ok' Sending command: battery? Sending command: land Response: b'ok' Sending command: streamoff Response: b'ok'

jamesnoonan commented 3 years ago

Have you tried printing the value? Just calling my_drone.get_battery() won't print out the value but will return it. Try print(my_drone.get_battery())