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

emergency() hangs with no response, also fails to recognise landing #125

Closed
ceperman opened this issue Nov 26, 2021 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@ceperman
Copy link

ceperman commented Nov 26, 2021

emergency() waits for a response when the Tello appears not return one, so it hangs.

Also emergency() should recognise that the drone will have landed - difficult not to with the motors switched off - but does not flag it. This causes end() to attempt to land the drone when it has already landed (see issue "end() throws exception if drone has already landed through mishap").

I have modified my version of Tello emergency() thus:

self.send_command_without_return("emergency")
self.is_flying = False

Update
I realised this could be model/firmware related. I have a basic Tello, firmware 01.04.92.01 (the latest for this model I believe).

@M4GNV5 M4GNV5 added the bug Something isn't working label Nov 28, 2021
@M4GNV5 M4GNV5 closed this as completed in 0636287 Feb 18, 2022
@M4GNV5
Copy link
Collaborator

M4GNV5 commented Feb 18, 2022

The manual describes the drone to return ok or error after sending emergency.

I adjusted the code to the behaviour you describe, but wasnt able to test it just yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants