ROS Installation on the Nvidia Jetson TK1 and Nvidia Jetson TX1

[Official guide: link]

  1. Configure your Ubuntu repositories to allow “restricted,” “universe,” and “multiverse.” You can follow the Ubuntu guide for instructions on doing this.
  2. 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
  3. 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'
  4. Set up your keys:
    sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net --recv-key 0xB01FA116
  5. Make sure your Debian package index is up-to-date:
    sudo apt-get update
  6. Get ROS-base:
    sudo apt-get install ros-indigo-ros-base
  7. Initialize rosdep:
    sudo apt-get install python-rosdep
    sudo rosdep init
    rosdep update
  8. Environment setup:
    echo "source /opt/ros/indigo/setup.bash" >> ~/.bashrc
    source ~/.bashrc
  9. Getting rosinstall: 
    sudo apt-get install python-rosinstall
    
  10. Workspace creation:
    mkdir ~/catkin_ws
    mkdir ~/catkin_ws/src
    cd ~/catkin_ws
  11. Launch a “make” to create the structure of the workspace:
    catkin_make
  12. Add the workspace to environment path each time we open a new shell
    1. gedit ~/.bashrc
    2. Add the following line at the end of the file:
      source ~/catkin_ws/devel/setup.bash
    3.  Save the file and exit
  13. 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

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.