Unable to find the location of PX4 Firmware in host computer. Please perform Hardware setup screens and provide a location for the PX4 Firmware in the setup screens.

20 views (last 30 days)
Hello there;
I am trying to build a Quadcopter_controllerWithNavigation on pixhawk1 target board to do HITL, in the hardware setup when I reach the build firmware step this error appeared:
Caused by: Unable to find the location of PX4 Firmware in host computer. Please perform Hardware setup screens and provide a location for the PX4 Firmware in the setup screens.
Regards.

Answers (1)

Arun Mathamkode
Arun Mathamkode on 1 Aug 2022
After the support package installation, ther Hardware setup step need to be completed before starting to use the Support package with Simulink. As mentioned in the error, Run through the hardware setup screens providing the right location of the PX4 Firmaware that should reslove the issue.
  1 Comment
Abdulrahman Aljarrah
Abdulrahman Aljarrah on 1 Aug 2022
Well I did this step and the issue still appearing
BUILDSTARTING_01-Aug-2022_12-15-27
CMAKE Config selected : px4_fmu-v2_default
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'menuconfig'
CMake Error at cmake/kconfig.cmake:6 (message):
kconfiglib is not installed or not in PATH
please install using "pip3 install kconfiglib"
Call Stack (most recent call first):
CMakeLists.txt:174 (include)
Error: /cygdrive/c/px4_cygwin/home/Firmware/build/px4_fmu-v2_default is not a directory
make: *** [Makefile:230: px4_fmu-v2_default] Error 1
BUILDCOMPLETE_01-Aug-2022_12-15-27
and thank you

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!