QGroundControl doesn't recognize Pixhawk 6x

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

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
Carmen 2023년 3월 6일
Hi @Arun Mathamkode, thanks for your comment. It is HITL with Simulink plant. In particular, we are following this guide: https://it.mathworks.com/help/supportpkg/px4/ref/hitl-simulink-plant-example.html but in the end, when QGC is automatically launched, the board is disconnected, even if every setting seems correct.
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
Carmen 2023년 3월 7일
@Ankur Bose thank you for your comment, but this setting has been correctly set. In fact, we followed this guide for QGC settings: https://it.mathworks.com/help/supportpkg/px4/ug/px4-hitl-qgc.html
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
Carmen 2023년 3월 17일
@Arun Mathamkode We are using the current version (4.2.4.0) and we have the issue only when QGC is automatically launched from Simulink. In the other hand, when we open manually QGC, if the option "Pixhawk" is set in the General tab of the setting menu the board is recognized. Actually, we thought that the problem could be the OS (windows 10 is working with Pixhawk 2.1 Cube, while window 11 seems not to be compatible), but with Pixhawk 6x we have the same issue as always.

댓글을 달려면 로그인하십시오.

답변 (1개)

Ankur Bose
Ankur Bose 2023년 7월 14일

1 개 추천

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

카테고리

도움말 센터File Exchange에서 Aerospace Applications에 대해 자세히 알아보기

질문:

2023년 3월 1일

답변:

2023년 7월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by