Connecting to PX4_SITL over Serial

So i’m pretty new to everything related to drones and px4. For a school project i need to run a simulation of multiple drones. I’m using gazebo for this, running on a VM running Ubuntu 18.04.
I communicate with the drones through mavlink. I’ve written my own program in python which sends commands to the drones. This works to an extend.

My problem is i need to send the commands over Lora Peer2Peer, this is done through arduinos. So what i did was set up a mavsdk_server on a serial port, only it can’t find any drones because they are on UDP.

So my question is, how can i connect the mavsdk_server to px4_sitl over serial connection?


P.S. If this is not the right category to ask, please send me on my way to the right place.

Hello, did you find a solution to your problem?