rror copying generated code into Pixhawk firmware directory. Delete the files in the folder C:\PX4\hom​e\Firmware​\src\modul​es\px4_sim​ulink_app manually and try building again.

5 ビュー (過去 30 日間)
rror copying generated code into Pixhawk firmware directory. Delete the files in the folder C:\PX4\home\Firmware\src\modules\px4_simulink_app manually and try building again.
how to rebuilding again
  1 件のコメント
Ankur Bose
Ankur Bose 2022 年 6 月 28 日
Did you try deleting the folder
C:\PX4\hom​e\Firmware​\src\modul​es\px4_sim​ulink_app?

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

回答 (1 件)

Arun Mathamkode
Arun Mathamkode 2023 年 7 月 4 日
As the error messages says, Delete the files in the folder C:\PX4\home\Firmware\src\modules\px4_simulink_app manually and try building again.
  2 件のコメント
Xiaowei Xing
Xiaowei Xing 2024 年 6 月 6 日
編集済み: Xiaowei Xing 2024 年 6 月 6 日
Hi Sir,
I met almost the same problem:
Error:Error copying generated code into Pixhawk firmware directory. Delete the files in the folder \\wsl.localhost\Ubuntu\home\xing\PX4-Autopilot\src\modules\px4_simulink_app manually and try building again.
I deleted the files in this folder. However, the problem still existed. How should I resolve it?
Some extra info:
  • MATLAB: 2024a
  • Pixhawk 4
  • PX4 v1.14.0
Xiaowei Xing
Xiaowei Xing 2024 年 6 月 6 日
To answer my question, I followed the instructions in Performing PX4 System Startup from SD Card. This error is recolved.

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

Community Treasure Hunt

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

Start Hunting!

Translated by