Skip to content

Why calibrate t_ga

This page shows what happens to a camera–IMU calibration when the gyroscope and the accelerometer inside one IMU are not in step. Data: the Looper Insight 9 and the Intel T265 IMU on VI-Rig, with the swept recordings on the Hub, calibench-vi/datasets.

The answer first:

  • Real IMUs have a tgat_{ga}: MVIS measures a few ms on the Looper and on the T265 IMU.
  • Tools without it move tdt_d: Kalibr and Basalt treat the IMU as one clock, so their tdt_d takes a steady share of tgat_{ga}.
  • No warning: every run of every tool converged.
  • MVIS keeps tdt_d flat: it reports the delay as tgat_{ga}, and its IMU scales barely change.
  • A corrected dataset needs it: without tgat_{ga}, a round trip leaves a camera time error.

How to turn it on: tgat_{ga} in step 4. MVIS fits tgat_{ga} by default (solve.estimate_t_ga: true, with a weak 10 ms prior, sigma_t_ga: 0.010), as in these runs.

  • tgat_{ga}: the time offset between the gyroscope and the accelerometer inside one IMU.
  • tdt_d: the time offset between a camera and the IMU.
  • Who fits what: MVIS fits both. Kalibr and Basalt fit only tdt_d.
  • The question: what happens to tdt_d and the IMU scales when the IMU has a tgat_{ga}?

1. With tgat_{ga} = 0, the three tools agree

Section titled “1. With t_ga = 0, the three tools agree”
  • Two datasets: Looper Insight 9 (looper_1) and Intel T265 (VI-Rig april_01).
  • Prepared so tgat_{ga} is 0: MVIS calibrated each raw recording, and we resampled the camera and IMU streams with that result. On the new recording, by MVIS’s estimate, tdt_d = 0, tgat_{ga} = 0 and the IMU scales are 1.
  • Settings: each tool’s usual settings. T265: camera intrinsics pinned. Looper: intrinsics free.
  • Result: all three tools read tdt_d within 0.3 ms of 0, and the IMU scales within 0.4 % of 1, except Basalt on the T265.
ToolLooper Insight 9Intel T265
tdt_d (ms)scale error (%)tdt_d (ms)scale error (%)
MVIS−0.010.01+0.110.36
Kalibr−0.040.13−0.190.34
Basalt−0.040.21−0.281.50

Corrected bag, no injected delay. Scale error is the largest |scale − 1| over the six IMU axes.

  • Basalt on the T265: gyro x and accel z read about 1.2 % and 1.5 % from 1.
  • Not caused by tgat_{ga}: that offset is there with no delay.

2. Without a tgat_{ga}, tdt_d takes a steady share of the delay

Section titled “2. Without a t_ga, td takes a steady share of the delay”
  • Sweep: we delayed only the accel by τ\tau = −50, −20, −10, −5, −2, 0, 2, 5, 10, 20 and 50 ms, and left everything else unchanged. That is 11 recordings per device; the true tgat_{ga} of each is τ\tau.
  • Run: all three tools on every recording, with the settings above.
  • Gravity: MVIS solves the T265 sweep at Newark’s 9.8013 m/s2\mathrm{m/s^2}, as the example config sets it (MVIS 0.4.1, 2026-11-25); Kalibr and Basalt keep their own default. Against 9.81, this moves MVIS’s accel scale by about −0.07 % and nothing else.
Accel delayed by τ\tau. MVIS puts it in tgat_{ga} (solid blue) and keeps tdt_d flat (dashed); Kalibr and Basalt have no tgat_{ga}, so their tdt_d takes a steady share of τ\tau.
  • MVIS: it reports the delay as tgat_{ga}, with slope 1.00 on both devices. Its tdt_d stays flat, and its IMU scales change by under 0.01 %.
  • Kalibr and Basalt: with no tgat_{ga}, their tdt_d takes a steady share of τ\tau. A share of 0.64 means tdt_d moves 0.64 ms per 1 ms of tgat_{ga}.
  • The shares: 0.64 for Kalibr and 0.59 for Basalt on the Looper; 0.30 and 0.28 on the T265.
  • Their IMU scales drift too: mostly under 0.2 % within ±10 ms, up to about 1.8 % at ±50 ms. Basalt on the T265 reaches 0.3 % in accel at ±2 ms.
  • No warning: every run of every tool converged.
  • Not a bug: with one IMU clock, the best fit puts tdt_d somewhere between the gyro and the accel.
  • Where it lands: it depends on the recording, likely on how much the gyro and the accel each drive the fit. We have not tested this.

