Skip to content

roboticsmgci/2022-robot

Repository files navigation

FRC 8574 (Audeamus)'s 2022 Season Robot


⚠ Make sure you deploy to the right robot!

Deploying to the wrong robot will permanently damage the motors. This code is designed for 03 (Everybot).

Thank you for a fun season!


Table of Contents

About

This is the code used for team 8574's robot in the 2022 FRC season. It was a chaotic yet enjoyable season; check out how we did at The Blue Alliance. This repository is technically now archived, but we may make small edits every so often.

Installation

  1. Follow this guide on installing WPILib. The latest 2022 version definitely works. The 2023 version has not been tested yet.

  2. Open the VSCode that was installation with WPILib

  3. Press Ctrl + Shift + P to open the command palette

  4. Search and select WPILib: Build Robot Code and wait for the process to complete

  5. Connect to the robot you want to deploy to

  6. Press Ctrl + Shift + P to open the command palette

  7. Search and select WPILib: Deploy Robot Code and wait for the process to complete

Contributing

The rules are generally lax, but here are a few ground rules.

  • The main branch should be updated with the most recent working code on the robot
  • Create a branch/fork to test new code, then merge into main once it works and is permanent
  • Commands must be ordered like the following:
    • commands/autonomous/ has commands used in autonomous
    • commands/common/ has complex command groups used often
    • commands/ has lower level commands
  • Includes must be ordered alphabetically, in categories by this order: header, third-party libraries, first-party include
  • Variables are named in camelCase, if they are in an object's scope (i.e. command private), add a m_ prefix
  • Follow the PEP 8 style guide