Noisy Range Sensor
Raise the noise on a moving robot’s range sensor to watch its readings spread around the true distance.
● 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.
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
- Raise the noise level to spread the dots out.
- 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.