Skip to content

A line track follower robot with a camera sensor using ros2 and cv2

Notifications You must be signed in to change notification settings

Isa1asN/line_following_robot_ros2

Repository files navigation

Line Following Robot using ROS2 and OpenCV

Line Following Robot Video

Setup

Before running the robot, add the model path to the environment:

export GAZEBO_MODEL_PATH=/home/esayas/Desktop/line_follower/src/simple_robot_description/models:$GAZEBO_MODEL_PATH

Launch Gazebo Simulation

To launch the Gazebo simulation, use the following command:

ros2 launch simple_robot_description gazebo.launch.py

View Camera Feed

To view the camera feed, run the following command:

ros2 run image_tools showimage --ros-args --remap image:=/camera1/image_raw

Run Line Follower Script

To execute the line follower script, use the following command:

ros2 run simple_robot_description joint_commander

About

A line track follower robot with a camera sensor using ros2 and cv2

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages