Skip to content

Moving Baseline Configuration

Moving Baseline is a dual-antenna technique that derives accurate heading (yaw) from two GPS modules on the same vehicle, without relying on the magnetometer. The Orbit Neo Plus supports this feature via its u-blox ZED-F9P chipset and DroneCAN interface.

Overview

Two Orbit Neo Plus units are required — one acts as the Base and the other as the Rover. Both are connected to the flight controller over the same CAN bus. The Base transmits RTCM correction data to the Rover, which computes the precise vector between the two antennas to derive the vehicle’s heading.

Orbit Neo Plus Mounting Example

Antenna Placement Requirements

Important: Correct physical placement is critical for accurate heading.

  • Both antennas must be separated by at least 30 cm — greater separation yields better heading accuracy
  • Mount both units at the same height on the vehicle
  • Orient both units with their connectors pointing in the same direction
  • Align them front-to-back along the vehicle’s 0° yaw axis (forward direction) for the simplest offset configuration
  • Both Orbit Neo Plus units must be on the same CAN bus — use a CAN splitter if needed

Setting Up with ArduPilot Firmware

Prerequisites

  • ArduCopter / ArduPilot firmware 4.1.5 or higher
  • u-blox ZED-F9P firmware 1.3.2 or higher (pre-installed on Orbit Neo Plus)
  • Two Orbit Neo Plus units
  • A CAN bus splitter

Connection

  1. Connect both Orbit Neo Plus units to the same CAN bus on the flight controller using a CAN splitter
  2. Power the flight controller and connect to Mission Planner

CAN Bus Parameters

Navigate to Config > Full Parameter List and set:

ParameterValueDescription
CAN_D1_PROTOCOL1Enable DroneCAN on CAN1
CAN_P1_DRIVER1Enable CAN1 driver

GPS Type Parameters

ParameterValueDescription
GPS1_TYPE22DroneCAN moving baseline Base
GPS2_TYPE23DroneCAN moving baseline Rover
GPS_AUTO_CONFIG2Enable auto-configuration for DroneCAN GPS (required for Moving Baseline)
GPS_DRV_OPTIONS8Route RTCM data between the two units via CAN

EKF and Yaw Source Parameters

ParameterValueDescription
AHRS_EKF_TYPE3Use EKF3
EK2_ENABLE0Disable EKF2
EK3_ENABLE1Enable EKF3
EK3_SRC1_YAW2GPS yaw (use 3 for GPS with compass fallback)

Note: Do not set GPS_AUTO_SWITCH to 2 (Blend) when using Moving Baseline — it is incompatible with this configuration.

Antenna Position Offsets

Set the physical position of each antenna relative to the vehicle’s center of gravity (in meters, FRD frame):

ParameterDescription
GPS1_POS_XBase antenna offset — forward (+) / backward (−)
GPS1_POS_YBase antenna offset — right (+) / left (−)
GPS1_POS_ZBase antenna offset — down (+) / up (−)
GPS2_POS_XRover antenna offset — forward (+) / backward (−)
GPS2_POS_YRover antenna offset — right (+) / left (−)
GPS2_POS_ZRover antenna offset — down (+) / up (−)

Tip: GPS1_CAN_NODEID and GPS2_CAN_NODEID show the auto-assigned node IDs after boot. Use GPS1_CAN_OVRIDE and GPS2_CAN_OVRIDE to manually assign which physical unit is Base and which is Rover if needed.

Completing Setup

  1. Click Write Params after all parameters are set
  2. Reboot the flight controller
  3. Point the vehicle at a distant landmark and verify the heading in Mission Planner matches the physical orientation

Setting Up with PX4 Firmware

Prerequisites

  • PX4 firmware 1.12.3 or higher
  • Two Orbit Neo Plus units
  • A CAN bus splitter

Connection

  1. Connect both Orbit Neo Plus units to the same CAN bus using a CAN splitter
  2. Connect to QGroundControl

Enable DroneCAN

ParameterValueDescription
UAVCAN_ENABLE2Enable DroneCAN with dynamic node allocation

Per-Node GPS Configuration

In QGroundControl, navigate to Vehicle Setup > Parameters > DroneCAN and locate each detected ZED-F9P node under its component ID. Configure the following for each node:

On the Base node:

ParameterValueDescription
GPS_TYPE17Moving baseline Base
GPS_AUTO_CONFIG1Enable auto-configuration

On the Rover node:

ParameterValueDescription
GPS_TYPE18Moving baseline Rover
GPS_AUTO_CONFIG1Enable auto-configuration

Set GPS_POS_X, GPS_POS_Y, GPS_POS_Z on each node to reflect the antenna’s physical offset from the autopilot (FRD frame, in meters).

Autopilot Parameters

ParameterValueDescription
UAVCAN_SUB_GPS_R1Subscribe to GNSS relative data from the Rover
EKF2_GPS_CTRL15Enable dual antenna heading fusion
EKF2_GPS_YAW_OFF0Angle (degrees, clockwise) from Base to Rover — 0 if Rover is directly in front of Base, 90 if Rover is to the right, 180 if behind, 270 if to the left

Completing Setup

  1. Write all parameters and reboot the flight controller
  2. Wait for both units to acquire a GNSS fix
  3. Verify in QGroundControl that the main GPS enters RTK mode and heading is shown as valid

Verification

Once configured on either firmware:

  • The RTK Status LED on both units should indicate a Fixed RTK lock
  • The heading reported by the GCS should remain stable and consistent with the vehicle’s physical orientation
  • Slowly rotate the vehicle and confirm the heading tracks correctly without compass input