Questions about sitl mavlink forwarding

Hello,
I am using a ubuntu wsl to generate a sitl vehicle and connect to Mission Planner in windows, both in same machine, using tcp:127.0.0.1:5762 or 5763. I have a raspberry pi in the same wifi network and I want to connect a script using this same ip(tcp:127.0.0.1:5762). I tried differents connection string to connect to but I still can’t connect, can somebody explain which should be the right adress my script should be using?

Just to make sure I am clear, my problem is not connecting the mavlink stream to raspberry, I discovered I could just connect the MP to sitl, and then forward the stream using the CRTL-F and Mavlink option from MP. I am trying to learn how to directly connect the raspberry with sitl in my wsl and gain a better understanding of these connections.

1 Like