How to use both pymavlink and qgroundcontrol simultaneously

#1

Hello, all.

I want to use both pymavlink and qgroundcontrol simultaneously.
So, in the following link https://www.ardusub.com/developers/pymavlink.html , there is a guide in the bottom.
However, I couldn’t get it.
Do I need to turn on mavproxy simultaneously…?
Or, do I need to give some option to qgroundcontrol?

Thank you

Command in the pymavlink website.

Create the connection
If using a companion computer
the default connection is available
at ip 192.168.2.1 and the port 14550
Note: The connection is done with ‘udpin’ and not ‘udpout’.
You can check in http:192.168.2.2:2770/mavproxy that the communication made for 14550
uses a ‘udpbcast’ (client) and not ‘udpin’ (server).
If you want to use QGroundControl in parallel with your python script,
it’s possible to add a new output port in http:192.168.2.2:2770/mavproxy as a new line.
E.g: --out udpbcast:192.168.2.255:yourport

#2

@ece_student You can run mavlink-router and direct the mavlink streams to different ports.

1 Like