PX4 HILS in Simulink; Planning a mission without using QGC

1 次查看(过去 30 天)
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?

回答(1 个)

John conner
John conner 2024-2-28
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

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by