I would like to construct a robocar that learns its environment (race track) by being shown an ideal one lap path under the control of the radio transmitter then, when the transmitter is turned OFF, 'races' on its own. (My car already gives up autonomous control when the transmitter is turned ON. It samples then passes on the steering and wheel driving PWM signals.) I am asking advice on how to create such a map then follow it. Do any of you know where I could find a flow diagram or a code structure that would accomplish this? What sensors would be needed besides or in addition to my two ultra sound sonars?
Thank you for your encouragement. I have decided after reading a dozen pages from http://robots.stanford.edu/papers/thrun.mapping-tr.pdfthat the system required to know the location and velocity of my Robocar at any given moment is beyond the capabilities of our 7-12th grade Public School STEM students.