Skip to content

Latest commit

 

History

History
64 lines (56 loc) · 1.48 KB

turtlebot3_install_guide.md

File metadata and controls

64 lines (56 loc) · 1.48 KB

Installing Turtlebot3

Pre-Requisites

  1. Ubuntu 18.04

    • To check run the following command:
       lsb_release -a # The output must have Release: 18.04
  2. Have git installed

    • To check:
       git --version # Should execute without errors
    • If not installed run:
       sudo apt install git
  3. ROS Melodic Installed

    • To check, run the following commands:
       echo $ROS_PACKAGE_PATH # Output Must be /opt/ros/melodic/share[:...]
  4. 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

Installing Turtlebot3 and other required Packages

  1. Update Packages and Repositories

    sudo apt update && sudo apt upgrade
  2. 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
  3. Set turtlebot3 name

    echo "export TURTLEBOT3_MODEL=waffle_pi" >> ~/.bashrc
    source ~/.bashrc
  4. 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
  5. Test if everyhing works

    cd ~/catkin_ws
    source devel/setup.bash
    roslaunch turtlebot3_gazebo turtlebot3_empty_world.launch