Step 1: Setup Serial

With ArduPilot:

  • SERIAL2_BAUD (Default 57, it means 57600)
  • SERIAL2_PROTOCOL: 2 ( mavlink 2)

Step 2: Set SYSID_THISMAV

Each vehicle’s flight controller set an unique SYSID_THISMAV.

For example: we have 3 Drones, we set:

  • Drone A with SYSID_THISMAV = 1
  • Drone B with SYSID_THISMAV = 2
  • Drone C with SYSID_THISMAV = 3

After that, we need RESET Pixhawk for affect Parameter.

Step 3: Connect Pixhawk to Raspberry Pi

You need 3 Raspberry Pi with 3 Account for 3 Drone

  • Drone A – SYSID_THISMAV 1 - XB account A
  • Drone B – SYSID_THISMAV 2 - XB account B
  • Drone C – SYSID_THISMAV 3 - XB account C

Step 4: Connect to XBStation ThirdParty

Open 3 XBStation ThirdParty Application, login and connect

On Telemetry setting, creating 3 different telemetry Ports

Ex:

  • Drone A – SYSID_THISMAV 1 - XB account A – Port 5760
  • Drone B – SYSID_THISMAV 2 - XB account B – Port 5761
  • Drone C – SYSID_THISMAV 3 - XB account C - Port 5762

Step 5.1: Multiple Vehicles with QgroundControl

Video tutorials: https://youtu.be/I_kRqdFV9_c

Create 3 TCPLinks with host address: 127.0.0.1, TCP port: 5760, 5761, 5762, then connect 3 TCP Links

Step 5.2: Multiple Vehicles with MissionPlanner

Video tutorials: https://youtu.be/0mGlKikkyz4

At field telemetry settings: you will see 3 different telemetry Ports, in my case, I have 3 telemetry ports: 5760, 5761, 5762

Open “Multiple Vehicles” tab, input in field telemetry connections: 127.0.0.1:5760;127.0.0.1:5761;127.0.0.1:5762

Click “Start” button

Open MissionPlanner -> connect -> TCP -> 127.0.0.1 -> port 7777