FixTheRobot Explore Robotics / Localization & SLAM / M8 / M8-L3

This lab works on phones, but writing code is much easier on a laptop.

Localization & SLAM · Advanced SLAM and Research · M8-L3 · Advanced

Diagnose Localization in a Feature-Poor Environment

The delivery robot localises perfectly in the open lobby and slides along the long corridor to the loading bay: the walls look the same everywhere, and the position estimate wanders by metres.

You fix the fusion so that it knows which source to believe in which direction, and you make it say so.

Your task

    Simulation
    solution.pyLoading Python…
    Ctrl+Enter runs
    What Python can I use?

    Plain Python with math and, for matrices, slamkit (matmul, transpose, solve, inverse, identity). The data arrive as the dictionary D. There is no NumPy, random, json or copy in the browser runtime. Your code runs locally and never leaves this page.

    Hints

    What this lab teaches

    Stage 1 implements the information-form fusion of M8-T4: add the information of the sources, weight each estimate by it, and read degeneracy from the eigenvalues of the scan-match information matrix. It is graded on a corridor and a room whose true path stays in the simulator. Stage 2 tunes the one parameter that sets the exchange rate between the sources.

    Why it matters

    Hard switches between sensors cause jumps and hide the cause of drift. Fusing by information hands over smoothly, and the eigenvalues are the monitor that tells an operator when the pose rests on one source only.

    Theory for this lab

    Advanced SLAM and Research labs

    1. M8-L1: Handle Dynamic Objects in Mapping
    2. M8-L2: Compare SLAM Trajectories Using Evaluation Metrics
    3. M8-L3: Diagnose Localization in a Feature-Poor Environment: this lab.
    4. M8-L4: Evaluate a SLAM System Under Controlled Failures

    Educational simplification: translation only with a fixed heading; independent steps; an exact information matrix for the scan match; odometry with a 5% scale error and Gaussian noise. Real systems fuse in 3D with poses on manifolds, approximate information from registration and estimate the odometry noise.

    Get the next lab

    Get notified when new robotics labs are released. One email per new lab, nothing else.