Requirement: Ubuntu 18.04, ros-melodic
- create a catkin_workspace
mkdir -p catkin_ws/src
cd catkin_ws
catkin_make
source devel/setup.bash- download requirement dependencies and source code:turtlebot3,turtlebot3_msgs,turtlebot3_simulation (make sure download melodic version)
cd src
git clone https://github.com/ROBOTIS-GIT/turtlebot3.git
git clone https://github.com/ROBOTIS-GIT/turtlebot3_msgs.git
git clone https://github.com/ROBOTIS-GIT/turtlebot3_simulations.git
https://github.com/minnib578/trajectory_tracking.git
cd ..
catkin_make
source devel/setup.bash- Straghtline
roslaunch trajectory_tracking gazebo_tb3_sim.launch
rosluanch trajectory_tracking stragthline.launch- Circle
roslaunch trajectory_tracking gazebo_tb3_sim.launch
rosluanch trajectory_tracking circle.launch