I have multiple PX4 UAVs all configured to send telemetry data to my laptop’s IP on port 14550. Each drone has a unique MAV_SYS_ID, but I haven’t been able to successfully route traffic according to this ID.
Has anyone successfully filtered MAVLink messages based on MAV_SYS_ID before routing? I want to connect to drone 1 via mavsdk
on my 10.8.0.2
machine, and the same for drone 2 on my 192.168.0.123
laptop. (I’m testing with QGroundControl only for now skipping mavsdk
code to just debug networking/routing).
Right now I get both drones on both machines with mavlink-router running*.
[General]
# TcpServerPort=5760
ReportStats=true
# MavlinkDialect=auto
LogLevel=info
[UdpEndpoint drone1]
Mode=Normal
Address=10.8.0.2
Port=14548
AllowSrcSysIn=1
[UdpEndpoint drone2]
Mode=Normal
Address=192.168.0.123
Port=14550
AllowSrcSysIn=2
* Even this is only partially working as I don’t see any info under Vehicle Setup in QGroundControl, and a few seconds after connecting, I get this error every time: