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

Drone moves back without reacting to a face #6

Open
RGDEV2022 opened this issue Nov 3, 2017 · 6 comments
Open

Drone moves back without reacting to a face #6

RGDEV2022 opened this issue Nov 3, 2017 · 6 comments

Comments

@RGDEV2022
Copy link

HI, I ran the example.js and the drone takes off and continues to move back. On the debugging video even though it detects my face, it doesn't react. It just keeps moving back.
I tried it with another AR-drone I have and in that one the drone moves to the left continuously without reacting to my face.
Any help would be much appreciated, it's for a college project.

@paulhayes
Copy link
Owner

Be sure to launch the drone from a floor with a patterned surface ( the underbelly of the copter has a down facing camera for detecting drift ).

When the drone is sitting on the level ground before taking off, press the C key.

@RGDEV2022
Copy link
Author

RGDEV2022 commented Nov 5, 2017 via email

@paulhayes
Copy link
Owner

paulhayes commented Nov 5, 2017

At the moment, line 270 of example.js is when the script checks if the c key is pressed and calls the calibrate function of the drone. However you can see it's a manual call to the UDP control library. Not something I've written into the copterface library.

High contrast patterned flooring is best, but the same results can be achieved with a patterned some electrical tape made into cross patterns on the floor.

Does the drone yaw correctly to follow your face? The moving forward is very sensitive, so I've just to make it's forward movements very gentle. It works for me, but only when the accelerometers are calibrated properly. Have a look at the acceleration values displayed when example.js is running. They are a bit weird when the drone is not flying, but should work the rest of the time.

@RGDEV2022
Copy link
Author

RGDEV2022 commented Nov 5, 2017 via email

@RGDEV2022
Copy link
Author

RGDEV2022 commented Nov 20, 2017 via email

@paulhayes
Copy link
Owner

paulhayes commented Nov 21, 2017 via email

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