PX4 HILS in Simulink; Planning a mission without using QGC

4 vues (au cours des 30 derniers jours)
Hiroki U.
Hiroki U. le 5 Déc 2023
I am trying to create a HILS for Cube Pilot (PX4) using Simulink. I am currently working from the example in the following link (https://jp.mathworks.com/help/supportpkg/px4/ref/hitl-simulink-plant-example.html), but I am having problems with mission planning.
I would like to input the waypoints and trajectories to be flown directly within Simulink and simulate the flight along those points and trajectories. However, in this example, mission planning is done in QGroundControl.
Can someone please tell me how to complete this operation within Simulink?

Réponses (1)

John conner
John conner le 28 Fév 2024
Install variant manager Add-on
Go to Navigation block. wright click on "Quadcopter Navigation Algorithm" block -> variant-> open -> manual waypoints.
Now you can go throw the block and you can see new block which is designed to work with manual waypoints that hard coded to simulink.
with best wishes.
pray for Palestine

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by