Joseph Junior Mensah
Move to See
← BACK TO PROJECTS
RoboticsPerceptionFull-Stack2026

◉Move to See

A robot that chooses where to look by predicting where its LiDAR will fail — a physics-informed perception loop, paired simulation experiments, and an interactive site that lets you replay the trials and inspect the decisions.

Timeline

November 2026

Team

ECE 4240 final project

Role

Simulation, planning & web

Skills

Robotics, Perception, Full-Stack

Built with

Python·NumPy·SciPy·Matplotlib·pytest·React·TypeScript·Vite·D3·Vercel

LONG  STORY  SHORT

I built a robot simulation that uses the limits of its own sensor to decide where to go, then made every trial and decision inspectable.

A dark box sits behind crates in a yard. Drive around the crates and it may be in plain view, but that does not mean a LiDAR can measure it. The target returns little light, fog attenuates what comes back, and sunlight adds noise. A route that makes geometric sense can leave the robot looking straight at something its sensor cannot reliably detect.

I built Move to See around one question: can knowing when a LiDAR fails help a robot localize better? The robot carries a model of its own sensor, maintains a belief over the target's position, and drives towards viewpoints that should reduce its uncertainty. I compared it with a fixed inspection route and the same planner given a physics-blind sensor model, then built a site where the recorded trials and the reasoning behind the choices can be explored.

One fog trial, replayed with all three robots, their beliefs and fields of view.
One fog trial, replayed with all three robots, their beliefs and fields of view.
The loop in three cards: scan the yard, update the belief, move to learn.
The loop in three cards: scan the yard, update the belief, move to learn.

Closing the loop

This grew out of my waveform-level simulator for an amplitude-modulated continuous-wave LiDAR. I extended it to 3D, then used it to ask what a robot should do with an imperfect measurement model. The robot is a unicycle with acceleration and turn-rate limits; rough ground slows it to 0.3 m/s. It knows its pose and the yard's map. The unknown is the target's position.

  1. 1

    Scan

    3D AMCW LiDAR

  2. 2

    Update

    2,000 belief particles

  3. 3

    Score

    information − travel cost

  4. 4

    Move

    towards the chosen goal

Scan, update the belief, choose a viewpoint and move — every half second of simulated time.

Every half second of simulated time, a scan changes the belief, the belief changes which viewpoints look useful, and the selected viewpoint changes what the next scan can reveal. I wanted that feedback to be the experiment: movement chosen because of what the sensor can learn from it.

Why the useful range collapses

The sensor scans 121 × 11 beams over 240° by 50°, tracing each beam as nine Gauss–Hermite sub-rays. The waveform simulation includes Lambertian returns, fog attenuation, sunlight shot noise, phase unwrapping and a constant-false-alarm detector. The robot reasons with a separately written analytic model that predicts detection probability and range noise for each beam.

For an unobstructed, facing black target with reflectivity 0.05, the range where detection probability reaches one half — r50 — is 2.92 m in clear air, 1.98 m in fog and 1.46 m in sunlight. Incidence angle and occlusion shorten the useful range further. A white target in clear air remains detectable across the whole 5.6 m reporting window.

Those numbers are the reason to move. A viewpoint can have an unobstructed line to the target and still be too far away to teach the robot much. I needed the planner's idea of a good view to include the return it could actually expect.

Black-target detection probability falls with range, and falls sooner in fog and sunlight.
Black-target detection probability falls with range, and falls sooner in fog and sunlight.

Learning from a return, and from its absence

I represent uncertainty with an approximate, regularized particle filter: 2,000 particles over the target's 3D position. Each scan updates their weights using the analytic likelihood. The belief is what the planner receives; the true target position is kept out of inference and planning.

The subtle part is that a missing return can contain information. A dark target may return nothing while hiding a brighter surface behind it. If the robot expected that surface to return light, its absence changes which target positions are plausible. Treating every non-detection as an empty observation would throw away exactly the evidence this project is trying to use.

Candidate viewpoints in fog, coloured by score, with the belief and selected goal.
Candidate viewpoints in fog, coloured by score, with the belief and selected goal.

Choosing where to learn next

For each candidate viewpoint on a reachable lattice, I compute a Bhattacharyya lower bound on expected information gain over 24 target hypotheses sampled from the belief. The score subtracts 0.05 nat per second of travel. Information has to justify the time spent driving to acquire it.

There is hysteresis too: the robot keeps its current goal unless another viewpoint improves the score by 0.05 nat. Viewpoints too far away to win are skipped. Planning uses a simplified sensor prediction — one ray per beam from a standing robot, without mixed pixels, scan skew or phase-wrap outliers — to keep the calculation manageable.

Five seconds into fog trial 0, the useful viewpoints surround the region where the target may be, close enough for a dark return to survive the fog. The robot retains its goal at (6.05, 4.05) m: 3.09 nat of information minus 0.30 nat for 6 s of travel. I like this example because the decision can be read back as a concrete tradeoff.

