Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeError('Tello rejected attempt to enter command mode') - CAPS LOCK issue #9

Open
LucaBartolini opened this issue Dec 24, 2018 · 1 comment

Comments

@LucaBartolini
Copy link

LucaBartolini commented Dec 24, 2018

I bought the Tello, and updated it to the latest firmware: 01.04.78.01
Upon trying to instantiate the object "Tello", the __init__ method would raise a RuntimeError('Tello rejected attempt to enter command mode').
After a little debugging, I figured out that the exception was thrown because the 'OK' expected as a response upon send_command('command') (line 59) was returned in lower caps format, i.e. 'ok'.
Possibly this mismatch was due to the latest firmware update, and to have the tello.py library work again, it's simply necessary to change the 'OK' in line 59 to 'ok'.

@sglebs
Copy link

sglebs commented Aug 1, 2020

This supports either:

        if self.send_command('command').upper() != 'OK':

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants