Rough encoder