INSTALLING & GETTING STARTED WITH ROS | How to install ROS & How to setup Catkin Workspace on Ubuntu
Check out the full video tutorial by clicking on the image:
Full Tutorial Series: https://bit.ly/rostutorials
The below commands are for installing ROS Kinetic Kame on Ubuntu 16.04
Commands to install other versions of ROS will be updated soon. But you can even try to install those just by replacing ros-kinetic with ros-<your_distro_name> in the given commands. You can click on watch repository icon to know whenever I update the commands.
If you find these steps useful, please give a ⭐ to this repository by clicking on the option on top-right corner of the page 🙂
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-get update
sudo apt-get install ros-kinetic-desktop-full
sudo rosdep init
rosdep update
printf "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc
source ~/.bashrc
sudo apt-get install python-rosinstall
sudo apt install python-catkin-tools
sudo apt-get install ros-kinetic-tf-*
sudo apt-get install ros-kinetic-pcl-msgs ros-kinetic-mav-msgs ros-kinetic-mavros ros-kinetic-octomap-* ros-kinetic-geographic-msgs libgeographic-dev
mkdir catkin_ws
cd catkin_ws
mkdir -p src
cd src
catkin_init_workspace
printf "source ~/catkin_ws/devel/setup.bash" >> ~/.bashrc
cd ~/catkin_ws
catkin_make
source ~/catkin_ws/devel/setup.bash
On Ubunutu 16.04, you should have ROS Kinetic with Gazebo 7,
whereas on Ubuntu 18.04, you should have ROS Melodic with Gazebo 9
rosversion -d
gazebo -v
http://wiki.ros.org/ROS/Tutorials
Try to complete the Begineer Level tutorials.
If you have any doubts, you can let me know!
If you have reached till here and found these steps helpful,
please give a ⭐ to this repository by clicking on the option on top-right corner of the page 🙂
This will help me make more such useful tutorials for you. Thank You! ✌🏻