0

I am trying to run an example Simulink model provided by Mathworks, but while deploying the model to the Pixhawk flight controller, I am receiving the following error:

Error(s) encountered while building "px4demo_uORBReadWrite":
### Failed to generate all binary outputs.
Caused by:
Validation error(s): 
### Validating other build tools ...
Unable to locate build tool "GNU PX4 Archiver": echo

I have followed all the steps to configure the hardware properly, except the last part where I was not able to receive the accelerometer data too. The error received while testing the connection at that time was:

Error reading data from the serial port. Operation timed out before requested data was received.

Can someone explain why I am having this issue? Thanks

  • Can you add info on that serial port the error mentions? What is it used for? What settings are you using and how do you set them? – Marcos G. Jul 26 '19 at 07:36
  • I have connected the px4 using the usb. I have checked and its the COM3 port. Before the test, the same port was used to upload the firmware, and there were no problems with that. – Chris Toomer Jul 26 '19 at 08:43
  • I would double-check if the firmware is correctly installed. It seems nothing is listening on the other side of the connection – Marcos G. Jul 26 '19 at 10:31
  • Regarding your first issue: https://de.mathworks.com/matlabcentral/answers/453589-unable-to-locate-build-tool-gnu-px4-archiver-echo – Daniel Jul 30 '19 at 19:03

0 Answers0