← All tools

Message & Error Explainer

What an ArduPilot message means and what to do about it

Українська

The two GPS receivers report different places

Stops itGPS

What ArduPilot says:

With two receivers, ArduPilot measures the straight-line distance between the positions the first and the second report, height included, and refuses to arm at 50 m or more. The number in the message is that distance.

What to do, most likely first

  1. One of the receivers has a poor fix: just started, or its antenna is shaded.

    CheckCompare the satellite count and HDOP of GPS 1 and GPS 2 in the ground station.

    FixWait in the open until both have settled; give the weaker one a better place on the aircraft.

  2. The two agree on the map but not in height.

    CheckCompare the two altitudes. GPS height is far less exact than horizontal position, and a receiver with few satellites can be tens of metres off.

    FixWait for both to settle with a good satellite count. If one stays off, check its antenna and its settings.

  3. One receiver is disturbed by equipment mounted next to it.

    FixMove that receiver away from transmitters, cameras and power wiring.

Parameters to look at

ParameterWhat it is
GPS1_TYPEGPS type
GPS2_TYPEGPS type
GPS_AUTO_SWITCHAutomatic Switchover Setting
The code that sends it

PreArm: GPS positions differ by N.Nm

libraries/AP_Arming/AP_Arming.cpp AP_Arming::gps_checks() · Open in ArduPilot Copter-4.7.1

Written here for Copter 4.6. In the tool you choose your vehicle and version, see your own parameter values beside the ones named here, and drop a flight log to have every message in it explained.

Open it in the Message & Error Explainer