Auxiliary IMU factor
Use this page to see how MVIS calibrates every IMU after the first one.
An auxiliary IMU is any IMU after the first in input.imu_topics. It is
rigidly mounted, so it feels the same motion as the base IMU, seen from another
place, along other axes and on another clock. MVIS solves, for each one:
- Extrinsic : its rotation and position in the base-IMU frame. The position part is its lever arm.
- Time offset : an auxiliary sample stamped is the motion at base-IMU time .
- Its own intrinsics: , , , in the same convention as the base IMU.
- Its own
t_gaand its own biases.
Below we write for . Symbols follow Notation & glossary. The base factor this builds on is Base IMU factor.
Variables
Section titled “Variables”| Variable | Size | Where |
|---|---|---|
| calibration: , , 24 intrinsics | 6 + 1 + 24 = 31 | one per auxiliary IMU |
| velocity , biases , | 9 | at the auxiliary knots |
t_ga of this IMU | 1 | one per auxiliary IMU |
The auxiliary IMU has no pose states of its own. Its poses come from the base trajectory, so every auxiliary factor pulls on the base states too.
Knots: one auxiliary factor spans 3 base intervals by default
(solve.aux_imu_stride: 3). Fewer factors make the solve faster. The stride is not
accuracy-neutral: the lever arms shift with it. When the lever arm matters, solve
again with solve.aux_imu_stride: 1 (one factor per interval, slower) and compare.
From the base pose to the auxiliary pose
Section titled “From the base pose to the auxiliary pose”At each knot MVIS builds the auxiliary IMU’s pose from the base state, the extrinsic and the time offset:
- : the auxiliary IMU’s corrected angular velocity at the knot.
- : only the part of the time offset not yet absorbed. MVIS cuts the auxiliary samples for interval at stamps , with the starting value. The pose then needs only a small shift, which keeps the first-order propagation accurate even for offsets of tens of ms.
The residual
Section titled “The residual”The auxiliary IMU’s own readings are preintegrated over the knot interval,
exactly as for the base IMU: corrected by its own biases, intrinsics and t_ga.
The residual is the same 15-row residual as the
base factor, evaluated on the
auxiliary poses above and the auxiliary velocity and biases:
with the next knot. The Jacobians chain the base-factor Jacobians through the pose map above, so they reach the base poses, the base velocities, the extrinsic and . All are analytic and checked against finite differences.
Why the lever arm needs rotation
Section titled “Why the lever arm needs rotation”A point at on a rigid body feels the base acceleration plus two rotation terms:
is the cross-product matrix. With no rotation both terms vanish and the lever arm leaves no trace. The rotation of the extrinsic and come from the gyro alone: two gyros on one body read the same angular velocity, rotated and shifted in time.
Starting values
Section titled “Starting values”Before the joint solve, MVIS initialises each auxiliary IMU from its gyro and the base gyro alone. Both are direct angular-rate measurements at 100 Hz or more, so this is sharper than going through a camera.
- Time offset: scan and keep the value where the two gyro signals, aligned by the best rotation, agree best. A parabola refines the minimum.
- Rotation: the best rotation between the two gyro signals at that offset (the Kabsch method, a closed-form least-squares rotation fit).
- Gyro bias from the means of the two signals.
- Lever arm: 0. Only the joint solve can see it.
The start is accepted when the minimum is sharp (the error at half the search window is more than 1.5 times the minimum) and the two streams overlap by more than 10 s.
Priors
Section titled “Priors”- First knot: velocity and biases, as for the base IMU (0.5 m/s, 0.01 rad/s, 0.1 m/s² by default).
- Extrinsic and time offset: free.
estimate.imu.extrinsics: falseorestimate.imu.td: falseholds them at their start. - Intrinsics: staged as for the base IMU (
estimate.imu.intrinsics). t_ga: the same weak 10 ms prior as the base IMU.
Gyro-only mode
Section titled “Gyro-only mode”Some accelerometers are noisy or interpolated by their driver. Mark such an IMU
gyro_only: true and MVIS calibrates it from its gyro alone:
input: imus: - {} # base IMU: always full - {gyro_only: true} # second IMU: gyro onlyThe factor keeps only the rotation and gyro-bias rows:
| Gyro-only IMU | |
|---|---|
| Solved | extrinsic rotation, , gyro bias, and unless estimate.imu.intrinsics: pinned |
| Held | lever arm, , , t_ga (none of them reach the gyro) |
| States | the gyro bias at each knot, no velocity |
The base IMU cannot be gyro-only: it needs its accelerometer for gravity and metric scale.
What this means for your recording
Section titled “What this means for your recording”- Rotate about at least two axes, briskly. The auxiliary rotation and time offset come from angular velocity; the lever arm from angular velocity and angular acceleration.
- Record long enough for the gyro start: the two IMUs must overlap by more than 10 s.
- Mount the IMUs rigidly. The model assumes one rigid body.
How we run multi-IMU rigs: step 6: multi-IMU calibration. Why it pays off: Why calibrate IMUs together.