Skip to content

Latest commit

 

History

History
36 lines (31 loc) · 844 Bytes

README.md

File metadata and controls

36 lines (31 loc) · 844 Bytes

Theif-Police

Chasing a Turtle by Another Turtle using ROS Turtlesim package

Create Catkin WorkSpace and clone Repo

cd ~
mkdir -p catkin_ws/src
cd catkin_ws/src
git clone git@github.com:hhojatansari/theif_police.git
cd ..
catkin_make

run project

if using bash:

source ~/catkin_ws/devel/setup.bash 

if using zsh:

source ~/catkin_ws/devel/setup.zsh 
roslaunch theif_police theif_police.launch 

to move theif turtle

rosrun turtlesim turtle_teleop_key /turtle1/cmd_vel:=/theif/cmd_vel

Alt Text

nodes and topics graph:

Alt Text

this package Used from this tutorial