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.
23 views (last 30 days)
Show older comments
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:
Error evaluating 'InitFcn' callback of Constant block 'Quadcopter_ControllerWithNavigation/Navigation/Quadcopter Navigation Algorithm/Read waypoint from QGroundControl Mission/Read Position Setpoint from Mission set in QGC/Send waypoints to OBC/PX4 uORB Message/Constant'. Callback string is 'px4.internal.block.MessageBlockMask.dispatch('constantBlkInitFcn', gcb);'
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1084305/image.png)
0 Comments
Answers (1)
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.
See Also
Categories
Find more on Setup and Configuration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!