This tutorial covers how to configure MissionPlanner and QGroundControl to send RTK base station corrections to the autopilot. The instructions have been tested with simpleRTK2B, simpleRTK2Blite and simpleRTK3B GNSS receivers.
If you want to use a NTRIP service, check this tutorial.
If you want to know how to connect a Heading kit to autopilot and configure them to receive external corrections, take a look at ArduSimple’s tutorial How to connect simpleRTK2B Heading to ArduPilot with external RTK corrections.
Required hardware:
- simpleRTK2B – Basic Starter Kit
- 2 x USB to micro-USB cable
- Holybro Pixhawk4 (you can use your preferred autopilot)
- a PC or laptop
Required software:
- Mission Planner or QGroundControl
- RTKlib strsvr (Only in case of QGroundControl)
- MAVProxy (Only in case of QGroundControl)
How to send RTK base station corrections to ArduPilot with Mission Planner, QGroundControl and MAVProxy?
- Configure your GNSS receiver as a base station. If you don´t know how to do it, follow ArduSimple’s tutorial How to configure simpleRTK2B as static base station.
If you have a simpleRTK3B, you can follow this tutorial to configure it as a base station. - Connect your GNSS antenna to your receiver. Make sure the antenna is in a location with good view of the sky.
- Connect the autopilot to your PC using USB cable or radio telemetry link.


With Mission Planner the process is extremely easy, the instructions are the same for simpleRTK2B, simpleRTK2Blite (u-blox ZED-F9P) and simpleRTK3B (Septentrio Mosaic X5) receivers.
- Open Mission Planner and connect to your autopilot as usual via COM port.
- Go to SETUP–>Optional Hardware–>RTK/GPS Inject.
- Select the COM port where your GNSS base station is connected to and set the proper baudrate.
- Now you can connect your Heading kit to your autopilot by following the tutorial How to connect simpleRTK2B Heading to ArduPilot with external RTK corrections?
Then go back to the main screen of Mission Planner. Here, you will see both the base station position and your Ardupilot GNSS position.
QGroundControl detects automatically both the simpleRTK2B and simpleRTK3B boards (not simpleRTK2Blite), connected via USB to the same computer as QGroundControl runs.
It configures automatically the receiver and starts streaming corrections to the GNSS receiver mounted on the Autopilot.
We have tested the automatic configuration and the behavior is not always the expected one, so in this tutorial we will show an alternative method that also supports simpleRTK2Blite receivers as base stations and works 100% of the time.
With Mission Planner the process is extremely easy, the instructions are the same for simpleRTK2B, simpleRTK2Blite (u-blox ZED-F9P) and simpleRTK3B (Septentrio Mosaic X5) receivers:
- Configure your GNSS receiver as a base station
- Connect the GNSS receiver to your PC
- Connect the autopilot or radio telemetry link to your PC
- Open Mission Planner and connect to your autopilot as usual
- In Mission Planner, go to SETUP >> Optional Hardware > RTK/GPS Inject
- Select the COM port where your GNSS base station is connected to and set the proper baudrate
- Click Connect button
- If everything is correct, you will see a summary of GPS signal status and generated RTCM messages as well as your GNSS base station position on the map
- The GNSS receiver connected to your autopilot will receive RTCM corrections and enter into fixed/float RTK mode
When you go back to Mission Planner main screen you will see the base station position as well as your Ardupilot GNSS position:
QGroundControl detects automatically both the simpleRTK2B and simpleRTK3B boards (not simpleRTK2Blite), connected via USB to the same computer as QGroundControl runs.
It configures automatically the receiver and starts streaming corrections to the GNSS receiver mounted on the Autopilot.
We have tested the automatic configuration and the behavior is not always the expected one, so in this tutorial we will show an alternative method that also supports simpleRTK2Blite receivers as base stations and works 100% of the time.
Apart from QGroundControl, you will need to install the following (free) applications:
- Connect the autopilot or radio telemetry link to your PC
- Open QGroundControl
- Go to main menu > Application Settings > General > AutoConnect to the following devices > Unselect RTK GPS
- Configure your GNSS receiver as a base station
- Connect the GNSS receiver to your PC
- Run STRSVR application
- Select (9) Input as Serial port, click Opt … button
- Set Port to the COM port of your GNSS receiver base station
- Set Bitrate (bps) to your GNSS receiver baudrate, click OK
- Select (1) Output as NTRIP Caster, click Opt … button
- Set Port, for example 2101
- Set Mountpoint, for example TEST
- You can leave UserID and Password empty, click OK
- Click Start
- Run MAVProxy
- Go to Link > Add > Serial > Select the telemetry link or autopilot COM port and baudrate. If connection is ok, your MAVProxy screen should look like this:
- Open MAVProxy terminal window
- Type:
module load ntrip
ntrip set caster 127.0.0.1
ntrip set port 2101
ntrip set mountpoint TEST
ntrip start - After this step, STRSVR should look like this:
- The GNSS receiver connected to your autopilot will receive RTCM messages from your base station automatically and enter RTK fix/float mode.