AEMBOT 6443's 2022 FRC Repository
To build this repository and to push to the robot, FRC tools including wpilib are required.
- Download and install the FRC Game Tools from NI.
- Following the guide provided by FIRST, download and install wpilib from GitHub.
- 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
- For Debian-based distributions:
- 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.
- 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
- To build and deploy the project, use the VSCode keyboard shortcut Shift + F5, or access the
Command Palette
(Ctrl +Shift + P) and search for theDeploy
Command.
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.
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 |