ROS Kinetic Kame

Initial Setup


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

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


Add mirror

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

Add the key

sudo apt-key adv — keyserver ‘hkp://’ — 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