The problem of the “Line Maze” in the FEZ Mini Robot is not the algorithm. The algorithm used in this program is well documented theory of Richard T. Vannoy.
This I have already programmed in C for a ATmega32 that directly test work reliably without much work. Convert it to C # for the FEZ Mini showed testing initially unreliable work. Further analysis showed that by not “real time” of the FEZ prevent more problems than I had thought. For this I have several actions to be here less bothered by it.
As a solution for the random “active” from the Garbage Collection process in order to force it out of time-critical moments, so you can expect that this process does not start in a time critical part of the program.
At first I used to wheel rotation sensors to control the spin. The wheel rotation sensor works based interrupts, by counting the pulses is nothing wrong but it appeared that at the time of reading the “counter” it has not always been updated so you worked with a false value. Using the system clock gives a better result.
At our club we will soon launch a workshop on “Robot Programming with C #” and for that we use the FEZ Mini robot kit, there have been 20 participants signed up and have already bought FEZ Mini Robot.
The aforementioned movies are my preparation exercise results from the second workshop day. My idea was to linemaze exercise as homework after the workshop to give, but from my experience that seems too complex and no longer sensible.