Jetson Nano U20 Installation - BlueJayADAL/JayRadar GitHub Wiki
The following hardware is needed:
- Jetson Nano 4gb
- Micro SD Card (32gb minimum)
- USB WebCam
Flash the Micro SD card on your dev kit with belenaEtcher and the image from Qengineering.
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
First clone the repository, and navigate into that folder.
git clone https://github.com/BlueJayADAL/SCARP2023-JayRadar
cd ./SCARP2023-JayRadar
Then install dependencies. Feel free to create a virtual environment first.
cd /api
pip3 install -r requirements.txt
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
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
You can run main.py with the --localhost or -l flag to host on your local machine regardless of the constants.py ip address.