How can replace default controller parts of PX4 with custom algorithms controller?
Afficher commentaires plus anciens
I want to change controller algorithms of PX4.
So I am learning 'UAV Toolbox Support Package for PX4 Autopilots'
I want replace controller parts of px4 firmware(default : 'mc_att_control' and 'mc_pos_control)' with custom controller.
Path following flight is performed simply by connecting PX4 to the drone and simply giving a mission with QGC.(Before using UAV Toolbox Support Package for PX4 Autopilots)
if I want to change only the controller of PX4 using the UAV Toolbox Support Package for PX4 Autopilots, I wonder if I can design and build only the controller. Or, I wonder if I should design all the processes (connecting to QGC, transmitting and receiving msg, etc.) from the beginning with simulink. There is no example for this, so it is difficult to proceed.
P.S.
It would be very helpful if there was an example of flying a real drone by building a custom algorithm in PX4. (not simulation)
Réponse acceptée
Plus de réponses (1)
Massimo Satler
le 15 Mar 2022
0 votes
Hi Jianxin Sun, I saw the system requirements section where it is recommended Ubuntu 18.04 Is it possible to use the support packets with Ubuntu 20.04 and matlab 2022a?
1 commentaire
Jianxin Sun
le 1 Juin 2023
From R2022b, the PX4 support package supports PX4 1.12.3 and Ubuntu 20.04: https://www.mathworks.com/help/releases/R2022b/supportpkg/px4/ug/download-px4-source-code-ubuntu.html
Catégories
En savoir plus sur Quadcopters and Drones dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!