For an intelligent vehicle driving which uses magnetic markers and magnetic sensors, it can get every kind of road information while moving the vehicle if we use the code that is encoded with N, S pole direction of makers. If there make it an only aim to move the vehicle, it becomes easy to control the vehicle the more we put markers close. By the way, to recognize the direction of a marker pole it is much better that the markers have no interference each other. To get road information and move the vehicle autonomously, the method of arranging magnetic sensors and algorithm of recognizing the position of the vehicle with those sensors was proposed. The effectiveness of the methods was verified with computer simulation.