Skip to content

Commit

Permalink
Dev: sitl swarming explains how to forward mavlink between vehicles
Browse files Browse the repository at this point in the history
  • Loading branch information
rmackay9 authored and Hwurzburg committed Dec 18, 2024
1 parent 228cb9f commit 4f173ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dev/source/docs/using-sitl-for-ardupilot-testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -227,11 +227,13 @@ When using a swarm offset line, the option ``--auto-offset-line 90,10`` will spa
vehicles out at a line with heading of 90 degrees orientation. The vehicles will be spaced 10
meters apart. Thus, they will be spread out east-west.

To send all mavlink data between the vehicles add ``--mcast``.

Putting it all together for five Copter vehicles on an auto-offset-line at CMAC:

::

sim_vehicle.py -v Copter --map --console --count 5 --auto-sysid --location CMAC --auto-offset-line 90,10
sim_vehicle.py -v Copter --map --console --count 5 --auto-sysid --location CMAC --auto-offset-line 90,10 --mcast


The other way to spawn the vehicles is the swarm configuration file.
Expand Down

0 comments on commit 4f173ee

Please sign in to comment.