[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:
sudo 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:
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu trusty 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
- Make sure your Debian package index is up-to-date:
sudo apt-get update
- Get ROS-base:
sudo apt-get install ros-indigo-ros-base
- Initialize rosdep:
sudo apt-get install python-rosdep 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
- Workspace creation:
mkdir ~/catkin_ws mkdir ~/catkin_ws/src cd ~/catkin_ws
- Launch a “make” to create the structure of the workspace:
catkin_make
- Add the workspace to environment path each time we open a new shell
-
gedit ~/.bashrc
- Add the following line at the end of the file:
source ~/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“