PID Turtlebot3 lane following projet using a Flora color sensor
The node subscribes to error topic of the calculate error node. This value is used to compute the robot command in order to follow the lane.
/Error
([std_msgs/Float32]) Error between the luminous intensity measured and the one targeted
/cmd_vel
([geometry_msgs/Twist]) Publishes the computed linear and angular speed of the robot
cd ~/catkin_ws/src/
git clone https://github.com/Thermay-Robotics/color_sensor_pid.git
cd ~/catkin_ws
catkin_make
roslaunch color_sensor_pid pid_color_sensor.launch