Pixhawk PSP CSC Parameter demo error
6 views (last 30 days)
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:
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
Abhishek GS on 2 Apr 2019
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.