PX4 HILS in Simulink; Planning a mission without using QGC
2 views (last 30 days)
Show older comments
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?
0 Comments
Answers (1)
John conner
on 28 Feb 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
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!