Skip to content

AEMBOT's robot code for the 2022 game RAPID REACT.

Notifications You must be signed in to change notification settings

AEMBOT/FRC_2022

Repository files navigation

FRC_2022

AEMBOT 6443's 2022 FRC Repository

Requirements

To build this repository and to push to the robot, FRC tools including wpilib are required.

  1. Download and install the FRC Game Tools from NI.
  2. Following the guide provided by FIRST, download and install wpilib from GitHub.
  3. Install git (Full instructions here):
  • On Windows, download and install git using the official link
  • On most versions of Linux, git is included with the operating system. If not, you can install it with your package manager:
    • For Debian-based distributions: sudo apt install git-all
    • For RPM-based distributions: sudo dnf install git-all
  • On macOS, the best practice for installing git is to use the Xcode Command Line Tools. Run any git command in a Terminal (eg. git --version), and if git is missing, you will be prompted to install it.

Setup

  1. Clone this repository: You can use VSCode's builtin git tools to do this, or the command line: git clone https://github.com/LibertyRobotics/FRC_2022
  2. To build and deploy the project, use the VSCode keyboard shortcut Shift + F5, or access the Command Palette (Ctrl +Shift + P) and search for the Deploy Command.

About this Project

AEMBOT uses the WPILIB's Command-Based Programming pattern for implementing robot code. In this paradigm, robot sensors and actuators are grouped into subsystems, which expose an interface to Commands, which define the behaviors and states of the robot. Understanding the Command-based model is crucial to understanding this project. Learn more about Command-Based Programming here.

Key Bindings

Button Action Details
Primary Controller -- --
Joysticks Arcade Drive Currently set to lower power for Girls Gen and new user training
A Turn to Hub Requires hub to be in sight, will buzz if not
Start Advance climb sequence
Secondary Controller -- --
A Run intake roller belts
X Run intake roller belts in reverse
B Ramp up and advance shooter/indexer
Left/Right Bumper Raise/lower intake No need to hold down
DPad up/down Manually increment/decrement shooter RPM offset

Resources

Robots. Don't. Quit. Robots. Don't. Quit.

About

AEMBOT's robot code for the 2022 game RAPID REACT.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages