Skip to content

Instantly share code, notes, and snippets.

@AlbertoCasasOrtiz
Last active September 5, 2019 23:08
Show Gist options
  • Save AlbertoCasasOrtiz/db2d888373016151f4aac3d1724e1fbf to your computer and use it in GitHub Desktop.
Save AlbertoCasasOrtiz/db2d888373016151f4aac3d1724e1fbf to your computer and use it in GitHub Desktop.
Install turtlebot3 in Ros Melodic and use with Gazebo
#!/bin/bash
### Instalation
# Go to catkin src directory:
cd ~/catkin_ws/src/
# Source setup.bash
source ../devel/setup.bash
# Clone repositories for turtlebot and dependencie of msgs:
git clone https://github.com/ROBOTIS-GIT/turtlebot3_msgs.git
git clone https://github.com/ROBOTIS-GIT/turtlebot3_simulations.git
git clone https://github.com/ROBOTIS-GIT/turtlebot3.git
# Compile code:
cd ~/catkin_ws && catkin_make
### Execution
# Source setup.bash
source devel/setup.bash
# Execute turtlebot3 in Gazebo. Model can be waffle_pi or burger.
export TURTLEBOT3_MODEL=burger
roslaunch turtlebot3_gazebo turtlebot3_empty_world.launch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment