A robot on wheels can estimate its position and speed from the turns of its wheels. This page shows what that needs: the wheel radius, and a sensor that counts the turns, the encoder. It ends with the two errors that make wheel odometry drift, and the two ways to fight them.
Wheel odometry turns wheel turns into distance. For that it needs one number above all: the wheel radius. Use Next and Back, the sliders and the buttons. Point at a coloured word to light up its part of the picture.
The turns are counted by a small, cheap sensor: the encoder. Its simplest form is the incremental encoder. Use Next and Back, the sliders and the buttons. Point at a coloured word to light up its part of the picture.
Absolute encoders fix those limits with more lights, more receivers and a disc where every part has its own code. Use Next and Back, the sliders and the buttons. Point at a coloured word to light up its part of the picture.
Simple and cheap does not mean perfect. Two problems make wheel odometry drift away from the truth. Use Next and Back, the sliders and the buttons. Point at a coloured word to light up its part of the picture.
Two strategies make localization better: combining sensors, and using a map. Use Next and Back, the sliders and the buttons. Point at a coloured word to light up its part of the picture.