Crazyflie Quadcopter Simulation Using Simmechanics
*Run Crazyflie_Param before the simulink file.
This uses Crazyflie parameters to simulate a quadcopter.
Attitude controller uses nested PID controller that comes with the Crazyflie firmware.
Input is PWM where 65535 is the maximum value. (16 bit which is same as Crazyflie Firmware)
PWM to thrust and propeller rotation mapping is from Crazyflie System Identification paper. (System Identication of
the Crazyflie 2.0 Nano Quadrocopter by Julian Forster)
Position to attitude tracker uses a simple PID controller to map x,y error to roll, pitch reference.
I made this for class project. It is simple, does not require any toolboxes (which is why I made it), and organized in a way that is easy to follow. I hope this helps with whatever project you guys are working with!
Citation pour cette source
Wooshik Kim (2024). Crazyflie Quadcopter Simulation Using Simmechanics (https://www.mathworks.com/matlabcentral/fileexchange/65469-crazyflie-quadcopter-simulation-using-simmechanics), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- Control Systems > Control System Toolbox > Control System Design and Tuning > State-Space Control Design and Estimation >
Tags
Communautés
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Quadcopter_Simulation_WSK/
Quadcopter_Simulation_WSK/
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 | Added picture |