Skip to content

ArnavIyer/ball-chaser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ball Chasing Robot

screenshot

Description

This project is a virtual robot that finds and moves toward a white ball.

Dependencies

  • ROS Melodic
  • Gazebo
  • C++

Launching The Project

First, create a catkin workspace and a src folder to house the project.

$ mkdir -p catkin_ws/src
$ cd catkin_ws/src
$ catkin_init_workspace

Next, put the my_robot and ball_chaser directories into the src folder. After this, go to the catkin_ws directory and build the project.

$ catkin_make

To launch the project, first launch the Gazebo world.

$ source devel/setup.bash
$ roslaunch my_robot world.launch

In a new terminal, launch the ball chaser node.

$ source devel/setup.bash
$ roslaunch ball_chaser ball_chaser.launch

Finally, go to Gazebo, move the white ball around, and watch the robot move toward it.

About

A ball chasing robot using ROS and Gazebo.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published