[Official guide: link]
- Configure your Ubuntu repositories to allow “restricted,” “universe,” and “multiverse.” You can follow the Ubuntu guide for instructions on doing this.
- Boost and some of the ROS tools require that the system locale be set. You can set it with:
1sudo update-locale LANG=C LANGUAGE=C LC_ALL=C LC_MESSAGES=POSIX - Setup your computer to accept software from the ARM mirror on packages.ros.org:
1sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu trusty main" > /etc/apt/sources.list.d/ros-latest.list' - Set up your keys:
1sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net --recv-key 0xB01FA116 - Make sure your Debian package index is up-to-date:
1sudo apt-get update - Get ROS-base:
1sudo apt-get install ros-indigo-ros-base - Initialize rosdep:
123sudo apt-get install python-rosdepsudo rosdep initrosdep update - Environment setup:
12echo "source /opt/ros/indigo/setup.bash" >> ~/.bashrcsource ~/.bashrc - Getting rosinstall:
1sudo apt-get install python-rosinstall - Workspace creation:
123mkdir ~/catkin_wsmkdir ~/catkin_ws/srccd ~/catkin_ws - Launch a “make” to create the structure of the workspace:
1catkin_make - Add the workspace to environment path each time we open a new shell
-
1gedit ~/.bashrc
- Add the following line at the end of the file:
1source ~/catkin_ws/devel/setup.bash - Save the file and exit
-
- Finally if you are planning to use Computer Vision algorithms based on OpenCV making your own node or compiling existing external nodes you must follow THIS GUIDE to allow ROS to use “OpenCV4Tegra“