A/B line drift between passes — lever arm, implement offset and antenna position

We’re UAV GNSS, a Septentrio receiver maker, and “my A/B lines drift a few centimetres between passes” is one of the most common setup problems AgOpenGPS builders bring to us. The receiver is usually not the culprit — here is the order we debug it in.

1. Lever arm, not position, is what you steer. The antenna sits somewhere on the cab; the implement (or the section valves) sit metres behind and to the side. AOG translates one into the other using heading plus an offset, so a 2° heading error at a 3 m lever arm is already ~10 cm of lateral error — before any GNSS error enters the picture. Measure the antenna offset (fore/aft, left/right, height) to the centimetre, and re-check it after any mechanical change.

2. Heading source quality. A magnetometer-based heading is bent by motor currents, steel frames and fences — 5-30° swings are normal on an electric vehicle, and through the lever arm they translate straight into line error. Dual-antenna GNSS heading measures the direction of a physical carrier-phase baseline between two antennas, so it is immune to magnetic interference. If you run a single receiver, at least log the heading source during a pass and watch it.

3. Fix state at the moment of recording. If RTK was fixed when you recorded the line but floats during the pass (or wanders at section boundaries), the line is fine and the execution is not. Log fix status and correction age continuously; only trust a line recorded in fixed.

4. Base movement and repeatability. A base nudged a few centimetres shifts the whole field for every later session. Fixed/surveyed base coordinates and a solid tripod matter more than most people expect.

5. Section timing and look-ahead. On a CAN/section-control build, the switch point is where the receiver thinks the implement is — so an offset error shows up as a section that starts a metre late, not as a curved line. If drift grows with speed, suspect latency and look-ahead before mechanics.

Do your drifts correlate with turns (that points at heading/lever arm) or with specific parts of the field (that points at RF or multipath)? That distinction usually names the cause.

1 Like

I have a septentrio mosiac p3h that im struggling to get to work reliable in dual mode

It’s very sensitive to rtk fix and when it looses rtk fix the roll goes crazy and takes a good few seconds after to stabilise.

Any pointers or a known configuration that works with agopengps?

Roll going wild exactly when RTK drops is the classic dual-antenna symptom, and it is usually configuration rather than a faulty receiver: both heading and roll come from the carrier-phase baseline, so when the receiver leaves fixed the baseline vector error grows from millimetres to decimetres and the attitude solution follows it.

What I would check, in the order that usually finds it:

  1. Is AOG actually getting heading from HDT, or falling back to course-over-ground? Park it, do not move, and watch the heading value. If heading only changes while driving, HDT is not being parsed and AOG is using VTG/COG - at low speed that is noise, and any roll derived from it will swing. Make sure the port AOG reads is emitting HDT plus RMC and GGA at 10 Hz.

  2. Antenna order and baseline length. Master/primary is normally the front-right antenna, secondary rear-left. Swapped order gives a 180 degree heading error; a baseline value in the receiver config that does not match the real separation scales the error. Measure centre-to-centre and enter that number.

  3. Rigidity. Any flex in the mast shows up directly as roll oscillation and can cost the pair its fixed baseline. Two antennas on one rigid plate is the reliable arrangement.

  4. Ground planes. Both antennas need a metal plane underneath, roughly 70-100 mm or more. Roll degrades before heading does when the secondary antenna is badly grounded, because the baseline error projects into roll first.

  5. Behaviour on the fallback. Configure AOG to fall back to the IMU for roll rather than trusting a float attitude, and to hold the last heading briefly instead of snapping. A few seconds of re-convergence after regaining fix is normal.

One more thing worth separating: does it lose fix anywhere, or only in specific parts of the field? If it is location-specific, treat it as an interference/RF problem (power lines, electric fences, cell sites) rather than a dual-antenna problem - a Septentrio SBF log with the QualityInd block will show jamming and interference indicators if you can capture one.

Which port is AOG connected to, at what baud, and does the fix drop in open sky or only in certain spots?

1 Like

Thanks for your reply

Ive both both bynav and um982 going in dual with the same setup so pretty sure the hardware is ok . Using triple band antennas and they are 186cm apart. This is set in aog not on the configuration

I currently have the mosiac configured for GGA VTG HDT AVR messages at 10hz. (Thess are shown in aog)

Heading offset 90

Positioning mode Altitude

Antenna type multi antenna

Vd4x enabled

Multi antenna mode float and fixed

Rover mode on and 'all enabled

Positioning set to float and fixed

Once powered up im getting heading and roll. Rtk fix is also quick to establish

When driving the roll seems stable but as soon as 1 antenna is even slightly shaded it drops rtk instantly and the roll value goes completely off the scale. Rtk fix resumes but takes a long time for the roll to stabilise

Im pretty certain its just a configuration issue.

Do you have a configuration that will work with aog i can try?

That combination explains it - and you’re right, it is configuration rather than hardware. Two things in your list stand out.

1. “Multi antenna mode: float and fixed” is the main cause of the roll going off the scale.

