
AP-RTK X20D uses one u-blox ZED-X20D all-band receiver and two antennas for RTK positioning and heading. The STM32 forwards the receiver's position and heading plus separate RM3100 compass measurements over DroneCAN to the flight controller; yaw fusion belongs to the flight controller, not the peripheral MCU. Product images are renders of the enclosure design (case V1.1) with engraved port and LED names; the gallery also shows the R3 PCB CAD renders. Firmware 1.1.1 is supplied for engineering evaluation, not as production or flight-qualified firmware.

Listed from pin 1 (the Pinout image shows each connector as seen and marks pin 1; final R4 board, standard order): ① UART (5V · RX · TX · GND) · ② CAN (5V · CAN_H · CAN_L · GND) · ANT1 · ANT2 (MMCX). PPS/EVENT and DEBUG are on the board only; the case closes them.
| Type | Version | Date | Size | Download |
|---|---|---|---|---|
AP_Periph (DroneCAN update) Application binary for a DroneCAN update: Mission Planner DroneCAN screen → MAVlink-CAN1 → Update firmware (about 2.5 min expected). Mission Planner reports done after sending the last chunk; afterwards its DroneCAN screen shows Name AP-RTK X20D v1.1.1 and SW Version 1.1.1. Reports AMSL on the Korean KNGeoid24 geoid. | 1.1.1 | 2026-12-03 | 308 KB | AP-RTK_X20D-v1.1.1.bin SHA-256: 31316dc5f999a3e92f093d7d7e396474fcfa42fab69d158f35de62116aa5af9b |
AP_Periph (.apj package) Board ID 6205 application package for the catalog Web Updater → Firmware Update, or any ArduPilot-compatible uploader, over the X20D USB-C port. | 1.1.1 | 2026-12-03 | 341 KB | AP-RTK_X20D-v1.1.1.apj SHA-256: 0a2fd34b047cdd6b2c25cc79680d1d90a78e860985ea94c7157789eb578516e4 |
Bootloader + App (merged HEX) First-article image at 0x08000000 with the unchanged v1.0.5 bootloader, for the catalog Web Updater → DFU Recovery or SWD/ST-Link on a blank board. Raw DFU/SWD does not enforce board ID. | 1.1.1 | 2026-12-03 | 1024 KB | AP-RTK_X20D-v1.1.1_with_bl.hex SHA-256: 5c984a450407180a821556ba12bd7be13023fbfab0fe075a36894764e1d993a4 |
Release verification (JSON) File sizes and SHA-256 hashes, source patches, KNGeoid24 source and host checks (all 180,320 official geoid nodes exact), and the planned bench checks. Not a flashable image. | 1.1.1 | 2026-12-03 | 9 KB | AP-RTK_X20D-v1.1.1-verification.json SHA-256: 15b1c247de9f95a0b6a8ae59907509d10b8c96d8802554e80fabc25c345473cc |
AP_Periph (DroneCAN update) Previous release (rollback). Application binary for a DroneCAN update: Mission Planner DroneCAN → MAVlink-CAN1 → Update firmware (MAVCAN bench: 202 KB in 91–94 s). | 1.0.6 | 2026-09-22 | 202 KB | AP-RTK_X20D-v1.0.6.bin SHA-256: a3cebac9e31272eb0211065c70c1568d9af6bc13549abb8e1cc6bc519ed315b1 |
AP_Periph (.apj package) Board ID 6205 application package for the catalog Web Updater → Firmware Update, or any ArduPilot-compatible uploader, over the X20D USB-C port (bench: about 6 s). The peripheral answers the MAVLink reboot-to-bootloader command, so no button is needed. | 1.0.6 | 2026-09-22 | 202 KB | AP-RTK_X20D-v1.0.6.apj SHA-256: cb5dd563e7402711ab647a65e19e84fa42de9965196d94ab82c38868ed6d35b8 |
Bootloader + App (merged HEX) First-article image at 0x08000000 with the v1.0.5 bootloader, for the catalog Web Updater → DFU Recovery (🛠 Enter DFU works buttonless on this board) or SWD/ST-Link on a blank board. Raw DFU/SWD does not enforce board ID; verify X20D R3 hardware before programming. | 1.0.6 | 2026-09-22 | 731 KB | AP-RTK_X20D-v1.0.6_with_bl.hex SHA-256: 2ead38ac0865ab67d1c5db27fcaf67ccad5aa4f86a657feb463f38429619d5de |
Release verification (JSON) File sizes and SHA-256 hashes, source patches, bench results (heading through the flight controller moving-baseline path) and Windows build provenance. Not a flashable image. | 1.0.6 | 2026-09-22 | 8 KB | AP-RTK_X20D-v1.0.6-verification.json SHA-256: 11fac41410e6fc7a6ee122c8e07fc1bfe923e2c9c17c8a7c2980d34169fd2460 |
v1.1.1 (2026-12-03): inside Korea the node reports AMSL = ellipsoid height − KNGeoid24 (NGII national geoid, the official grid built in losslessly) instead of the receiver's low-resolution EGM96 — Seoul −43 cm, Incheon −52 cm, Jeju +23 cm, Ulleungdo −1.15 m. The node parameter GPS_GEOID = 0 restores the receiver value. No flight-controller change; keep GPS_DRV_OPTIONS bit 4 (16) off so the autopilot uses AMSL. From v1.1.1 the Mission Planner DroneCAN screen shows the version (Name AP-RTK X20D v1.1.1, SW Version 1.1.1). Bootloader unchanged. v1.0.6 stays listed for rollback. Heading works like AP-RTK dual: the X20D sends its ANT1 → ANT2 baseline (RelPosHeading) and the autopilot computes the heading from GPS1_MB_OFS — see Configuration (ANT1 front, the AP-RTK dual parameters). Earlier versions (v1.0.5 and before) reported heading with ANT1 at the rear. The receiver is moved to 230400 baud once and saved; boards with an older bootloader get the new one from Mission Planner's bootloader update over the X20D USB port. Native Windows GCC 10.2.1 build (Cygwin, no WSL). Product firmware string: novaX AP-RTK X20D v1.1.1; DroneCAN GetNodeInfo reports 1.1.1 (v1.0.6 and earlier reported the upstream AP_Periph numeric version 1.8). Board ID 6205; never substitute dual (1085) or G5H (6206) images. Raw DFU/SWD does not enforce board ID. The catalog Web Updater is enabled for this target over the USB-C port: Firmware Update takes the .apj (bench 2026-09-22: MAVLink reboot to bootloader, program, CRC match, 40 parameters preserved) and DFU Recovery takes the merged .hex (bench: buttonless 🛠 Enter DFU reached 0483:DF11 in 2.1 s, then erase, write and verify). The field path is a DroneCAN update with the .bin from Mission Planner's DroneCAN screen over MAVlink-CAN1 (not SLCAN, which takes over the flight controller link): 202 KB took 91–94 s on the bench; v1.1.1 (308 KB) about 2.5 min.