A comparison that isolates the choice of viewpoint

The fixed-route baseline follows a preset inspection loop. The physics-blind baseline uses the same viewpoint planner, but assumes every visible point within range is detected, with constant range noise. All three controllers update their beliefs with the same full-physics model. What changes is how they choose where to go.

I paired the trials: each controller gets the same target position and the same random noise. There are 40 paired trials per condition, each lasting 30 s. Time to localize is the moment from which the belief mean stays within 0.10 m of the target for five consecutive scans; a trial that never achieves that receives a 30 s score. That last convention matters when reading the medians: a score at the horizon can mean failure.

What changed when the planner knew the physics

With a black target, the information-driven planner's median times were 7.0 s in clear air, 9.0 s in fog and 11.5 s in sunlight. The fixed route took 9.5, 17.0 and 18.0 s, respectively. The physics-blind planner's median was 30.0 s in each of those conditions.

The sharpest result is the failure count. Across fog and sunlight, the physics-blind planner localized the target in 0/80 trials; the information-driven planner did so in 79/80. Giving the filter a good likelihood was not enough when the planner kept choosing viewpoints from which the sensor could not obtain useful evidence.

The registered analysis used five one-sided paired Wilcoxon signed-rank tests, with Holm adjustment at α = 0.01. All five were supported, with adjusted p ≤ 7.2 × 10⁻⁴. These are paired comparisons; the difference between two condition medians is not itself the median paired difference.

Median time to localize, with 95% intervals and success counts, by condition and controller.
Median time to localize, with 95% intervals and success counts, by condition and controller.

Clear air · black target

Information-driven 7.0 s · fixed route 9.5 s · physics-blind 30.0 s.

localized: 40/40 · 40/40 · 17/40, respectively

Fog · 20 m visibility

Information-driven 9.0 s · fixed route 17.0 s · physics-blind 30.0 s.

localized: 40/40 · 36/40 · 0/40, respectively

Sunlight · 1 sun

Information-driven 11.5 s · fixed route 18.0 s · physics-blind 30.0 s.

localized: 39/40 · 35/40 · 0/40, respectively

Control · white target, clear air

Information-driven 4.0 s · fixed route 5.0 s · physics-blind 4.0 s.

localized: 40/40 · 40/40 · 40/40, respectively

Median simulated time to localize; successes out of 40. Unsuccessful trials receive a 30 s score.
Fog trial 3: the information-driven route, fixed loop and physics-blind path.
Fog trial 3: the information-driven route, fixed loop and physics-blind path.

What a failed assumption looks like on the ground

In fog trial 3, the information-driven robot follows the top of the yard, reaches the side of the target's region and turns in. It localizes in 9 s; the fixed route gets there in 10.5 s. The physics-blind planner stops near the rough ground and never localizes the target. Its model expects a detection from farther away than the sensor can deliver.

I wanted the paths alongside the statistics because an aggregate score cannot explain that behaviour on its own. The gain is not universal: over the fog trials, the information-driven planner beats the fixed route in 30 of 40, ties once and is slower in nine. The paired design keeps those losses visible alongside the improvement.

The control that makes the result useful

Across the fog trials, the median information-driven error drops below 0.10 m after about 9 s and settles near 3 mm. The fixed route takes about 17 s to reach the tolerance. That describes how the estimate develops, beyond the single localization-time score.

I also needed a condition where detailed sensor physics should matter less. With a white target in clear air, both planners localize in a median 4.0 s, and all controllers succeed in 40/40 trials. The median paired difference between the planners is 0 s, with a 95% bootstrap interval of 0 to 0 s, inside the registered ±2 s equivalence margin; 30 of 40 pairs tie exactly.

That control points to the sensor model as the source of the gain. When the target is easy to detect, the advantage disappears within the registered margin.

Median localization error in fog; the physics-blind planner never reaches the tolerance.
Median localization error in fog; the physics-blind planner never reaches the tolerance.
The evidence ledger: each registered check, its criteria and its verdict.
The evidence ledger: each registered check, its criteria and its verdict.

Registering the question before seeing the answer

I wrote each experiment's hypothesis, sample size, seed and pass criteria into sim/registry.yaml before its first full run. Tuning used reserved pilot seeds. Four later changes are documented as deviations, including an added animation check. The paired ablations remain labelled exploratory.

The verification goes below the final controller score. Separate experiments check the analytic sensor against the waveform simulator, the field of view and its dependence on motion, particle-filter coverage, and the information bound against a Monte Carlo estimate of mutual information. The bound holds in all 120 cases checked.

