Multi-LiDAR calibration and time sync online

MOLA cloud · online tool

Upload a few minutes of ordinary driving and get the position and orientation of each LiDAR relative to another one: the LiDAR-to-LiDAR extrinsic calibration. The same job measures how late or early every sensor stamps its data: the time offsets of LiDARs, IMUs, wheel odometry and cameras. No target needed.

Calibrate your LiDARs online What it estimates

Sign in with GitHub or an email address.

Point clouds of an Ouster OS1-128 (blue) and a Velodyne VLP-16 (orange) on the same robot, merged with the calibrated extrinsics
Two LiDARs on a Clearpath Husky, merged with the calibrated pose: Ouster OS1-128 in blue, Velodyne VLP-16 in orange.
  • InputA ROS 2 bag (MCAP) or a ROS 1 bag of the vehicle driving, with turns
  • TargetNone: the scene and the motion are enough
  • OutputURDF, a ROS 2 tf_static launch file, YAML, and a report
  • UncertaintyEvery value with its 1σ and a verdict

How it works

  1. Record a driveDrive for a few minutes with turns in both directions, near buildings or other structures both LiDARs can see.
  2. Upload and pick the sensorsThe app lists the LiDARs, IMUs, wheel odometry and cameras in the recording and proposes one LiDAR as the reference.
  3. Choose a windowFrom 30 s to 5 minutes of the recording, the part with the most varied motion.
  4. Download the resultThe calibrated poses and time offsets, ready to use in ROS 2, and a report with the evidence behind each number.

Each LiDAR runs its own LiDAR odometry. Comparing how each sensor saw the vehicle turn gives a first guess of the LiDAR poses and of every time offset, from the motion alone. The LiDAR poses are then refined in a batch over the planes (walls, the ground, ceilings) that both LiDARs see.

Side view of a thin slice of the map: with the first guess, the VLP-16 ground is 15 cm below the OS1-128 ground; after the refinement both coincide
A 0.5 m slice of the map, seen from the side. Left: with the first guess from the motion, the VLP-16 ground and the underside of a porch are 15 cm below the OS1-128 ones. Right: after the refinement on shared planes they coincide.

What the job estimates

All the values are relative to one reference LiDAR, and the poses are given in the vehicle frame you choose (for example base_link).

Sensor

Estimated

LiDARs (up to 3 besides the reference)

Full 6-DoF pose (x, y, z, yaw, pitch, roll) and time offset. The pose is checked by an independent plane-to-plane fit.

IMUs (up to 4)

Time offset, gyroscope scale and gyroscope bias.

Wheel odometry (up to 2)

Time offset, speed scale and turn rate scale (wheels against the LiDAR), and the distance traveled.

Cameras (up to 4)

Time offset. Needs an IMU in the same job, and the camera intrinsics from CameraInfo or from a camera calibration you ran before.

A time offset is the correction to add to each message stamp to get the true time: true time = stamp + offset. Offsets of tens or hundreds of milliseconds are common: a driver that stamps a message when it publishes it, rather than when it was measured, or a filter that adds lag, shows up here.

Every value comes with its 1σ uncertainty and one of three verdicts:

  • Determined: within 1 cm and 0.1° for a pose, 2 ms for a time offset (5 ms for wheel odometry) and 1 % for a scale.

  • Weak: up to three times that.

  • Not determined: the recording does not fix it, or the estimate cannot be trusted. The report gives the reason and what to record instead. Poses that are not fully determined are left out of the URDF and tf_static exports.

Correlation of the angular rates of two LiDARs against the time lag, with a sharp minimum at -1.6 ms
From a report: how far the angular rates of the two LiDARs are from matching, against the lag. The time offset is where the curve dips: −1.6 ± 0.6 ms.

An example: two LiDARs, two IMUs and wheel odometry

A 220 s drive of a Clearpath Husky with an Ouster OS1-128 (the reference), a Velodyne VLP-16, two IMUs and its wheel odometry. All 16 quantities came out determined:

Quantity

Result

VLP-16 position

x −9.9 ± 4.7 mm, y −3.1 ± 2.8 mm, z 425.7 ± 2.8 mm

VLP-16 orientation

yaw 1.087°, pitch −2.282°, roll −0.966°, each ± 0.01° or better

VLP-16 time offset

−1.6 ± 0.6 ms

IMU time offsets