| Parameter | Value | Description |
|---|---|---|
| DroneCAN connection & heading | ||
CAN_P1_DRIVER | 1 | Enable the autopilot (H7E) CAN1 port (reboot required after change) |
CAN_D1_PROTOCOL | 1 | DroneCAN protocol on the CAN1 driver |
GPS1_TYPE | 9 | DroneCAN GPS. On firmware older than 4.6 the parameter is GPS_TYPE = 9 |
GPS_AUTO_CONFIG | 2 | Automatically configure the DroneCAN GPS |
GPS1_MB_TYPE | 1 | Enable dual-antenna moving baseline (unlocks the offsets below). Pre-4.6: GPS_MB1_TYPE = 1 |
GPS1_MB_OFS_X | 0.50 | Master(ANT1) is 0.50 m in front of Slave(ANT2) → +0.50 (positive = Master in front). Set to your measured separation. Pre-4.6: GPS_MB1_OFS_X |
GPS1_MB_OFS_Y | 0 | 0 on the centerline (positive = Master to the right of Slave). Pre-4.6: GPS_MB1_OFS_Y |
GPS1_MB_OFS_Z | 0 | 0 at equal height (positive = Master below Slave). Pre-4.6: GPS_MB1_OFS_Z |
EK3_SRC1_YAW | 3 | GPS yaw with compass fallback (use 2 for GPS-only yaw) |
AHRS_EKF_TYPE | 3 | Heading works only when AHRS uses EKF3 |
EK3_ENABLE | 1 | Enable EKF3 |
| Position offset · Master antenna → vehicle CoG (example — measure on your airframe) | ||
GPS1_POS_X | 0.25 | Master antenna fore/aft offset from the center of gravity in meters (positive = in front of CoG). Example: with the CoG at the midpoint of the 500 mm baseline, the front Master antenna is half the baseline ahead → +0.25 m. Pre-4.6: GPS_POS1_X |
GPS1_POS_Y | 0.00 | Lateral offset (positive = to the right of CoG). Example: the Master antenna sits on the airframe centerline (Figure 1), so 0. Pre-4.6: GPS_POS1_Y |
GPS1_POS_Z | -0.10 | Vertical offset (positive = below CoG). Example: the antenna is mounted 0.10 m above the CoG → −0.10 m. Pre-4.6: GPS_POS1_Z |
Recommended layout (Figure 1): ANT1 Master at the front, ANT2 Slave at the rear, both on the airframe centerline at equal height, with the baseline parallel to the flight direction (heading). The example below uses a 500 mm (0.50 m) separation. Parameter names follow ArduPilot 4.6+ (GPS1_…); the equivalent pre-4.6 names are noted in each row. Layout and parameters are the same as AP-RTK dual from X20D firmware v1.0.6: the X20D sends its ANT1 → ANT2 baseline (RelPosHeading) and the autopilot computes the heading from the offsets below. X20D firmware v1.0.5 and earlier reports heading with ANT1 at the rear and ignores these offsets. 1. Wiring — Connect the module's CAN port to the autopilot (H7E) CAN1 port with the supplied cable, as shown in Figure 1. The module is powered from the same connector (5 V). 2. Antenna mounting — Following Figure 1, mount ANT1 (Master) toward the nose and ANT2 (Slave) toward the tail on the centerline. Connect the cables by the port names engraved on the case — on the X20D the ANT1 port is the other MMCX connector than on AP-RTK dual. Keep at least 500 mm between antennas at equal height with a clear, unobstructed sky view (avoid windows and obstructions). A longer baseline gives a more accurate heading. 3. Offset parameters — Offsets run from the Slave to the Master antenna in body frame: +X = Master in front, +Y = Master to the right, +Z = Master below the Slave (see Figure 2 for the sign convention). For the recommended layout: GPS1_MB_OFS_X = 0.50, GPS1_MB_OFS_Y = 0, GPS1_MB_OFS_Z = 0. Set GPS1_MB_OFS_X to the separation you actually measured (in meters), then reboot the autopilot. If the offsets differ from the measured antenna separation by more than 20 %, the autopilot rejects the heading. 4. Heading check — In Mission Planner's flight data screen watch the gpsyaw value: rotate the airframe and confirm the reported heading follows. The onboard RM3100 compass is detected automatically over DroneCAN and serves as fallback (EK3_SRC1_YAW = 3); calibrate it in Mission Planner. 5. RTK corrections — Inject RTCM corrections from an RTK base station or an NTRIP (CORS) service via the ground station. Wait for the GPS status to reach RTK Fixed for centimeter-level positioning. 6. Antenna position offset (Position offset table) — The X20D reports its position at ANT1. Measure the Master (ANT1) antenna position relative to the vehicle's center of gravity and enter it in GPS1_POS_X/Y/Z (pre-4.6: GPS_POS1_X/Y/Z): +X forward, +Y right, +Z below the CoG. The table values (0.25 / 0.00 / −0.10) are only an example for the Figure 1 layout — Master on the centerline, 0.25 m (half the 500 mm baseline) ahead of a CoG at the baseline midpoint, antenna 0.10 m above it — so measure your own airframe. This improves position accuracy and is independent of the heading offsets in step 3.

