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 views (last 30 days)
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

Answers (1)

Arun Mathamkode
Arun Mathamkode on 4 Jul 2023
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 Comments
Xiaowei Xing
Xiaowei Xing on 6 Jun 2024
Edited: Xiaowei Xing on 6 Jun 2024
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

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!