Skip to content

Contains the team's competition code for the 2024 Bell AVR season

Notifications You must be signed in to change notification settings

Jurassic001/HPBell_2024-25

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HPBell_2024-25

This repository contains code for the AVR and DEXI drones, as well as the ground RVR vehicle, for the 2024 Bell AVR competition season.

Feel free to come to Max or your team captains with any questions/issues you might have

Setup

First Timer Setup:

  1. Create a GitHub account

  2. Install Git for Windows

  3. Install Visual Studio Code

    • IMPORTANT: When installing make sure to check the "Add to PATH" box.
  4. Install Python for Windows

    • IMPORTANT: During installation check the "Install pip" & "Add Python to environment variables" boxes. Leave all other options as default.

Repository Setup:

  1. Open the command prompt

  2. 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
    
  3. 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.

How to use

Making changes:

  1. Go to the Source Control tab on the left
  2. Stage your changes (Click the plus on all files that you worked on)
  3. Write a short sentence about the changes you made
  4. Press commit
  5. Press sync

Getting changes:

  1. Press CTRL + Shift + P
  2. Type git pull
    • If it prompts you to choose a repository, select HPBell_2024-25

Connecting to drones

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.

Connecting to the Jetson on the AVR

  1. 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)
  2. 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
  3. Run putty.exe -ssh avr@drone -pw bellavr22
  4. 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

Connecting to the ARK on the DEXI

  1. Connect to the dexi_002d wifi network
    • Password is droneblocks
  2. Open the run dialogue on Windows or your terminal on any other machine
  3. Run putty.exe -ssh dexi@192.168.4.1 -pw dexi
  4. You are connected!

Misc

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

About

Contains the team's competition code for the 2024 Bell AVR season

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published