Pixhawk PSP CSC Parameter demo error

9 ビュー (過去 30 日間)
T.A.C.J.M. Albers
T.A.C.J.M. Albers 2018 年 10 月 30 日
回答済み: Abhishek GS 2019 年 4 月 2 日
Hi everyone,
I have installed the Pilot support package and I am able to build and run most of the provided examples. However, the examples including the CSC parameters result in errors.
The examples involving the CSC parameters are:
  • px4demo_Parameter_CSC_example.slx
  • px4demo_ParameterUpdate_CSC_example.slx
During the build procedure, the following error arises
The error shows that '/home/tom/Documents/MATLAB/Add-Ons/Toolboxes/PX4' can not be opened and 'PSP/code/src/ReadCalib_Parameter.c' can not be opened.
However, the file ReadCalib_Parameter.c is located in: /home/tom/Documents/MATLAB/Add-Ons/Toolboxes/PX4 PSP/code/src/ReadCalib_Parameter.c, which suggests the space in the folder name 'PX4 PSP' is the main reason for the error.
The error originates from 'Firmware/src/modules/px4_simulink_app/CMakeLists.txt', which is an automatic generated cmakelist file, where the ReadCalib_Parameter.c and the located directory is included.
Therefore, my problem/question is: which file contains the link to ReadCalib_Parameter.c and its path, which I can change, such that the link can be located again during the build procedure? If anyone has an answer, please let me know. Thanks

回答 (1 件)

Abhishek GS
Abhishek GS 2019 年 4 月 2 日
The official support package 'Embedded Coder Support Package for PX4 Autopilots' is now available from R2018b onwards.
Uninstall the Pixhawk PSP, if you have it installed and refer the documentation on getting started with the official support package.
The above mentioned issues should be solved.
~Abhishek

製品


リリース

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by