Jetson Nano U20 Installation - BlueJayADAL/JayRadar GitHub Wiki

Hardware Requirements

The following hardware is needed:

  1. Jetson Nano 4gb
  2. Micro SD Card (32gb minimum)
  3. USB WebCam

Flash the Image

Flash the Micro SD card on your dev kit with belenaEtcher and the image from Qengineering.

Update, Upgrade, Autoremove

Let's start the familiar apt update, upgrade, and auto-remove to make sure the device is up to date.

sudo apt-get update
sudo apt-get upgrade
sudo apt-get auto-remove

Install JayRadar

First clone the repository, and navigate into that folder.

git clone https://github.com/BlueJayADAL/SCARP2023-JayRadar
cd ./SCARP2023-JayRadar

API Installation

Then install dependencies. Feel free to create a virtual environment first.

cd /api
pip3 install -r requirements.txt

Client Installation

cd ../client
sudo apt-get install npm
sudo npm install
sudo npm run build

Finally, update constants.py with your ip address, and networktable ip address.

Then you can run main.py in backend. Make sure to navigate to the backend directory first though.

cd /absolute_path_here/SCARP2023-JayRadar/backend
python3 ./main.py

OS Changes

First, I recommend changing the default desktop environment to multi-user. This will disable the graphical interface by default.

sudo systemctl set-default multi-user.target
sudo reboot

You will now have to log into the jetson on boot. The default username and password is jetson, jetson. To launch light dm, log in then enter the following command:

sudo systemctl start lightdm

Development notes

You can run main.py with the --localhost or -l flag to host on your local machine regardless of the constants.py ip address.

⚠️ **GitHub.com Fallback** ⚠️