Last active
September 5, 2019 23:08
-
-
Save AlbertoCasasOrtiz/db2d888373016151f4aac3d1724e1fbf to your computer and use it in GitHub Desktop.
Install turtlebot3 in Ros Melodic and use with Gazebo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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