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

1 visualizzazione (ultimi 30 giorni)
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?

Risposta accettata

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

Più risposte (1)

Jianxin Sun
Jianxin Sun il 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 Commento
SeungWoo Park
SeungWoo Park il 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

Accedi per commentare.

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by