ROS Kinetic Kame

Source: https://www.geeksforgeeks.org/introduction-to-ros-robot-operating-system/

I am working on Camera Calibration with the belief that I am very close to a publication but for that I have certain experiments to perform, each of which takes about 2–3 days, as a result of which my GPU is busy and I have nothing to do during the experiments as my semester is also nearly finished so as always I started searching for openings in different research groups working in Computer Vision, more specifically autonomous driving or a related topic. Going through the search results, I found many groups as well as companies working in the desired domain but after going through the requirements, apart from MS or PhD, references, transcripts, research proposal, cover letter etc., one prominent “will be a plus” found was ROS. I have never used it but now will try to learn it so as to utilize my free time.

What I know about ROS

ROS is an open-source, meta-operating system for your robot. It provides the services you would expect from an operating system, including hardware abstraction, low-level device control, implementation of commonly-used functionality, message-passing between processes, and package management. It also provides tools and libraries for obtaining, building, writing, and running code across multiple computers.

This article is just about the steps for initial setup which are as follows:

Setup

Add mirror

sudo sh -c ‘echo “deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main” > /etc/apt/sources.list.d/ros-latest.list’

Add the key

sudo apt-key adv — keyserver ‘hkp://keyserver.ubuntu.com:80’ — recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654

Update package lists

sudo apt-get update

Install ROS

sudo apt-get install ros-kinetic-desktop-full

RosDep is a tool that enables to easily install system dependencies and is also required to run some core components of ROS.

Initialize RosDep

sudo rosdep init
rosdep update

Setup the environment to add some essential ROS environment variables

echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc
source ~/.bashrc

Install Dependencies for Building ROS Packages

sudo apt install python-rosinstall python-rosinstall-generator python-wstool build-essential

References