B.S. (Bachelor of Science)
Department of Computer Science
A C++ program was developed on a Raspberry Pi 3 Model B in order to control the speed and steering of a radio controlled car so that it would autonomously drive within a lane. Images were captured by a Raspberry Pi Camera Module V2 and processed using OpenCV to detect the lane in front of the car. In each image, the intersection point of the best fit lines through the two lines of the lane was used to determine the target speed and target steering angle of the car. The program generated a pulse width modulation signal which it sent to a DC motor and a servo motor on the car through the GPIO of the Raspberry Pi in order to achieve these target values and guide the car to follow the lane.
Myers, Nicole F., "RC to Rp Car Conversion" (2017). Honors Capstones. 940.
Northern Illinois University
Rights Statement 2
NIU theses are protected by copyright. They may be viewed from Huskie Commons for any purpose, but reproduction or distribution in any format is prohibited without the written permission of the authors.