Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 909 Bytes

File metadata and controls

47 lines (32 loc) · 909 Bytes

Ball Follower Turtle

Requirements

  • Ubuntu 20.04
  • ROS neotic

Usage

Clone the repo in src folder of your ros workspace (catkin_ws). Build the package, source the package,

catkin_make
source /opt/ros/noetic/setup.bash
source ~/catkin_ws/devel/setup.bash

Firstly run the below node this will generate a video of a ball moving on a lemniscate.

rosrun ball_follower_turtle_cpp lemniscate_video_node

Video should be saved in the home directory of your ubuntu system./

Now open new terminal and run the following command

source /opt/ros/noetic/setup.bash
source ~/catkin_ws/devel/setup.bash

Now run the below launch file

roslaunch ball_follower_turtle_cpp start_controller.launch 

Now run the node to publish the video feed;

rosrun ball_follower_turtle_cpp publish_video_feed

GIF Example