JetsonExample contains the default code that powers the VEX AI system, from processing image data and running the AI model to detect objects for the VEX V5 Brain.
JetsonImages is where you will find how to get the most up-to-date image of the NVIDIA Jetson Nano and Raspberry Pi 5 and instructions on how to install the SD card image and or building from source.
JetsonWebDashboard is where you will find the source code for the VEX AI Web Dashboard that runs on the Jetson Nano/Raspberry Pi.
V5Example contains the ai_demo V5 Project which has examples on how to connect with the Jetson Nano/Raspberry Pi and how to interpret and process the data from the board on the V5 Brain
- Turn on the Jetson Nano, wait a few minutes for it to boot up and start the bluetooth service
- On Windows 11, open Settings > Bluetooth & devices > Devices > View more devices
- Under "Device Settings," set "Bluetooth devices discovery" to "Advanced"
- Click "Add device" and select "Bluetooth" then select
msoe-nano1from the list - Once connected, find
msoe-nano1in the list of devices, click the three dots next to it, and select "Join Person Area Network (PAN)" - Select "Access Point" from the dropdown and click "Connect"
- Connect to the Jetson Nano through the Bluetooth PAN as described above
- Next, edit
C:\Users\%USERNAME%\.ssh\configYou can open it in VSCode with this command:code C:\Users\%USERNAME%\.ssh\config - Add this to the file:
Host msoe-nano* HostName msoe-nano User msoe - Save the file
- After updating your SSH config file, run this command to check if you have an SSH key made:
dir C:\Users\%USERNAME%\.ssh - If you see a file ending in
.pub, skip this step. Otherwise, run this command and don't forget to replace with your email. Type enter to accept the default options for file location and to leave the passphrase blank.ssh-keygen -t ed25519 -C "your_email@example.com" - Run this command (change the path to the SSH key if needed), enter the password for the Jetson Nano user, then type
exitto close the connectiontype C:\Users\%USERNAME%\.ssh\id_ed25519.pub | ssh msoe-nano "cat >> ~/.ssh/authorized_keys" - In a new command prompt, run this command
ssh msoe-nano - Check that you see this:
msoe@msoe-nano1:~$ - If you do, congrats! You're all set to run commands on the Jetson Nano from your device!
- Connect to the Jetson Nano through the Bluetooth PAN as described above
- Open a web browser and navigate to
http://msoe-nano:3000/#/
git pull && git submodule update && sudo systemctl restart vexai.service && sudo journalctl -efu vexai.service --since "1 sec ago"