-
Ubuntu 18.04
- To check run the following command:
lsb_release -a # The output must have Release: 18.04
- To check run the following command:
-
Have git installed
- To check:
git --version # Should execute without errors
- If not installed run:
sudo apt install git
- To check:
-
ROS Melodic Installed
- To check, run the following commands:
echo $ROS_PACKAGE_PATH # Output Must be /opt/ros/melodic/share[:...]
- To check, run the following commands:
-
Have a Catkin Workspace
- To check run the following Commands:
cd ~/catkin_ws/ # Or move to wherver your catkin workspace is located catkin_make # This should run, without any errors to 100% Completion
- To check run the following Commands:
-
Update Packages and Repositories
sudo apt update && sudo apt upgrade
-
Installing turtlebot3 and turtlebot3-msgs
sudo apt install ros-melodic-dynamixel-sdk sudo apt install ros-melodic-turtlebot3-msgs sudo apt install ros-melodic-turtlebot3
-
Set turtlebot3 name
echo "export TURTLEBOT3_MODEL=waffle_pi" >> ~/.bashrc source ~/.bashrc
-
Installing turtlebot3-simulations
cd ~/catkin_ws/src/ git clone -b melodic-devel https://github.com/ROBOTIS-GIT/turtlebot3_simulations.git cd ~/catkin_ws && catkin_make reboot # Will restart your sytem
-
Test if everyhing works
cd ~/catkin_ws source devel/setup.bash roslaunch turtlebot3_gazebo turtlebot3_empty_world.launch