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

Implement propeller test functionality #370

Closed
tobbeanton opened this issue Sep 19, 2018 · 3 comments
Closed

Implement propeller test functionality #370

tobbeanton opened this issue Sep 19, 2018 · 3 comments
Milestone

Comments

@tobbeanton
Copy link
Member

Vibration of the propeller or possible motor/bent axis can effect flight performance. By using the accelerometer it should be possible to implement an automated test to measure this.

@tobbeanton
Copy link
Member Author

tobbeanton commented Sep 19, 2018

A initial implementation has been made and it works like this.

  • To run the propeller test the parameter health.startPropTest should be set to 1. This can be done using the cfclient or using the python lib parameter framework e.g. cf.param.set_value('health.startPropTest', '1'). Setting it again will run another new test.
  • The test will then run by spinning each propeller after another to check the vibration. If a propeller is found to be over the limit (set in config.h as PROPELLER_BALANCE_TEST_THRESHOLD) the failed propeller will make three short beeps and a sound so it can be identified.
  • In the console in the cfclient information of the test will be printed and also if any propeller failed.
  • After a test has run it might be wise to restart the CF2.

@benkuper
Copy link

It works very well, still have to see how better the flights are, but command is working and it's very reassuring !
Quick note : the parameter to set is health.startPropTest and not runPropTest

@tobbeanton
Copy link
Member Author

Updated the instructions health.startPropTest. Thanks Ben!

@krichardsson krichardsson added this to the next-version milestone Oct 17, 2018
cafeciaojoe pushed a commit to cafeciaojoe/crazyflie-firmware that referenced this issue Sep 27, 2024
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

3 participants