Uav toolbox vtol plant model with PX4 sitl
23 views (last 30 days)
Show older comments
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.
0 Comments
Answers (0)
See Also
Categories
Find more on Quadcopters and Drones in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!