WLwind / line_follower

A ROS package that makes robot follow a line on the ground.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  1. rgb_image_topic
    The topic that published from a camera node (sensor_msgs/Image).
  2. cmd_vel_topic
    The topic published to the robot mobile base (geometry_msgs/Twist).
  3. display_img
    Whether or not to display the processed image in a window via OpenCV (default value is false).
  4. 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):
    #f03c15 red #ffeb3b yellow #259b24 green #2a36b1 blue #fafafa white #000000 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.

About

A ROS package that makes robot follow a line on the ground.


Languages

Language:C++ 48.3%Language:Python 39.8%Language:CMake 11.9%