The 666 fast tests include oracle suites whose references come from hand calculation, brute force, numerical integration or grid Bayes. For the no-peeking guarantee, structural checks are backed by a metamorphic test: change the hidden target while holding observations fixed, and check that inference and planning cannot use the change. That is a much stronger check than relying on the intended interface.

Reference values are independent

Oracle suites use hand calculation, brute force, numerical integration and grid Bayes; the analytic model never imports the waveform simulator.

unit · oracle · property · contract tests

The controller cannot peek

Structural checks and a metamorphic test change the hidden target while holding observations fixed, checking inference and planning do not depend on truth.

hidden target excluded from inference and planning

The pieces face separate checks

Registered experiments test the sensor, field of view, filter coverage and information bound before the controller comparison.

F01–F04 · bound holds in all 120 cases

The results can be rebuilt

Fixed seeds, source fingerprints and package versions accompany each run; deleting outputs and rerunning reproduced every reported number except computation times.

registered criteria · pilot seeds · four documented deviations

666 fast tests, backed by registered experiments and a complete reproduction of the reported numbers.

Every experiment records a fixed seed, source fingerprint and package versions. Deleting the outputs and rerunning with those versions reproduced every reported number; only the recorded computation times changed. I wanted the report to be something the repository could regenerate.

Making the model something you can explore

The interactive site is React and TypeScript built with Vite, with hand-drawn SVG charts and D3 scales and shapes. The sensor playground lets you change reflectivity, fog and sunlight and watch the predicted detection range respond. The scan, update and move cards introduce the loop before asking anyone to interpret a particle cloud.

The replay covers all 480 recorded trials. Pick a condition and trial, then play or scrub through the robots, their beliefs and fields of view. The results view shows all 40 paired trials of a condition together and opens any of them in the replay. I wanted a reader to be able to move from a claim to the trial behind it without leaving the site.

The sensor playground: vary reflectivity, fog and sunlight to inspect detection range.
The sensor playground: vary reflectivity, fog and sunlight to inspect detection range.
The decision explorer: select a viewpoint and inspect the score behind the choice.
The decision explorer: select a viewpoint and inspect the score behind the choice.

Keeping the explanation attached to the experiment

The decision explorer steps through three planning steps of a fog trial. Clicking a viewpoint reveals its score, so the information-versus-travel tradeoff is inspectable. The evidence view carries the registered checks, criteria and verdicts into the same interface.

I treated the site's data as another result that needed checking. web/scripts/build_data.py exports replays, sensor curves and the verification ledger, recomputes every statistic of the main comparison from raw trial records, and stops if any differs from the registered results. export_decisions.py exports planning steps only after verifying that its rerun reproduces the recorded trial. The explanation has to agree with the experiment that produced it.

Architecture

The simulation and models produce the behaviour, the experiment layer measures it, and the site makes the resulting records explorable. I kept those responsibilities explicit so a chart on the site can be traced back through the statistics to a recorded trial.

Site

Explore the evidence

  • React, TypeScript, Vite + D3
  • Replay, sensor and decision views
  • Checked data exports + results ledger

Experiments + statistics

Compare paired trials

  • Registered hypotheses, seeds and criteria
  • Paired tests + Holm adjustment
  • Source fingerprints + package versions

Simulation + models

Sense, infer and plan

  • Waveform simulator + analytic sensor model
  • Particle belief + information bound
  • Robot, terrain and known yard
The site presents recorded trials; experiments measure the simulation and check the models.

Where the claim stops

These are simulation results for one sensor model in one known yard. The robot knows its pose, map, terrain, weather, and the target's size and reflectivity. The target is a single stationary box. The fog model attenuates the beam but leaves out backscatter. The physics-blind baseline is deliberately mis-specified, and the fixed route is one possible inspection loop.

The time scores are simulated seconds. On a laptop, planning and the belief update together averaged about 1.1–1.3 s per 0.5 s step for a black target, and 3.3 s for the white one. It does not run in real time. I can show that the sensor model improves viewpoint selection under these assumptions; running this loop on a physical robot would require further work on computation and validation.

Why I built it this way

  • Make sensor failure part of the decision. Detection probability and range noise determine what a viewpoint can teach the robot, including evidence from a missing return.
  • Change the choice, hold the filter fixed. Shared inference and paired target positions and noise make the controller comparison about where the robot goes.
  • Include a condition where the advantage should disappear. The white-target control checks whether detailed sensor physics helps specifically when detection is difficult.
  • Write the criteria before the full run. Registered experiments, reserved pilot seeds and documented deviations keep the evidence interpretable.
  • Check the pieces independently. Oracle suites, sensor-level experiments and the no-peeking test support the assumptions behind the final result.
  • Let the reader inspect the evidence. Replays, decision scores and a checked data export connect the site's explanation to the recorded experiments.
  • Keep the limits in the claim. Known-world simulation and slower-than-real-time computation are part of what this result means.

NEXT  UP  …