−11.2 ± 2.0 ms and −9.7 ± 1.9 ms

Wheel odometry time offset

−404 ± 5 ms (a filtered odometry topic, stamped late)

Wheel odometry scales

speed 0.989 ± 0.006, turn rate 0.971 ± 0.007

The plane-to-plane check agreed with the VLP-16 pose within its uncertainties.

Yaw rate of the wheel odometry and of the LiDAR odometry over time, overlapping once the time offset is applied
The wheel odometry's yaw rate against the LiDAR's, with the −404 ms offset applied: they overlap. Top: the 15 s with the most motion; bottom: the whole window.

How accurate is it?

We checked the job on simulated rigs with known offsets and on public datasets:

Test

Result

Simulated car and ground robot (MVSim), known IMU time offsets of 2 to 4 ms

Within 0.75 ms, on 40 s windows and on whole recordings

Same Husky drive, 40 s window against the whole 220 s

Within 2.3σ

NTU VIRAL, vertical Ouster OS1-16

Rotation within 0.06° of a calibration on the whole 399 s sequence

GrandTour, ADIS IMU

Gyroscope scale 0.90, as known (0.893)

Swapping the reference LiDAR (two rigs, two LiDARs each)

IMU time offsets move less than 0.5 ms

When the motion cannot fix a quantity, the job says so instead of returning a wrong number. A straight 40 s drive with almost no turning, for example, leaves every time offset not determined.

Recording tips

  • Turn, and turn both ways. Time offsets are measured from how the sensors see the vehicle rotate: loops and figure-eights work best. A drive in a straight line determines almost nothing.

  • Vary the speed, with some stops and starts, for the wheel odometry scales and time offset.

  • Drive near structure that both LiDARs see: walls, buildings, the ground. Open fields with nothing above the ground are poor for the LiDAR poses.

  • Ramps and bumps help. A vehicle that only turns about its vertical axis leaves the quantities that need tilting (such as the gyroscope scale about the other two axes) weak.

  • Record the point clouds, the IMU and odometry topics, the camera images with their CameraInfo, and /tf_static if you have one. A vehicle frame is optional.

What you get

File

What it is for

calibration.urdf

The sensor poses as URDF joints, to paste into your robot description.

tf_static.launch.py

A ROS 2 launch file that publishes the sensor poses on /tf_static.

tf_static.yaml

The same poses as a tf2_msgs/TFMessage.

calibration.yaml

LiDAR poses and time offsets, with their uncertainties.

time_offsets.yaml

The time offset of every sensor.

time_sync_report.yaml and CSV files

Every estimate with its evidence: the correlation curves and the aligned rates.

Report

The job page: tables with the verdicts, the cross-check, and the figures above.

MOLA cloud tokens

A job costs 5 tokens. Free MOLA cloud accounts get 10 tokens a month, and every MOLA Pro license includes a Pro account for the organization with 100 tokens a month. The calibration tool is proprietary and runs only in MOLA cloud.

Coming soon, for Pro accounts: calibrating every LiDAR, camera, IMU and GNSS antenna of a vehicle at once, positions included, from one global optimization.

Frequently asked questions

Do I need a calibration target?

No. The job uses the structure of the scene and the motion of the vehicle. For the pose of a camera relative to a LiDAR, use the LiDAR-camera calibration with a target board.

Which LiDARs can I calibrate?

Any LiDAR recorded as sensor_msgs/PointCloud2, spinning or solid-state, with per-point timestamps or without. Up to four LiDARs in one job: the reference and three more.

My sensors are hardware-synchronized. Is this still useful?

Yes: it checks it. Drivers stamp at the start or at the end of a sweep, or when a message is published, and IMU drivers add their own delays. On hardware-synchronized rigs we have measured IMU offsets of 6 to 27 ms that were in the recordings themselves.

How do I use the time offsets?

Add the offset to each stamp of that sensor (true time = stamp + offset), or better, configure the driver to stamp with the measurement time when it can. The report says when an offset is large enough to suggest a stamping problem.

Which formats can I upload?

A ROS 2 bag as MCAP, or as a zip with a rosbag2 folder, and a ROS 1 bag, or a zip with the split ROS 1 bags of one recording.

Where is my data processed?

On our server in Spain (EU). Each job runs in an isolated container with no network access.

Calibrate your LiDARs and sync your sensors

Upload a few minutes of driving and get the poses and time offsets.

Open MOLA cloud