Difference between revisions of "Proj-2013-2014-RobAIR-2/getStarted"
Line 1: | Line 1: | ||
+ | |||
+ | |||
= Requirement = |
= Requirement = |
||
Line 7: | Line 9: | ||
= ROS installation = |
= ROS installation = |
||
− | First of all, you need to install ROS |
+ | First of all, you need to install ROS. |
+ | IMPORTANT : This tutorial is based on the Hydro version of ROS. If the version is different, you have to adapt the following commands ! |
||
− | |||
== Set up your sources.list == |
== Set up your sources.list == |
||
Line 70: | Line 72: | ||
| align=left | <code><nowiki></nowiki> |
| align=left | <code><nowiki></nowiki> |
||
sudo rosdep init |
sudo rosdep init |
||
+ | <nowiki></nowiki></code> |
||
+ | |} |
||
+ | {| class="wikitable centre" width="80%" |
||
+ | |- |
||
+ | | align=left | <code><nowiki></nowiki> |
||
rosdep update |
rosdep update |
||
<nowiki></nowiki></code> |
<nowiki></nowiki></code> |
||
|} |
|} |
||
+ | |||
+ | == Set up your environment == |
||
+ | This way, the ROS environment variables are automatically added to your bash session every time a new shell is launched : |
||
+ | {| class="wikitable centre" width="80%" |
||
+ | |- |
||
+ | | align=left | <code><nowiki></nowiki> |
||
+ | echo "source /opt/ros/hydro/setup.bash" >> ~/.bashrc |
||
+ | <nowiki></nowiki></code> |
||
+ | |} |
||
+ | {| class="wikitable centre" width="80%" |
||
+ | |- |
||
+ | | align=left | <code><nowiki></nowiki> |
||
+ | source ~/.bashrc |
||
+ | <nowiki></nowiki></code> |
||
+ | |} |
||
+ | |||
+ | If you just want to change the environment of your current shell, you can type : |
||
+ | {| class="wikitable centre" width="80%" |
||
+ | |- |
||
+ | | align=left | <code><nowiki></nowiki> |
||
+ | source /opt/ros/hydro/setup.bash |
||
+ | <nowiki></nowiki></code> |
||
+ | |} |
||
+ | |||
+ | == Install Rosinstall == |
||
+ | Rosinstall is frequently used for installing specific package and download specific code : |
||
+ | {| class="wikitable centre" width="80%" |
||
+ | |- |
||
+ | | align=left | <code><nowiki></nowiki> |
||
+ | sudo apt-get install python-rosinstall |
||
+ | <nowiki></nowiki></code> |
||
+ | |} |
||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
Revision as of 00:45, 28 January 2014
Requirement
- Ubuntu OS, but ONLY one of the following version : 12.04 (LTS The Precise Pangolin), 12.10 (The Quantal Quetzal) or 13.04 (The Raring Ringtail)
- An Internet connection
- Patience and terminal skills
ROS installation
First of all, you need to install ROS. IMPORTANT : This tutorial is based on the Hydro version of ROS. If the version is different, you have to adapt the following commands !
Set up your sources.list
Proceed as follow (depending of your version) :
- 12.04 (LTS The Precise Pangolin
|
- 12.10 (The Quantal Quetzal)
|
- 13.04 (The Raring Ringtail)
|
Set up your key
|
Installation
Make sure everything is up-to-date :
|
Then install the most complete ROS installation :
|
Now take a break and watch your computer working.
Initialize rosdep
Rosdep is used to easily install system dependencies :
|
|
Set up your environment
This way, the ROS environment variables are automatically added to your bash session every time a new shell is launched :
|
|
If you just want to change the environment of your current shell, you can type :
|
Install Rosinstall
Rosinstall is frequently used for installing specific package and download specific code :
|