Pushing a custom simulink UAV model to px4.
13 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hello @everyone,
Please, I am looking for a step by step tutorial on how to develop px4_simulink_app from UAV simulink model using Simulink UAV Toolbox support package, in order test the performance of my custom controller in a real-life quadrotor flight test.
Thank you.
0 Commenti
Risposta accettata
Ankur Bose
il 8 Mag 2023
Have you tried out thecontroller deployment examples in the support package? The support package already contains controller deployment examples which you can run on Host or Autopilot. You dont need to develop the px4_simulink_app. The support package will take care of that for you
11 Commenti
Ankur Bose
il 19 Mag 2023
As per the documentation you shared, you have to run Monitor & Tune. See Task 3. Follow the doc to see the correct behavior
Più risposte (2)
Arun Mathamkode
il 9 Mag 2023
As per your initial question, I understand that you want to deploy the custom controller on a PX4 autopilot for a real flight test. From the Comments from the earlier answer, I see that you are facing issues with SITL as well. Since your end goal is to try with real hardware, I would recommend you start creating a custom controller and verify it with HITL before the actual flight. You can refer to the HITL example to get started.
4 Commenti
Ankur Bose
il 19 Mag 2023
have you set the serial port of your pixhawk Mini correctly in the HITL model?
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!