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

1 回表示 (過去 30 日間)
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?

採用された回答

Walter Roberson
Walter Roberson 2022 年 2 月 16 日
That example is new as of R2021b, which is after your R2020b.
  1 件のコメント
SeungWoo Park
SeungWoo Park 2022 年 2 月 16 日
Thank you! I'm using 2020b.
I installed 2021b and it works!

サインインしてコメントする。

その他の回答 (1 件)

Jianxin Sun
Jianxin Sun 2022 年 2 月 15 日
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 件のコメント
SeungWoo Park
SeungWoo Park 2022 年 2 月 16 日
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

サインインしてコメントする。

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by