MissouriMRR / SUAS-2022

Missouri S&T Multirotor Robot Design Team's code for the Association for Unmanned Vehicle Systems International's 2022 Student Unmanned Aerial Systems Competition (AUVSI SUAS 2022)
MIT License
8 stars 0 forks source link

SUAS-2022

Missouri S&T Multirotor Robot Design Team's code for the Association for Unmanned Vehicle Systems International's 2022 Student Unmanned Aerial Systems Competition (AUVSI SUAS 2022)

Table of Contents

Codebase Structure

flight/  # Physical motor control, movement, path planning, and other flight related algorithms
vision/  # Mapping, shape & text detection, and other computer vision related algorithms
run.py  # Python program to run the competition code

integration_tests/  # Programs written to test discrete modules of the competition code

Information about files within each directory can be found in /<directory>/README.md

Requirements

To run our competition code, you will need:

Installation and Setup

Follow these instructions exactly based on your platform:

  1. Set up the development toolchain (platform dependent).

  2. Install the proper Python version (see Requirements) using pyenv on Linux and macOS. For Windows, get the executable from the Python website.

  3. Install Poetry)

  4. Clone PX4 Firmware repository (tutorial here)

  5. If testing without a drone, install a supported simulator

    • Currently, we primarily do simple development with jMAVSim, and complex development and testing in AirSim, so start with jMAVSim
    • Run the make command from inside the PX4 Firmware repository
  6. Clone the repository with git clone --recursive https://github.com/MissouriMRR/SUAS-2022.git

  7. In the root of the repository, run poetry install

Running and Testing Code

Contributing Code

  1. Clone the repository with git clone --recursive https://github.com/MissouriMRR/SUAS-2022.git
  2. Make sure you are on the most up-to-date develop branch with git switch develop then git pull
  3. Create a branch with the proper naming format (see Creating A Branch)
  4. Make changes in your branch and commit regularly (see Committing Code)
  5. Once changes are complete, push your code, go to GitHub, and submit a "Pull Request". Then, fill in the necessary information. Any issues your PR solves should be denoted in the description along with a note that the PR "Closes #XX" where XX is replaced with the issue number you are closing. Request a review from one of the software leaders on the upper right-hand side of the PR.
  6. Once it has been reviewed by the leads, it can be accepted and you can merge your branch into the develop branch.
  7. Once this is done, you may delete your branch, and the cycle continues...

Creating A Branch

License

We adopt the MIT License for our projects. Please read the LICENSE file for more info