Lab Guide

Git and Visual Studio Code

  • Git: a nice tutorial about git can be found here
  • Visual Studio Code: if you don’t have any particular IDE that you prefer, Visual Studio Code is a quite powerful tool when combined with SSH FS extension.

    Example configuration:

      {
          "label": "MyTX2",
          "root": "/home/nvidia",
          "host": "172.28.X.Y",
          "port": 22,
          "username": "nvidia",
          "password": true
      }
    

TX2 Wifi Setup

Connect to YaleSecure using your NetID and password. Choose PEAP as the authentication method.

Teensy Programming

Follow the direction in https://www.pjrc.com/teensy/td_download.html to install Arduino and Teensyduino.

Once Arduino IDE is installed, download the following libraries (1, 2, 3), and then install them (see the screenshot below).

ROS Installation

Install ROS Kinetic (see http://wiki.ros.org/kinetic/Installation/Ubuntu)

sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
sudo apt-get update
sudo apt-get install ros-kinetic-desktop-full
sudo rosdep init
rosdep update
sudo apt-get install python-rosinstall python-rosinstall-generator python-wstool build-essential

Create a catkin workspace (assuming ROS Kinetic is installed)

source /opt/ros/kinetic/setup.bash
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws
catkin_make
echo "source ~/catkin_ws/devel/setup.bash" >> ~/.bashrc
source ~/.bashrc