Erro in PX4 Autopilots Examples

조회 수: 1 (최근 30일)
Minshang Liang
Minshang Liang 2020년 8월 14일
답변: Arun Mathamkode 2021년 11월 11일
Hallo guys,
I am a student. I want to learn, how can i use matlab to control the PX4 Autopilots. I learn the example: Code Verification and Validation with Processor-in-the-Loop (PIL) Simulation. it shows in diagnostic viewer: The current CMake configuration px4fmu-v5_default is incompatible with selected Hardware board PX4 Pixhawk 1 in the Simulink Model. Even though i changed it in Modelsettings.
Thanks for you help
  댓글 수: 1
Mahesh Taparia
Mahesh Taparia 2020년 11월 19일
Hi,
You can refer to this MATLAB documentation of PX4. Hope it will help!

댓글을 달려면 로그인하십시오.

답변 (1개)

Arun Mathamkode
Arun Mathamkode 2021년 11월 11일
Makesure that you have selected the required hardware during the Hardware setup screens. If you are using 'Pixhawk 1', you can choose either px4fmu-v2_default or px4fmu-v3_default as the CMake. For the CMake configuration px4fmu-v5_default you need to use 'Pixhawk 4'. You can consider running through the Hardware setup screens and choosing the right hardware and right CMake to resolve this issue.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by