-
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
What happens when no commands sent to the drone? #47
Comments
With a reference of a friend, I found that there is a control:flying_mode command which changes between FreeFlight mode and HOVER_ON_TOP_OF_ROUNDEL. As I noticed, you did not set this control unit in ARDrone::initCommand and I am not sure which one it uses by default. So, I added following:
I will test it tomorrow and let u know if it solved the problem. |
Hi, Thank you for your report ! Regards, |
Hi there, It did not work. Still happens. I noticed that it happens (rotating after starting) after I crashed it. So, I suspect it can be because of some kinda calibration it is doing by itself. However, I cannot recall if it happens always after the crashing. In general, if you have any idea about calibrating it, I mean when I should do which calibration? In general, what they do? Besides, in command.cpp file I tried to set max altitude, but sometimes it still flies too high. I have no idea why. When we set the max altitude doesn't it mean that the drone won't fly any higher even if we explicitly send commands to it to do so? Thanks, |
I wonder what commands do you send to the drone to stay in the air when no user input is sent.
I have noticed that sometimes when drone starts flying(after takeoff command) it would simply rotate on its place, which does not always happen.
I am mainly running the drone in a loop which simply reads images (getImage command) and occasionally I send some move3d commands. And I do want the drone to simply hover when there are no commands sent to it. However, I am struggling to understand how.
Beside that, if for a while no commands sent it will just go up to the ceiling.
Simply said, sometimes the drone performs some random manoeuvres. Would be nice if you could say your opinion about it.
I saw another thread as well asking "how to make it hover", which had no responses. I understand that it could be something difficult to achieve and that is why I am not asking for an explicit way of solving but just your opinions.
Thanks,
Fiz
The text was updated successfully, but these errors were encountered: