Unable to connect to QGC with Simulink code

I have been using the Mathworks PX4 Toolbox to implement and deploy code onto the PX4 fixed wing architecture. The code works fine and I can fly my vehicle with the Simulink code, however it cannot connect to QGC (tried both USB and MavLink radio). All it says in QGC is “Waiting for Vehicle”. I was wondering if there is something in the code I have to add such that it can connect to QGC…

1 Like