Suppose a disc rotates like a record on a record player. The plate is half black and half white. Suppose you have an unlimited number of color sensors. How many color sensors do you need around the disk to determine the direction of rotation? Where should they be placed?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
We can place 2 color sensors right next to each other (actually you can place them however you want except directly opposite each other, but it's easier to understand then).
Then, we wait until both of them sense the black half of the plate (or analogously the white part). From this situation, we wait for one sensor to see the white (or black) part again and call the first sensor to see this A and the other one B. Now, we can be sure that the plate is rotating from A to B.