A spatial detection apparatus, comprising: a rotating member having a predetermined number of teeth angularly spaced about its circumference at predetermined distances to form a bit pattern; at least one sensor capable of detecting a rising edge and a falling edge of said teeth, wherein said at least one sensor comprises a predetermined number of position sensors (36, 37, 38); and a processor configured to detect at least a portion of said bit pattern based on inputs from said at least one sensor; characterized in that said bit pattern is encoded based on a Manchester coding technique; said processor determines, based on inputs from said position sensors (36, 37, 38), a static angular position of said rotating member, wherein the spatial detection apparatus comprises a trigger sensor for detecting the rising edge and the falling edge of said teeth; a first direction sensor for detecting the bit value of said teeth at a first predetermined position in response to the detection of said rising edge or said falling edge by said trigger sensor, wherein the first direction sensor is positioned 7 ⁢ d 8 from said trigger sensor, where d is equal to the distance between adjacent rising edges of said teeth; and a second direction sensor for detecting the bit value of the teeth at a second predetermined position in response to the detection of the rising edge or the falling edge by the trigger sensor, wherein the second direction sensor is positioned 9 ⁢ d 8 from said trigger sensor; and in that said processor determines, based on the input (S A) from the first direction sensor and the input (S R) from the second direction sensor, the direction of travel of said rotating member, wherein the rotating member is determined to be traveling in a reverse direction if the condition S A ⁢ or NOT S R = 1 holds, and wherein S A denotes the input from the first direction sensor and S R denotes the input from the second direction sensor. a rotating member having a predetermined number of teeth angularly spaced about its circumference at predetermined distances to form a bit pattern; at least one sensor capable of detecting a rising edge and a falling edge of said teeth, wherein said at least one sensor comprises a predetermined number of position sensors (36, 37, 38); and a processor configured to detect at least a portion of said bit pattern based on inputs from said at least one sensor; characterized in that said bit pattern is encoded based on a Manchester coding technique; said processor determines, based on inputs from said position sensors (36, 37, 38), a static angular position of said rotating member, wherein the spatial detection apparatus comprises a trigger sensor for detecting the rising edge and the falling edge of said teeth; a first direction sensor for detecting the bit value of said teeth at a first predetermined position in response to the detection of said rising edge or said falling edge by said trigger sensor, wherein the first direction sensor is positioned 7 ⁢ d 8 from said trigger sensor, where d is equal to the distance between adjacent rising edges of said teeth; and a second direction sensor for detecting the bit value of the teeth at a second predetermined position in response to the detection of the rising edge or the falling edge by the trigger sensor, wherein the second direction sensor is positioned 9 ⁢ d 8 from said trigger sensor; and in that said processor determines, based on the input (S A) from the first direction sensor and the input (S R) from the second direction sensor, the direction of travel of said rotating member, wherein the rotating member is determined to be traveling in a reverse direction if the condition S A ⁢ or NOT S R = 1 holds, and wherein S A denotes the input from the first direction sensor and S R denotes the input from the second direction sensor.