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

lossing connection #52

Open
Drone-project opened this issue Mar 9, 2017 · 0 comments
Open

lossing connection #52

Drone-project opened this issue Mar 9, 2017 · 0 comments

Comments

@Drone-project
Copy link

Hello,

I we are using this module in our senior project to make the drone autonomously track a target .However , I tried the provided sample code and the drone kind of losing connection after taking off ,what happens exactly is that after executing the script the drone takes off and keeps taking off or sometimes just hanging in the air without executing the land command . This causes us a serious problem since we loose the control on the drone and the only way to stop it is by physically forcing it to land and that causes it to enter kind of emergency state .

We are new to the Drones field any advices or recommendations will be highly appreciated.

In addition we are looking for detailed documentation on how to use this module or any previous projects done using it .

Thank you in advance.

var bebop = require('node-bebop');

var drone = bebop.createClient();

drone.connect(function() {
drone.takeOff();

setTimeout(function() {
drone.land();
}, 5000);
});

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

1 participant