line_follower
A ROS package that you can let your robot follow a line on the ground. You can draw a line or paste a piece of adhesive tape on the floor.
Launch files
- line_follower.launch
Run this launch file to start following.
Arguments
- rgb_image_topic
The topic that published from a camera node (sensor_msgs/Image). - cmd_vel_topic
The topic published to the robot mobile base (geometry_msgs/Twist). - display_img
Whether or not to display the processed image in a window via OpenCV (default value is false). - line_color
The color of the line that the robot will follow. You can set this argument to one of the following strings (default line_color is red):
red
yellow
green
blue
white
black
All the default argements are appropriate with Turtlebot2 and Kinect2
Published image topic
- robot_view_image
You can obtain the processed image by subscribing to this topic.