blandry / crazyflie-tools

A collection of tools to develop controllers for the Crazyflie using Drake
MIT License
76 stars 45 forks source link

Crazyflie firmware #25

Open araujokth opened 8 years ago

araujokth commented 8 years ago

Hi Benoit,

Great work and thanks for sharing! I found your thesis after finding this repository and it is being a great read!

I was wondering which firmware for the CF2.0 you would advise to download and if you had done any tests comparing your firmware against the firmware by bitcraze? do you know if there is any major update they have done comparing to your latest firmware?

I was planning to use your estimator and the model you identified on my application. I am running the whoenig/crazyflie_ros and was interested to improve the controller to do some precise landing and was thinking of running an LQR with your model. In case you have any tips, they would be greatly appreciated!

Thanks a lot!

Best, José

blandry commented 8 years ago

Hi José,

I know Bitcraze has been busy improving their firmware since I have forked. I was hopping to put some time into rebasing soon. There is actually some good overlap between the things they have changed and the things I had in my own fork (ex: handling of CRTP packets and linearization of the motor thrusts).

Re-using the estimator is a good idea. But it does require a steady stream of raw IMU data which might require some customization of the firmware if you decide to use upstream.

If you want to do off-board control I would suggest paying a good amount of attention to the communication code. Bitcraze did a good job a building flexible logging but they never really optimized for high rate telemetry/control (low latency, high rate etc.). For example, sending new motor commands should be the preferred strategy over waiting for acks. Probably one of the few pitfalls I can think of.

Good luck!