Uav toolbox vtol plant model with PX4 sitl

24 visualizzazioni (ultimi 30 giorni)
AbdulKadir
AbdulKadir il 6 Ott 2025 alle 11:26
Modificato: AbdulKadir il 6 Ott 2025 alle 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.

Risposte (0)

Categorie

Scopri di più su Quadcopters and Drones in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by