In that mode the receiver keeps publishing an attitude solution while the baseline is only float. A float attitude is not a slightly wrong roll - the baseline vector can be tens of degrees out, and the message still carries a heading and roll that look plausible to AOG. Set the multi-antenna/attitude mode to fixed only, so the receiver stops outputting attitude the moment the baseline loses its fix. AOG then holds its last good roll (or uses the IMU) instead of steering on garbage. Same logic for positioning if you can live with it: fixed only is honest about when there is no solution.

2. The 186 cm baseline is set in AOG but not in the receiver.

AOG’s antenna setting maps the position to the implement; it tells the receiver nothing. The mosaic computes roll/pitch/heading from the geometry it is given - main/aux antenna offsets in x, y and z plus the baseline length. Left at default, it is working from the wrong lever arms, and the sign and scale of roll depend on that. That is exactly the kind of error that looks fine while fixed and then explodes on fix loss. Enter the real antenna offsets in the receiver, set the receiver’s own attitude offset to 0, and keep the 90 degree heading offset in AOG where you have it now.

3. Message rate.

10 Hz AVR is slow for roll compensation on a moving vehicle - the correction lags the body motion. Push the attitude output (AVR/HDT, or SBF AttEuler if you are logging) to 20-50 Hz on that port. GGA at 10 Hz is fine.

4. One antenna shaded means no baseline.

Dropping out when a single antenna is shaded is expected on dual-antenna RTK - it is a baseline solution and it needs both antennas. That part is an install issue: raise both antennas, give each a proper ground plane, keep them out of the cab and mast shadow, and check per-antenna C/N0 so you know which one is being shadowed. If your mast or cab roof flexes, enable the receiver’s baseline-length check: configure the true 1.86 m and it will flag the solution instead of publishing a bent baseline as valid.

On ground vehicles most people end up using GNSS for yaw and the IMU for roll compensation - GPS roll is only ever as good as the rigidity of that baseline.

What do the attitude covariance figures show during a dropout (AttCovEuler, or the std-dev fields in the AVR message) - a clear jump just before the roll goes wild, or clean numbers right up to the moment it jumps?

Thanks

Im trying to use the mosiac p3h in dual mode only so no imu fall back.

The antenna offset 90 or possibly-90 i enabled on the mosiac side so left at 0 in AOG. The tilt side of it was working correctly

Not sure if the teensy firmware can cope with anything more than 10hz without altering it.

I’ll try altering my settings to fix only

Thanks - that rules out most of the usual suspects, and the detail about no IMU fallback changes the recommendation slightly, so let me be precise about the trade-off.

1. “Fixed only” with no IMU fallback

My earlier advice (set multi-antenna mode to fixed only) is still right, but with no IMU fitted you need to know what happens next: during a float period the receiver publishes no attitude at all, so AOG keeps the last roll value it received. On flat ground that is harmless - a stale roll of half a degree is indistinguishable from a fresh one. On a side slope it is not: AOG keeps steering to the old roll while the vehicle is actually tilted, and cross-track error grows until the baseline re-fixes.

So the real choice is: junk attitude during float (roll “off the scale”), or stale attitude during float (quietly wrong on slopes). Fixed-only is the lesser evil because it fails predictably instead of steering on garbage. If you regularly work ground with real side slope, the honest answer is that dual-antenna-only has no second roll source - a cheap IMU (BNO08x on the Teensy, or AOG’s IMU option) is what gives you a fallback. For flat work, fixed-only plus fixing the shading cause is enough.

2. The 90 degree offset - verify the sign, don’t guess

Leaving AOG at 0 and applying the correction in the receiver is the right structure (one place for the offset, not two). But “90 or possibly -90” needs to be settled by measurement: drive a straight line on open ground and compare HDT with COG from VTG. If heading reads consistently COG plus 90, your offset needs to be minus 90. Two clues worth remembering:

  • an error of 90 degrees is a mounting rotation;
  • an error of 180 degrees is the main and auxiliary antennas swapped - swapping which connector is primary is the fix, not the offset.

Also re-check that the receiver still reports the baseline as ~1.86 m after any antenna-offset change; if the configured offset vector and the physical mounts disagree, the attitude solution degrades even while fixed.

3. 10 Hz is not your bottleneck

AOG’s steering loop is built around a 10 Hz cycle (100 ms), so feeding the Teensy 20-50 Hz attitude frames buys very little - the firmware consumes them at loop rate and you mostly add parser load. 10 Hz GGA/VTG is correct, and 10 Hz HDT/AVR adds roughly 25-75 ms of roll latency, which is negligible in field work. Don’t chase the rate; spend the effort on not losing the fix.

4. What to look at when an antenna gets shaded

The useful diagnostic is when it happens. If dropouts cluster at particular headings (always one end of the field, or whenever the implement is on a specific side), that is the mast or cab shadowing one antenna, not an RF-environment problem. At the moment of dropout, watch per-antenna C/N0 and the attitude standard deviation (AttCovEuler, or the AVR std-dev fields): if one antenna’s C/N0 collapses while the other stays healthy, it is mechanical - raise both antennas above the cab/roof line, make sure both ground planes are the same size, and check the mast for flex under load.

One question that would narrow it down: do the dropouts happen at random spots across the field, or are they repeatable at the same place and heading? Repeatable means install geometry. Random means RF environment, and then the SBF quality and jamming indicators are worth logging alongside.