SIM001

SIM001 › Ground control

Connecting to a real aircraft

The ground control console also talks to a real aircraft. It uses MAVLink, as Mission Planner and QGroundControl do, so it works with an aircraft that runs ArduPilot. Use this page after you can plan and fly a mission in the sim: see From plan to flight.

Do the first flights with a tool that you know, and with a safety pilot on the radio. The console is built for this sim and for the T1-S. It is not tested on other aircraft.

What you need

If your telemetry radio is a serial device, let MAVProxy pass it on. For example, mavproxy.py --master=/dev/tty.usbserial-0001 --baud=57600 --out=udp:127.0.0.1:14550 sends the telemetry to UDP port 14550 of your computer.

Start the console

Start the console alone, without --station. The sim and ArduPilot SITL do not start.

From source:

cd domains/teleoperation/console && cargo run --release -- --connect udpin:0.0.0.0:14550

--connect takes one of these addresses:

AddressUse it when
udpin:0.0.0.0:14550The aircraft, or MAVProxy with --out, sends telemetry to your computer on UDP port 14550
udpout:HOST:PORTThe console must send the first packet, for example to a telemetry bridge on Wi-Fi
tcpout:HOST:PORTThe link is a TCP server, for example ArduPilot SITL on tcpout:127.0.0.1:5760

The console shows LINK DOWN, in red, until it hears the aircraft. If the link drops, the console connects again by itself.

Put the map in the right place

The tactical map measures positions in metres from one point, the origin. Without an origin, the console uses the pilot box of the Alpine Valley, and your aircraft is not on the map.

Plan in the sim, fly at the field

  1. Plan the mission in the sim, on the map pack of your field, and fly it there first.
  2. Press SAVE. The console writes mission.wpl. See Mission files.
  3. At the field, connect to the aircraft. Press LOAD, and then UPLOAD.
  4. Press DOWNLOAD, and compare the solid line of the mission on the aircraft with your plan.

Mission Planner and QGroundControl read mission.wpl too.

What is different from the sim