Skip to content

Andy-Leo10/robot_chase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

robot_chase

This program allows the user control the red robot, while the blue robot will automatically try to chase the other!

2023-11-08.16-33-47.mp4

Mandatory

  • Download the package of the robot and compile it
git clone https://github.com/Andy-Leo10/barista_robot_description.git
cd ~/ros2_ws/ ;colcon build --packages-select barista_robot_description; source install/setup.bash
  • Download this package and compile it
cd ~/ros2_ws/ ;colcon build --packages-select robot_chase; source install/setup.bash

Launch files

  • Start simulation with 2 robot-baristas
ros2 launch barista_robot_description barista_two_robots.launch.py
  • Run the hunter (blue robot)
ros2 run robot_chase robot_chase
  • Run away by keyboard input (red robot)
ros2 run teleop_twist_keyboard teleop_twist_keyboard --ros-args --remap cmd_vel:=/morty/cmd_vel

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published