3. Real devices have a tgat_{ga}

Section titled “3. Real devices have a t_ga”
  • Measured: on the raw recordings MVIS reads tgat_{ga} = −5.03 ms on the Looper and −5.69 ms on the T265.
  • The effect: a tool without tgat_{ga} moves tdt_d by its share of that.
Devicetgat_{ga} on the raw bag (MVIS)Kalibr: share → tdt_d movedBasalt: share → tdt_d moved
Looper Insight 9−5.03 ± 0.02 ms0.64 → −3.21 ms0.59 → −2.97 ms
Intel T265−5.69 ± 0.43 ms0.30 → −1.72 ms0.28 → −1.60 ms

On the raw bags, Kalibr's tdt_d really differs from MVIS's by about this much (−3.16 ms on Looper, −1.91 ms on the T265).

4. On the running example, only the T265 IMU has a large tgat_{ga}

Section titled “4. On the running example, only the T265 IMU has a large t_ga”

The guides use the VI-Rig recording virig-4imus-4cams. Its four IMUs on one rig show tgat_{ga} on four devices at once.

  • One run, recording 01: MVIS solved all four cameras and all four IMUs together, with tgat_{ga} on, as in step 4. The Xsens is the base IMU.
  • tgat_{ga} per IMU: ± 0.02 ms on each, from the run’s result table.
IMUtgat_{ga} (ms)
Xsens MTi-100 (base)−0.82
MicroStrain GX3-25+0.10
MicroStrain GX3-35+0.01
T265 IMU−6.74
  • Only the T265 IMU has a large offset. The other three read within 1 ms of 0.
  • It repeats over 15 recordings: in the results, the T265 IMU reads −6.692 ms, sd 0.112, in the mixed T265 + ELP run (T7) and −6.698 ms, sd 0.135, in the ELP stereo run (T8). In those two runs the T265 IMU is the base IMU.

5. Without tgat_{ga}, a round trip leaves a tdt_d error

Section titled “5. Without t_ga, a round trip leaves a td error”

This test ran on older MVIS code; the date is in Data.

  • Setup: recording 01, T265 cameras and the T265 IMU, camera intrinsics pinned. We ran a round trip twice: calibrate, correct the recording, calibrate again. The only change was tgat_{ga} on or off.
  • Both runs pass: the IMU scales and biases go back to 1 and 0.
  • With tgat_{ga}: the second calibration finds tdt_d of −0.03 and −0.04 ms on the two cameras, and tgat_{ga} goes from −6.97 to +0.17 ms.
  • Without tgat_{ga}: the second calibration finds tdt_d = −1.47 ms on both cameras, not 0. This is the unmodelled gyro–accel offset, showing up as a camera time error.

Conclusion:

  • tgat_{ga} matters for camera–IMU calibration: on these two devices, a tool without it moves tdt_d by about 1.6–3.2 ms.
  • It keeps a corrected dataset consistent in time: to use a tool without tgat_{ga}, remove the offset first with corrected-dataset export.
  • The test favours MVIS: the zero point is MVIS’s own calibration, and the sweep injects exactly the shift MVIS models, a pure accel delay.
  • Raw data: which tool’s tdt_d is right on raw data is not tested.
  • Not a pure shift: on the T265 the real offset shrinks with frequency, from −6.8 ms at 2–4 Hz to −3.6 ms at 16–22 Hz, less certain above 22 Hz. One tgat_{ga} is a compromise.
  • One recording per device: each sweep starts from a single recording.
  • Who ran it: we ran all three tools.