Closed paulbaumgarten closed 4 years ago
Hey,
please install the latest djitellopy version using pip install https://github.com/damiafuentes/DJITelloPy/archive/master.zip
. The version on PyPi is from 2018, currently only Damia Fuentes has access to the pypi package but he doesn't work much on djitellopy anymore.
Having takeoff
return error
is usually caused by a (nearly) empty battery pack. You can try:
tello = Tello()
tello.connect()
time.sleep(0.5)
print("Battery: ", telo.get_battery())
tello.takeoff()
Thank you, that fixed it.
Hello Thank you for this amazing library. I have had this working successfully before but am having issues getting it to connect now. It's a new drone, using a new laptop (Windows 10) and a fresh install of Python (3.8.5) and library (whatever PyPi currently has).
I've reverted all the way to using code similar to the demo script
The terminal output is as follows
I notice that before the exception generated by the takeoff command, there is an "invalid literal" occurring on the connect command. Any advice on what I am missing would be much appreciated.
Regards