QGroundControl doesn't recognize Pixhawk 6x
Show older comments
Hi, i have an issue with my pixhawk 6x. When Simulink automatically launches QGroundControl, the board is not recognized and it results disconnected. I’m using a UDP connection. Does somebody know how to fix the problem?
6 Comments
Arun Mathamkode
on 6 Mar 2023
Can you please give more details on which example you are tryig with PIxhawk 6x? is it HITL with Simulink plant or jMAVsim or something else?
Carmen
on 6 Mar 2023
Ankur Bose
on 7 Mar 2023
Can you check once in your QGC connection, if connection to Pixhawk is selected off? The pane should appear as below with everything except UDP turned off

Carmen
on 7 Mar 2023
Arun Mathamkode
on 17 Mar 2023
Which QGC version you are using ? Whether this issue is there only when the QGC is automatically lanched from Simulink or you are seeing this when you manually lanch QGC as well?
Carmen
on 17 Mar 2023
Answers (1)
Ankur Bose
on 14 Jul 2023
1 vote
In HITL mode, the Pixhawk 6x is not supposed to connect directly to QGroundcontrol but via the MAVLink bridge in the Simulink plant. Hence, in QGC you need to deselect the Pixhawk checkbox and enable only UDP. To get the QGC connected to Pixawk 6x, just run the Simulink plant and it should bridge the MAVLink data between QGC and Pixhawk 6x
Categories
Find more on PX4 Autopilots 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!