Git Product home page Git Product logo

ericjohnson97 / avr-2022 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from the-avr/avr-2022

0.0 0.0 0.0 405.29 MB

The Advanced Vertical Robotics competition is a robotics competition put on by Bell Flight to challenge high school students to develop STEM skills outside of the classroom and work together to solve engineering challenges in a fun robotics competition in the vertical dimension.

Home Page: https://bellflight.github.io/AVR-2022/

License: MIT License

Shell 0.07% C++ 10.30% Python 86.83% CMake 0.31% Dockerfile 2.49%

avr-2022's Introduction

AVR-2022

Project Management

For Bell employees and partners, work items are tracked on Trello.

Structure

  • .github: GitHub Actions files
  • .vscode: VS Code settings
  • GUI: All-in-one GUI
  • PCC: PCC firmware
  • PX4: PX4 and MAVLink files
  • scripts: Development scripts
  • VMC: VMC flight software

Documentation is located on the docs branch.

Developer Setup

To do development work, you'll want to have Docker setup, along with Python 3.9 with the venv module.

If you need to install Python 3.9 on Linux, do the following:

sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt install python3-pip python3.9 python3.9-venv
sudo -H python3.9 -m pip install pip wheel --upgrade

If you want to build/run Docker images not on a Jetson, run

docker run --rm --privileged docker.io/multiarch/qemu-user-static --reset -p yes

once first.

Refer to individual module README files for specific instructions.

Repo Setup

Clone the repository with submodules:

git clone --recurse-submodules https://github.com/bellflight/AVR-2022
cd AVR-2022

If you already have the repo cloned, run

git submodule update --init --recursive

to initialize and/or update the submodules.

VS Code Setup

We recommend setting git.pullTags to false in VS Code workspace settings to prevent tag errors when doing git pull, along with installing the recommended extensions.

Python Setup

Create a Python 3.9 virtual environment:

py -3.9 -m venv .venv # Windows
python3.9 -m venv .venv # Linux

Activate the virtual environment:

.venv\Scripts\Activate # Windows
source .venv/bin/activate # Linux

Finally, you can install all the dependencies so you get autocomplete and type hinting:

python scripts/install_requirements.py

Running Containers on a Jetson

If on a Jetson, clone the repository and check out the git branch you want. You can now follow the instructions inside VMC/README.md to run the setup.py script and add --dev for development.

Note, with start.py commands, make sure to add --local to the command. This builds the Docker images locally rather than using prebuilt ones from GitHub CR.

avr-2022's People

Contributors

brandonhanner avatar cpadilla-bell avatar dependabot[bot] avatar ericjohnson97 avatar lanceriedel avatar nathanv-bell avatar nathanvaughn avatar noelbrownback avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.