Skip to content

Dead Reckoning

Dead reckoning (DR) uses inertial measurement unit (IMU) data to estimate position when GNSS signals are unavailable — in tunnels, parking garages, and dense urban canyons.

VariantDRRTKSensor Inputs
LC29H(BA)YesYesIMU, wheel tick, CAN bus
LC29H(CA)YesNoIMU, wheel tick

The BA variant combines DR with RTK for centimeter-level positioning that persists through GNSS outages. The CA variant provides DR-only — maintaining position continuity without RTK corrections.

Set the positioning mode via PQTMCFGDRMODE:

$PQTMCFGDRMODE,W,2*CS
ModeDescription
0GNSS only — inertial sensors ignored
1DR only — GNSS signals ignored
2GNSS+DR auto (recommended) — fuses both sources

Mode 2 seamlessly transitions between GNSS and DR as signal conditions change.

External wheel tick (odometer pulse) input improves DR accuracy by providing ground-truth speed:

$PQTMCFGWHEELTICK,W,1,20,2.0000*CS
ParameterDescription
enabled0 = disabled, 1 = enabled
ticks_per_revPulses per wheel revolution
circumferenceWheel circumference in meters

The LC29H(BA) can read vehicle speed and wheel tick data directly from the CAN bus:

$PQTMCFGCAN,W,1,500000*CS Enable CAN at 500 kbaud
$PQTMCFGCANFILTER,W,0,0x123,0x7FF*CS Filter for specific message ID

Vehicle DBC (CAN database) mapping defines how to extract speed and direction signals from CAN frames:

$PQTMCFGVEHDBC,W,<dbc_config>*CS
  1. Initial calibration drive — After power-on, drive normally with good GNSS signal for 5–10 minutes. The module auto-calibrates its IMU during this period.

  2. Drive patterns — Include straight-line segments, turns, and stops for comprehensive IMU alignment.

  3. Verify calibration — Enable extended INS status to monitor calibration progress:

    $PQTMCFGEINSMSG,W,1*CS
  4. Save parameters — Once calibrated, save to persist across power cycles:

    $PQTMSAVEPAR*5A
FactorImpact
Calibration qualityMost important — drive with GNSS before entering tunnels
Wheel tick inputMajor improvement for extended outages
Vehicle typeCars and trucks calibrate better than bicycles
Outage durationDR accuracy degrades over time (~1–2% of distance traveled)
Temperature stabilityIMU drift increases with rapid temperature changes

DR positioning through GNSS outage