Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Uploading Code to the Jetson

Tom Nurse edited this page Nov 23, 2021 · 2 revisions

To upload code, it's best to connect the boat to the ethernet switch in the lab and pull from git. There is an ethernet cable connected to the network switch in the lab (next to the lab computer) which is long enough to reach the boat.

IMPORTANT: Before you can upload code, you will need to let the eth0 interface autoconfigure (by default it is configured by the startup.sh script for use with telemetry). This means you will need to modify the startup.sh file and comment out the ifconfig eth0 ... command with a #. You then must restart the Jetson. This will let the boat connect over ethernet to the internet. Once you've uploaded code, be sure to uncomment this line and either reboot or run it in terminal, otherwise you wont be able to ssh into the boat with the telemetry.

Logging in using the micro USB connection

  1. Power up the Jetson and plug the micro USB cable
  2. Launch a new Terminal and type screen /dev/ttyACM0 115200
  3. Wait for the login prompt (it may take a minute), then log in

Note: If this doesn't work, unplug the cable, run ls /dev, plug the cable back in, then run ls /dev again. Based on the difference between the two outputs, you should be able to determine which device is the correct one. For instance, on a mac you might instead be looking for something like /dev/tty.usbmodem1234.... instead of /dev/ttyACM0.

Clone this wiki locally