Erro in PX4 Autopilots Examples

3 次查看(过去 30 天)
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 个)

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