Skip to the content
FixTheRobot Explore Robotics / UAV / Module 4 / M4-L4

UAV Systems Engineering · M4-L4 · Hands-on lab (runs on your machine)

Compare visual and LiDAR localization

Put the two estimators side by side on identical data and learn where each wins.

  • SLAM and Autonomous Localization
  • Research-level
  • About 120 minutes

What you will do

Using a dataset that provides both camera and LiDAR (and IMU) with ground truth, you will run a visual-inertial and a LiDAR-inertial system and compare them. The goal is not a winner, but an explanation: which segment degraded which system and why.

Before you start

  • Labs “Run ORB-SLAM3”, “Run FAST-LIO2” and “Analyze trajectory drift”.
  • A multi-sensor dataset with synchronised camera, LiDAR, IMU and ground truth (for example one of the public multi-sensor sets listed in the FAST-LIVO2 or LIO-SAM repositories).

Steps

  1. Run both systems on the same sequence with calibrated configurations and save the trajectories in TUM format.
  2. Align each to the ground truth with the same method; compute ATE and RPE over fixed distances.
  3. Plot RPE per 10 m segment for both systems on one chart against distance and mark the segments by environment type (corridor, open, dark, textured).
  4. For the three largest per-system error segments, look at the sensor data: feature counts for vision, the registration residual and degeneracy for LiDAR, and write the cause.
  5. Propose a fusion or switching strategy based on these findings (lesson M2-T16, M4-T9) and the monitor signals you would use.

Report template

Fill one row per notable segment (example rows)
SegmentEnvironmentVisual errorLiDAR errorLikely causeMonitor signal
…long corridor……LiDAR degenerate along axisregistration eigenvalue
…dark area……too few featuresfeature count
…open field……flat groundregistration eigenvalue

How to know it worked

  • ATE and RPE for both systems with the alignment method stated.
  • A per-segment comparison with causes backed by logged monitor signals.
  • A fusion or switching proposal.

If it does not work

Troubleshooting
SymptomLikely causeWhat to check
Trajectories in different framesDifferent conventionsAlign with Umeyama and check the first segments visually
One system fails earlyCalibration or configuration errorVerify intrinsics, extrinsics and IMU noise before comparing
Unfair comparisonDifferent time ranges or poses sampledAssociate with the same timestamps and evaluate over the common interval

References

Record your progress

Saved in this browser. This lab runs on your own machine, so the site cannot check it for you.