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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/895455/image.png)
Question
- 'UAV Toolbox Support Package for PX4 Autopilots' doesn't support QGC block anymore?
- Would you please update last example?
0 个评论
采纳的回答
更多回答(1 个)
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
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!