HITL example of 'UAV Toolbox Support Package for PX4 Autopilots' is disabled

5 views (last 30 days)
Recently, I'm learning UAV Toolbox Support Package for PX4 Autopilots
So I follwed examples, but last example(HITL) is disabled.
open_system('px4demo_QGCWaypointFollower_hitl')
I can't open this file.
And I can't find this block.
Question
  1. 'UAV Toolbox Support Package for PX4 Autopilots' doesn't support QGC block anymore?
  2. Would you please update last example?

Accepted Answer

Walter Roberson
Walter Roberson on 16 Feb 2022
That example is new as of R2021b, which is after your R2020b.

More Answers (1)

Jianxin Sun
Jianxin Sun on 15 Feb 2022
Hi SeungWoo,
Have you ran the openExample('px4/FollowSetOfWaypointsQGCHITLSimulationExample') first in the command line? It will copy all the example related files into your document folder and change the MATLAB current folder to the example folder. From there you should be able to open the Simulink model
Thanks,
Jianxin
  1 Comment
SeungWoo Park
SeungWoo Park on 16 Feb 2022
Hi Jianxin
Thanks for your answer.
I tried to find examples but I could not find HITL examples.
And I tried this code.
openExample('px4/FollowSetOfWaypointsQGCHITLSimulationExample')
It is errored.
If you find the example, please let me know the process.
Thanks,
Park SeungWoo

Sign in to comment.

Tags

Products

Community Treasure Hunt

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

Start Hunting!