A map describes the environment; localisation estimates where the robot is within it.
An accurate map does not guarantee an accurate position. Sensor noise, wheel slip or a wrong starting state can make an apparently valid route fail.
The bigger picture
Motion planning depends on a representation of position and the environment. A planned path is not proof that a robot followed it. Wheel slip, measurement error and changing obstacles can produce a different physical result.
- Represent position
- Plan motion
- Measure result
- Correct error
Concepts to keep close
- Pose
- An object's position and orientation in a defined reference frame.
- Odometry
- Estimating motion from measurements such as wheel movement.
- Feedback control
- Adjusting actions using measurements of the resulting state.
Reasoning through the problem
Write actual and estimated positions separately.
Identify observations that could check the estimate.
Avoid treating uncertain position as exact.
Use the idea carefully
Specify coordinate conventions and units. Trace a short path, compare the expected and observed position and investigate discrepancies. Test boundaries and changed obstacles in simulation. Keep a defined stop condition and do not infer physical safety from a successful path animation.