This tutorial will cover how to configure MissionPlanner and QGroundControl to send base station RTK corrections to the autopilot. The instructions have been tested with simpleRTK2B, simpleRTK2Blite and simpleRTK3B GNSS receivers.
If you want to use a NTRIP service, please check this tutorial.
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.