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

Add client.enableEmergency(); functionality to trigger emergency cutout #123

Open
ColinCreamer opened this issue Aug 15, 2015 · 1 comment

Comments

@ColinCreamer
Copy link

It would be great if this API provided an easy way to trigger an emergency cutout while flying, to make it dead drop from the air. Similar to how you can easily clear an emergency via client.disableEmergency(); having a client.enableEmergency(); function as well, would allow you to just as easily trigger an emergency.

@wiseman
Copy link
Collaborator

wiseman commented May 9, 2016

Good idea! It might be a little while before I have a chance to do this, do you want to give it a try?

Take a look at how the disableEmergency function is implemented, including the logic in _processNavdata.

Page 35 of the AR.Drone Developer Guide describes how to send the "emergency order"; It will be very similar to how we currently send the "disable emergency" command.

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

No branches or pull requests

2 participants