An inertial navigation system reports a position. This subsection follows that number down to the instrument and finds that the instrument measures a different quantity, and that converting the one into the other requires a model no measurement supplies.
The KITTI raw recordings carry an OXTS RT3003 GNSS/INS unit. Its dataformat.txt lists fields \(12\)–\(14\) as ax ay az, “acceleration in x/y/z”, and fields \(15\)–\(17\) as af al au, “forward/leftward/upward acceleration”. Neither description says whether gravity has been removed.
Drive 2011_09_30_drive_0027 contains \(1106\) records at \(9.99\) Hz over \(114.8\) s, of which \(71\) (\(6.4\%\)) have a ground speed below \(0.12\) m/s. During those records the vehicle’s acceleration is zero.
| Field | Mean \(|a|\) at rest [m/s\(^2\)] | Mean \(z\) | sd \(z\) |
| ax ay az | \(9.8182\) | \(+9.8076\) | \(0.0384\) |
| af al au | \(9.8182\) | \(+9.8116\) | \(0.0422\) |
A stationary vehicle is not accelerating at \(9.82\) m/s\(^2\). The channel is reading gravity. What an accelerometer measures is specific force,
This is the same operation as the sky model of §617, with the sign reversed: there a model was added to make counts positive, here a model is subtracted to make an acceleration appear.
The trajectory against which everything is compared comes from latitude, longitude and altitude, converted to metres through a radius model:
| Radius model | Path length [m] | Range at end [m] | vs WGS-84 |
| sphere, \(R = 6371\) km | \(691.1\) | \(9.4\) | \(-0.02\) |
| sphere, \(R = 6378\) km | \(691.9\) | \(9.4\) | \(-0.01\) |
| WGS-84 local radii | \(692.2\) | \(9.4\) | \(0.00\) |
| GRS-67 equatorial | \(691.9\) | \(9.4\) | \(-0.01\) |
Over \(692\) m the choice costs a few centimetres, which is small. It is proportional to baseline, so it is not small everywhere: the same spread reaches metres over hundreds of kilometres. It is recorded here because the quantity called “truth” in what follows is itself the output of a chosen ellipsoid.
| Model | \(g\) [m/s\(^2\)] | \(\Delta g\) | After \(10\) s [m] | After \(115\) s [m] |
| \(9.8\), rounded | \(9.80000\) | \(-0.01000\) | \(0.500\) | \(66.0\) |
| \(9.81\), common | \(9.81000\) | \(0.00000\) | \(0.000\) | \(0.0\) |
| \(9.80665\), standard | \(9.80665\) | \(-0.00335\) | \(0.168\) | \(22.1\) |
| WGS-84 at \(48.99^\circ \) | \(9.80980\) | \(-0.00020\) | \(0.010\) | \(1.3\) |
| WGS-84, free air at altitude | \(9.80944\) | \(-0.00056\) | \(0.028\) | \(3.7\) |
| EGM anomaly \(-30\) mGal | \(9.80950\) | \(-0.00050\) | \(0.025\) | \(3.3\) |
| EGM anomaly \(+30\) mGal | \(9.81010\) | \(+0.00010\) | \(0.005\) | \(0.6\) |
| mean of the static records | \(9.81819\) | \(+0.00819\) | \(0.409\) | \(54.0\) |
Position error from a gravity error grows as \(\Delta p = \tfrac {1}{2}\,\Delta g\, t^2\), so the difference between two published constants is \(66\) m of vertical error over this two-minute drive.
The last row of that table is the one that matters. Estimating the accelerometer bias from the static records gives
The consequence appears in the propagation below. Varying the gravity model across all seven published values moves the three-dimensional error by \(1.7\) m, not by \(66\) m, because the bias estimate absorbs most of it and what remains is vertical while the dominant error is horizontal. The gravity model is therefore not a separate declaration that can be checked. It is a relabelling of the bias.
Levelling recovers roll and pitch from the direction of the gravity vector. Yaw is perpendicular to it and would have to come from gyrocompassing, which requires resolving Earth’s rotation against gyro noise:
| Quantity | Value |
| Earth rotation rate | \(7.292 \times 10^{-5}\) rad/s |
| gyro noise at rest, sd | \(4.451 \times 10^{-3}\) rad/s |
| ratio | \(61.0\) |
The gyro is \(61\) times noisier than the signal it would have to detect. Yaw is not measured. In KITTI it is supplied by a GNSS baseline, that is, by a different instrument entirely; a stand-alone inertial unit would declare it.
Strapdown propagation from the raw channels, with a single declaration changed at a time. Errors are against the GNSS/INS reference, in metres.
| Configuration | \(5\) s | \(10\) s | \(30\) s | \(115\) s |
| baseline: INS attitude, static bias, \(g=9.81\) | \(1.1\) | \(4.5\) | \(69.1\) | \(1542.5\) |
| levelled, yaw declared \(0^\circ \) | \(5.1\) | \(23.8\) | \(144.6\) | \(1912.4\) |
| levelled, yaw declared \(+90^\circ \) | \(19.0\) | \(87.5\) | \(324.3\) | \(1832.0\) |
| levelled, yaw declared \(180^\circ \) | \(22.0\) | \(100.5\) | \(344.6\) | \(1930.3\) |
| levelled, yaw declared \(-90^\circ \) | \(12.1\) | \(55.0\) | \(185.7\) | \(2006.8\) |
| yaw off by \(1^\circ \) | \(1.0\) | \(4.1\) | \(69.9\) | \(1541.1\) |
| yaw off by \(5^\circ \) | \(0.9\) | \(4.5\) | \(74.4\) | \(1535.2\) |
| gravity \(9.8\) | \(1.1\) | \(4.5\) | \(69.0\) | \(1544.2\) |
| gravity \(9.80665\) | \(1.1\) | \(4.5\) | \(69.0\) | \(1542.8\) |
| gravity WGS-84 at \(48.99^\circ \) | \(1.1\) | \(4.5\) | \(69.0\) | \(1542.6\) |
| gravity from the static mean | \(1.1\) | \(4.5\) | \(69.3\) | \(1543.3\) |
| gyro bias set to zero | \(0.8\) | \(2.7\) | \(24.1\) | \(200.6\) |
| accelerometer bias set to zero | \(0.3\) | \(1.8\) | \(44.6\) | \(1454.9\) |
| accelerometer scale factor \(+0.1\%\) | \(1.1\) | \(4.5\) | \(69.1\) | \(1546.3\) |
| Earth rate on, world \(x\) toward north | \(1.1\) | \(4.5\) | \(69.0\) | \(1542.4\) |
| Earth rate on, world \(x\) toward east | \(1.1\) | \(4.5\) | \(69.0\) | \(1542.4\) |
| Euler instead of trapezoid | \(1.0\) | \(4.1\) | \(68.5\) | \(1541.4\) |
Three things are worth separating.
The baseline is already \(1542\) m out after \(115\) s, with the attitude taken from the INS solution and the biases estimated from the static records. The vehicle travelled \(692\) m. At \(9.99\) Hz, with no coning or sculling correction, unaided inertial propagation diverges faster than the vehicle moves. The sampling rate and the integration scheme are themselves choices.
The yaw declaration dominates the early error: at \(10\) s it moves the position from \(4.5\) m to \(100.5\) m, a factor of \(22\). This is the unobservable quantity of the previous table acting directly on the answer.
The bias corrections make things worse, not better. Setting the gyro bias to zero gives \(200\) m instead of \(1542\) m — the static estimate was worse than no correction at all, because a \(6.4\%\) static fraction is a short and unrepresentative window. A correction derived from a declared window is not guaranteed to be an improvement, and nothing in the data marks which it is.
Drawing \(200\) configurations at random over yaw, gravity model, bias scale and the Earth-rate term:
| Quantity | Value |
| final position error, minimum | \(454\) m |
| final position error, median | \(2104\) m |
| final position error, maximum | \(3622\) m |
| distance actually travelled | \(692\) m |
The median error is three times the length of the path.
Fusing the inertial solution with a simulated \(1\) Hz position fix of \(1.5\) m noise, over a grid of process and measurement covariances. Final position error in metres:
| \(Q \backslash R\) | \(0.01\) | \(0.10\) | \(1.00\) | \(10.0\) | \(100\) |
| \(0.001\) | \(3.69\) | \(4.66\) | \(14.91\) | \(95.99\) | \(226.77\) |
| \(0.010\) | \(1.07\) | \(3.69\) | \(4.66\) | \(14.91\) | \(95.99\) |
| \(0.100\) | \(1.54\) | \(1.07\) | \(3.69\) | \(4.66\) | \(14.91\) |
| \(1.000\) | \(1.80\) | \(1.54\) | \(1.07\) | \(3.69\) | \(4.66\) |
| \(10.00\) | \(1.83\) | \(1.80\) | \(1.54\) | \(1.07\) | \(3.69\) |
The error runs from \(1.07\) to \(226.77\) m, a factor of \(212\), over the same data. The table is banded along \(Q/R\) because only the ratio matters: the filter output is set by how much one has decided to believe each input relative to the other. \(Q\) and \(R\) are not measured quantities.
| Quantity | Status |
| specific force, angular rate | measured |
| acceleration | specific force minus a declared gravity model |
| gravity model | declared; degenerate with accelerometer bias |
| roll, pitch | observable from the gravity vector |
| yaw | not observable; gyro is \(61\times \) too noisy |
| accelerometer and gyro bias | estimated from a declared static window |
| Earth rotation term | requires the heading of the world frame, which is declared |
| integration scheme, sample rate | choices |
| \(Q\), \(R\) | choices |
| position | the output of all of the above |
Inertial and reference data. KITTI raw recording 2011_09_30_drive_0027, retrieved from the public AWS mirror at https://s3.eu-central-1.amazonaws.com/avg-kitti/raw\_data/. The archive 2011_09_30_drive_0027_sync.zip is \(4.42\) GB; only the OXTS records were required, so the ZIP central directory was read by HTTP range request and the \(1106\) text records extracted directly, transferring \(76.4\) MB in \(13\) requests, or \(1.73\%\) of the archive. Fields used are \(12\)–\(14\) (ax ay az), \(18\)–\(20\) (wx wy wz), \(1\)–\(3\) (lat lon alt), \(4\)–\(6\) (roll pitch yaw) and \(7\)–\(11\) (velocities), with timestamps from oxts/timestamps.txt. The record rate is \(9.99\) Hz over \(114.8\) s.
Mechanisation. Attitude is propagated by the exponential map of the bias-corrected angular rate; velocity and position by trapezoidal integration of \(\mathsf {R}(\mathbf {f} - \hat {\mathbf {b}}_a) + \mathbf {g} - 2\,\boldsymbol {\omega }_{ie} \times \mathbf {v}\). All configurations are propagated simultaneously as a batched array so that no reported trajectory depends on a separate code path. The static window is defined as ground speed below \(0.15\) m/s.
Geodesy. Latitude and longitude are converted to a local tangent plane with the WGS-84 meridional and transverse radii evaluated at the first fix; the three alternative radius models in the second table are computed on the same coordinates.
Filter. A six-state constant-velocity Kalman filter with the inertial acceleration as control input, updated at \(1\) Hz against the reference position plus Gaussian noise of \(1.5\) m.
Derived tables are provided as imu_channel.csv, imu_datum.csv, imu_gravity.csv, imu_oat.csv, imu_factorial.csv and imu_kalman.csv.