This repo, it is assignment for the autonomous robots course given by Asst. Prof. Haluk BAYRAM which i took while i was doing my master's degree at Istanbul Medeniyet University.
There are two turtle robots in the application. One of them is responsible for following the other from a distance. The distance can be set in the json file.
- if you don't have ros installations your system and you are using ubuntu 20.4 distro. You can use my script. It's called rosinstallation.sh
source rosinstallion.sh
- Creating a catkin workspace
mkdir catkin_ws cd catking_ws mkdir src catkin_make
- Cloning the repository and building
cd ~/catkin_ws/src git clone https://github.com/volkanunal/TurtleSimFollowingRobot.git cd .. catkin_make
- Run roscore from terminal
roscore
- Run TurtleSim
rosrun turtlesim turtlesim_node
- To run the project and see the output in the TurtleSim
Open Terminal:
Open Another Terminal:
cd ~/catkin_ws/src source devel/setup.bash rosrun hw3 follower_robot
source devel/setup.bash rosrun hw3 control_robot