PX4 with Simulink

14 ビュー (過去 30 日間)
Brandon Fletchuer
Brandon Fletchuer 2021 年 4 月 15 日
回答済み: John conner 2024 年 2 月 28 日 4:31
I'm looking for a general guidline on how to setup PX4 with the UAV Toolbox and the PX4 MATLAB Addon and simulink. I'm looking to test some guidance algorthims with the PX4 but don't know how to connect all the dots. Here are some of my questions
  1. Do you need the PX4 Hardware in the loop?
  2. Is there any examples on how to connect all the dots between UAV Toolbox, PX4 Addon and Simulink?
  3. If this is not the correct method, what would be the correct method?

回答 (2 件)

Mark McBroom
Mark McBroom 2022 年 4 月 16 日
  1. You do not need PX4 hardware. The PX4 support package includes a PX4 simulator that you can use in place of actual hardware
  2. The PX4 support package has a number of examples that you can use to get started.

John conner
John conner 2024 年 2 月 28 日 4:31
  1. You can do it by using "Host Target" (SIL)
  2. https://nl.mathworks.com/help/supportpkg/px4/
  3. You can search for MIL,SIL,PIL,HIL.
For PIL and HIL you need PX4 hardware. But for MIL and SIL you don't need it. you can check your algorithm by SIL and it is not necessary to go throw PIL and HIL until last section of development.
Also it is not recommended for students without scientific and economic support from college or university, to go through HIL.
You will face lots of problem around software, hardware, connection protocols, electronic/electric problems and so on.

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by