Rotary Encoders are a type of sensor typically used to measure the rotation speed of a shaft or motor. When coupled to a drive shaft or wheel, these can be used to determine distance traveled, correct differences in motor speeds, and even help determine if your robot is moving or stuck!