Skip to content

Use mavlink-router in the ground image to merge and split MAVLink telemetry#33

Merged
JacopoPan merged 10 commits intomainfrom
feat/mavproxy_gnd_split
Jan 27, 2026
Merged

Use mavlink-router in the ground image to merge and split MAVLink telemetry#33
JacopoPan merged 10 commits intomainfrom
feat/mavproxy_gnd_split

Conversation

@JacopoPan
Copy link
Copy Markdown
Owner

@JacopoPan JacopoPan commented Jan 20, 2026

Before

  • 2xN MAVLink streams from the simulation-container to the ground-container on ports 1454x (for ground_system) and 1455x (QGC)

After

  • 1xN MAVLink streams from the simulation-container to the ground-container on ports 1654x
  • added 1 more instance of mavlink start to PX4-Autopilot/ROMFS/px4fmu_common/init.d-posix/px4-rc.mavlink
  • 1 instance of mavlink-routerd in the ground-container combining N streams and splitting them in 2 to ports 18540 (for ground_system) and 14550 (QGC) as if they were all coming from 1 serial telemetry radio

TODO

  • re-implement ground_system.cpp to be single threaded in deployment
  • combine multiple udp streams into a single stream as with a serial telemetry radio
  • test with GND_CONTAINER=false and >10 drones
  • test virtual joystick with multiple vehicles
  • stress test performance
  • test missions

Notes

  • reduced simulation/deployment gap
  • this makes ground_system single threaded instead of having N threads
  • we use mavlink-router instead of mavproxy to be able to support the QGC virtual joystick for multiple vehicles
  • it does not impact the Gymnasium RL environment as it does not uses the ground-container

@JacopoPan JacopoPan added the enhancement New feature or request label Jan 21, 2026
@JacopoPan JacopoPan changed the title Use mavproxy in the ground image to split a single MAVLink telemetry Use mavproxy in the ground image to merge and split MAVLink telemetry Jan 26, 2026
@JacopoPan JacopoPan self-assigned this Jan 26, 2026
@JacopoPan JacopoPan changed the title Use mavproxy in the ground image to merge and split MAVLink telemetry Use mavlink-router in the ground image to merge and split MAVLink telemetry Jan 26, 2026
@JacopoPan JacopoPan merged commit fd226ea into main Jan 27, 2026
10 checks passed
@JacopoPan JacopoPan deleted the feat/mavproxy_gnd_split branch January 27, 2026 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant