The dual-vehicle system uses TI's 32-bit high performance, low-cost, low-power MSP432P401R as a control kernel to design a car-following system for a given multitasking situation. The vehicles have a controllable speed in this system, follow the track, and are capable of performing multiple tasks in conjunction with each other. The main body of the vehicle includes an encoder to obtain the current wheel speed, a greyscale detector, an OpenMV to obtain the track information, and an ultrasound distance measurement module to control the vehicle distance. In addition, the dual vehicles communicate with each other through Bluetooth modules to ensure that the vehicle tracking system can start and stop nearly simultaneously. During the driving process, both cars can smoothly follow the black track and perform the corresponding tasks of overtaking and parking. This system meets the requirements of design and the operation process shows excellent performance.