Installation of ROS-Indigo on Ubuntu 14.04 LTS
Download from http://www.ubuntu.com/download
-
Install Chrome (from google page)
-
Install vim
$ sudo apt-get update $ sudo apt-get install vim
(see http://wiki.ros.org/indigo/Installation/Ubuntu)
-
Setup your sources.list
$ sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
-
Set up your keys
$ sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net --recv-key 0xB01FA116
-
Installation - Desktop-Full Install
$ sudo apt-get update $ sudo apt-get install ros-indigo-desktop-full
-
Initialize ROSdep (rosdep enables you to easily install system dependencies for source you want to compile and is required to run some core components in ROS.)
$ sudo rosdep init $ rosdep update
-
Environment setup
$ echo "source /opt/ros/indigo/setup.bash" >> ~/.bashrc $ source ~/.bashrc
-
Getting rosinstall
$ sudo apt-get install python-rosinstall
(see http://wiki.ros.org/ROS/Tutorials/InstallingandConfiguringROSEnvironment)
-
Create the workspace
$ mkdir -p ~/catkin_ws/src $ cd ~/catkin_ws/src $ catkin_init_workspace
-
Build the workspace
$ cd ~/catkin_ws/ $ catkin_make
-
Source the setup.bash in devel/ (echo into the .bashrc so that we won't need to source it every time we startup the system) (see "Mastering ROS for Robotic Programing", pp.27)
$ echo "source ~/catkin_ws/devel/setup.bash" >> ~/.bashrc $ source ~/.bashrc
-
Gazebo-ROS Interface
$ sudo apt-get install ros-indigo-gazebo-ros-pkgs ros-indigo-gazebo-msgs ros-indigo-gazebo-plugins ros-indigo-gazebo-ros-control
Models for Gazebo 2.2 (see http://answers.ros.org/question/199401/problem-with-indigo-and-gazebo-22/)
$ wget -r -R "index\.html*" http://models.gazebosim.org/
Copy them (the download place is inside
~/.gazebo/
) into~/.gazebo/models
folder (after you mkdir models inside~/.gazebo
) and everything will be ok. -
Moveit!
$ sudo apt-get install ros-indigo-moveit-full
-
Navigation Stack
$ sudo apt-get install ros-indigo-navigation
-
Gmapping
$ sudo apt-get install ros-indigo-gmapping
-
Joint_state_controller
$ sudo apt-get install ros-indigo-joint-state-controller
-
Joy (joystick)
$ sudo apt-get install ros-indigo-joy
-
USB camera
$ sudo apt-get install ros-indigo-usb-camera
-
Depthimage to laserscan
$ sudo apt-get install ros-indigo-depthimage-to-laserscan
-
Initiate the git in Ubuntu
$ git config --global user.name "Benson516" $ git config --global user.email "benson516@hotmail.com"
-
Clone this repository under /catkin_ws
$ cd /catkin_ws $ git clone https://github.com/Benson516/ROS_Practice.git
-
Rename the directory to src
$ mv ROS_Practice src
-
My Programs for practicing ROS at github
$ cd catkin_ws $ git clone https://github.com/Benson516/ROS_Practice.git
-
Examples in "Mastering ROS for Robotic Programing"
$ cd ~ $ git clone https://github.com/Benson516/mastering_ros.git