Many hobby and research robot arms are built from servos. The built-in sensor reports the angle, so the motor can correct itself.