Learn ROS with Turtlebot3 Simulation

Requirements

piya chanapol
Jun 22, 2021

Ubuntu Version : 18.xx

ROS Version : melodic

Installation

Install with apt-get command

  1. Follow the official quick start guide
TurtleBot3 (robotis.com)

Building from Source

  1. Clone main respiratory →ROS packages for Turtlebot3 (github.com)
cd ~/your_ws/src
git clone https://github.com/ROBOTIS-GIT/turtlebot3.git

2. Clone simulation package → Simulations for TurtleBot3 (github.com)

https://github.com/ROBOTIS-GIT/turtlebot3_simulations.git

3. Build the loaded packages

cd ./..
catkin build

broken picture

4. Use rosdep to install all dependencies

sudo apt-get install python-rosdep
  • Install dependency of all packages in the workspace
rosdep install --from-paths src --ignore-src -r -y

5. Try build again

catkin build

6. Source your workspace ***very important***

source ~/.bashrc

--

--