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

throwfly not properly added #134

Closed
azeryn13 opened this issue Feb 18, 2022 · 1 comment
Closed

throwfly not properly added #134

azeryn13 opened this issue Feb 18, 2022 · 1 comment

Comments

@azeryn13
Copy link

when using the command 'tello.initiate_throw_takeoff()' I've noticed a few things.

Firstly, the command allows you to throw the drone in the air within 5 seconds to take off. But tello.py does not wait at all and just keeps trying to send new commands before the drone is even in the air.

Also, since it takes off form being thrown, shouldn't 'self.is_flying = True' be set in some way?

@M4GNV5
Copy link
Collaborator

M4GNV5 commented Feb 18, 2022

I added the self.is_flying = True part, but i dont think there is a realiable way to check wether the takeoff actually ocurred and especially when it occured. I think it is up to the user to ask the user for takeoff confirmation or just wait 5 seconds.

@M4GNV5 M4GNV5 closed this as completed Feb 18, 2022
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