Uav toolbox vtol plant model with PX4 sitl

23 vues (au cours des 30 derniers jours)
AbdulKadir
AbdulKadir le 6 Oct 2025 à 11:26
Modifié(e) : AbdulKadir le 6 Oct 2025 à 13:08
Hi, i am trying to make a simulation with Uav toolbox's vtol plant model (prj = openProject("VTOLApp/VTOLRefApp.prj")) as a vtol uav dynamic and px4 sitl as a controller. As a interface i am using Kiril Boychev's model: https://www.mathworks.com/matlabcentral/fileexchange/114320-pixhawk-software-in-the-loop-sil-connector-for-simulink. So it connects via TCP 4560 and runs lockstep well. When i try to use UDP there were timeouts and other errors.
When i changed plant model behavior of uav show anormal behavior. I am wondering that can we use HIL_ACTUATOR_CONTROL [16] array as a rotor and control surface input or not. When i run original example i show that RotorCtrlbus of vtol model of Uav toolbox also conveys 0-1 value to rotor blocks.
If you have any additional suggestion about that I wil,l be very appreciate it.
Thanks.

Réponses (0)

Catégories

En savoir plus sur Quadcopters and Drones dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by