Abstract
In this paper, we directly implemented the Line Tracer ROS package that can detect and follow lines drawn on the map on Gazebo, an open-source that is widely used in autonomous driving research. For line detection, the cv_bridge package was used to enable OpenCV's image processing tools, and parameters such as robot speed, line color and ground material could be changed. In addition, proportional (P) and PID controls could be implemented using the color centroid obtained through image processing. Through this approach, the effect of proportional and differential coefficients on the robot's line tracer motion could be analyzed effectively. In addition, by displaying robot simulation results using various tools of ROS, an efficient development for control nodes could be established in ROS.