This paper presents the integration of a technique for sensing distance with sensors and a Boolean algebra algorithm to implement a controller for use in positioning-speed-angling control of a line-tracing vehicle. A vehicle was outfitted with four photosensors to detect black lines marked on the ground, to create digital input signals to a controller. An ultrasonic sensor added to the vehicle determined the distance between the vehicle and an object to provide input to the controller for speed and vehicle positioning. Two photo-encoders positioned by the rear wheels determined the distance the vehicle traveled to provide feedback for controlling the speed and angle of the vehicle. A programmable logical controller (PLC) was used as the control core for the line-tracing vehicle. A relay-based wiring logical circuit and a PLC-based programming logical circuit were deduced using a Boolean algebra algorithm and integrated as the primary core circuits. The performance results indicate that the technology works. The example can also serve as a case study to show how to design and implement a direction-speed-position controller for use in positioning/speed/angling control of other automated guideline vehicles.