Installation Manual For ROS
Installation Manual For ROS
Installation Manual For ROS
This manual contains information on how to install and setup Ubuntu, ROS, and other libraries
on a computer, needed for the project. I have tested this guide in a new computer after writing it
and it worked well. Alongside some elements, I put a link to the tutorial that I used to learn how
to use that. It is not mandatory to follow them for a proper installation.
1. Install Ubuntu
Download Ubuntu 14.04 Trusty 32 bits (it needs to be 14.04).
https://www.ubuntu.com/download/desktop.
Only if you are at Polytechnique Montreal, or any institute with eduroam, you will not be able to
connect to the internet during the installation. Its ok. After installation, using other PC, follow
this guide to connect to eduroam on your new Ubuntu installation.
http://www.polymtl.ca/si/service/portables/accesReseau/doc/Ubuntu12_04_eduroam_g2.pdf
Open the terminal and run to install the updates that werent installed during installation.
sudo apt-get update
sudo apt-get upgrade
If you do not know how to use Linux command line, follow this tutorial (from 1:20:00 to 2:30:00)
https://www.youtube.com/watch?v=wBp0Rb-ZJak
By the tutorials, you should know that there are various ways of building a ROS package
(rosbuild, catkin_make, catkin build). A workspace can accommodate only packages with the
same building scheme. We will create a working directory for catkin_make projects.
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/src
This creates the workspace catkin_ws and locates you in the source folder, where all the projects
must reside.
Be careful, there are many options. Be sure to select this one (Qt offline installer)
Move the .tar.xz that you just downloaded to /tmp/ folder.
Change your current folder to git (cd ~/git) or create it if it is not there (mkdir ~/git) and then
change it.
Follow this installation manual for qt creator: https://wiki.qt.io/Building_Qt_Creator_from_Git
(just at the end, use sudo: sudo make install INSTALL_ROOT=$INSTALL_DIRECTORY)
Every time you run qtcreator, make sure to run it from the terminal, so that environment
variables are loaded. If you want to launch it from the desktop icon, follow these instructions:
http://wiki.ros.org/IDEs#QtCreator
To install qtcreator plugins for ROS, follow this manual, including section 1.5
https://github.com/ros-industrial/ros_qtc_plugin/wiki/1.-How-to-Install-(Users)
8. Install Gazebo
Run the following commands on Ubuntu terminal.
https://github.com/pepemanboy/ping-pong-robot.git
Run the following lines
$cd ~
$mkdir melendez_ws
$git clone https://github.com/pepemanboy/ping-pong-robot.git