● ranging the wall reading=--m truth=0.00m err=--m

The robot slides along the near wall and pings the far wall. The dashed beam is the true distance; each accent dot is one reading, scattered by σ (the noise level). When the beam lines up with the doorway it shoots through and reads long. Bigger σ spreads the cloud; a faster rate fills it in.

Noisy Range Sensor

What you are looking at

Dashed beam
The range given by the room geometry.
Dots
Individual noisy distance readings.
Doorway
The gap where the true range jumps.

Try this

  1. Raise the noise level to spread the dots out.
  2. Raise the sample rate to fill in the cloud of readings faster.

Key idea

The sensor reports samples of the true range with random error added. The robot has to work with those readings.

Copy link