The lidar odometry works in the lab and slides in the corridor. Its pose jumps forward and back along the hallway while the walls look perfect in the map.
You find out why, build the check that would have warned the system, and then explore what else makes registration fail.