What is a rotary encoder?

This is an encoder measuring the rotation inside a DC motor which drives the moving platform. It is a cost-effective solution for closed-loop systems, but as it is an in-direct measurement it does not provide actual position.