Text this: Measurement technique for bidirectional four sensor rotary encoder