This repository contains code for the AVR and DEXI drones, as well as the ground RVR vehicle, for the 2024 Bell AVR competition season.
-
Create a GitHub account
-
Install Git for Windows
-
Install Visual Studio Code
- IMPORTANT: When installing make sure to check the "Add to PATH" box.
-
Install Python for Windows
- IMPORTANT: During installation check the "Install pip" & "Add Python to environment variables" boxes. Leave all other options as default.
-
Open the command prompt
-
Run this command to download this repo and open it (Will take 5-10 minutes):
git clone --recurse-submodules https://github.com/Jurassic001/HPBell_2024-25 Documents/VSCode/HPBell_2024-25 code Documents/VSCode/HPBell_2024-25
-
Once in VSCode, you're ready to start contributing!
- If you intend to work on the AVR code, your setup process isn't over. Run
code Documents/VSCode/HPBell_2024-25/AVR/AVR-2024
in the command prompt and take a look at the README to see what you need to do.
- If you intend to work on the AVR code, your setup process isn't over. Run
- Go to the Source Control tab on the left
- Stage your changes (Click the plus on all files that you worked on)
- Write a short sentence about the changes you made
- Press commit
- Press sync
- Press CTRL + Shift + P
- Type
git pull
- If it prompts you to choose a repository, select
HPBell_2024-25
- If it prompts you to choose a repository, select
First, install Putty. We'll use Putty to connect to the Jetson Nano (commonly referred to as the VMC) on the AVR drone and the ARK on the DEXI.
- Connect to the
Varsity Bells
wifi network- Password is
May152006!
- Depending on which Jetson is installed (the primary or the backup, the network might be named
Varsity Bells 2
)
- Password is
- Open the run dialogue on Windows or your terminal on any other machine
- The run dialogue (Windows + R) keeps a history of previous commands, so if you value efficiency and automation I highly recommend using it
- Run
putty.exe -ssh avr@drone -pw bellavr22
- You are in the command line of the Jetson now. If you don't know what commands to run, Google it (i.e. "How to move around in Linux command line) or look at some of the other README's in AVR-2024
- Connect to the
dexi_002d
wifi network- Password is
droneblocks
- Password is
- Open the run dialogue on Windows or your terminal on any other machine
- Run
putty.exe -ssh dexi@192.168.4.1 -pw dexi
- You are connected!
Template command to add git submodules (repositories inside repositories) to a repository:
git submodule add <Repository URL> <Submodule directory from root>
Command to remove remote branches from VSCode that have already been deleted on Github:
git fetch --prune