-
Notifications
You must be signed in to change notification settings - Fork 93
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
How to rotate the drone while maintaining it static #36
Comments
Stability is still a weak point in my code (please, help me out with that!), but another question is intriguing me: I've already been able to make my drone rotate (easy peasy after all) after pressing a key, but I want to do it repeatedly. That is why I'm thinking of inserting my code inside an infinite loop. But my question is: how do I 'prioritize' some instructions to interrupt this rotation, given that one instruction cannot be carried out until the one in motion finishes? I would like, for instance, to move from some place to another (more and more questions coming from aside that I will try to face afterwards, hahaha) or to land de drone while it is rotating. Thank you again, and see you soon! |
Hello, I had a go with my issue above, coding these following lines:
However I do find the following problems once I execute this:
|
Wow, you are doing a loop in a loop. |
Hello everyone!
Thank you in advance for all the help provided not only through the construction of the repository, but also through your kind guidance in this forum.
I'm new in AR Drone programming (and **** in programming in general), and I just wanted to know whether it is possible to rotate the drone, for instance, 30 degrees by pressing one single key (I tried to type down higher numbers of vr than 1.0 without any success; I suppose it has to be related to the speed that the drone takes to accept this command ¿?).
Another question that comes to mind is simply how to manage to maintain the drone static in air after taking off. I have just changed all screws, but without any success also; the drone does whatever it wants and it takes a while to start obeying my instructions.
Thanks a lot, and have a nice day!
The text was updated successfully, but these errors were encountered: