This repo contains my ros workspace. It has the packages for turtlebot and turtlebot_simulator for gazebo this is for ROS melodic compatible with Ubuntu 18.04
How to do it for yourself :
- Install ROS melodic on Ubuntu 18.04, Open terminal
this is just the tip of the iceberg, you can see Official instalation Instruction
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
sudo apt update
sudo apt install ros-melodic-desktop-full
sudo rosdep init
rosdep update
echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
source ~/.bashrc
sudo apt install python-rosinstall python-rosinstall-generator python-wstool build-essential
- make a work space
mkdir ~/Anurag_turtlebot_ws
cd ~/Anurag_turtlebot_ws
mkdir src; cd src
git clone https://github.com/AnuragSahu/Exploring-my-Blender-world-with-Turtlebot-in-gazebo-with-ros-melodic.git
cd ..
catkin_make
- Take a break You must have encountered a lot of errors until now and you deserve a break, but if you are stuck at some point please make a issue I might be able to help you.
- Moment of truth! Run the code
source ~/Anurag_turtlebot_ws/devel/setup.bash
roslaunch turtlebot_gazebo turtlebot_world.launch