arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

Example Code

hashtag
2024 REV ION FRC Starter Bot Code

Below is a link to download the code for a 2024 REV ION FRC Starter Bot on GitHub! This example uses a MAXSwerve Drivetrain and is programmed in Java.

hashtag
Using the Starter Bot code without a MAXSwerve Drivetrain

If you are only using part of our design on your robot, you can still use this code to help you program! To find the code for each individual mechanism, navigate to:

Then, select one of the following subsystem programs to use

  • ArmSubsystem.java- raising and lowering the intake and launcher, also controls the climb

  • IntakeSubsystem.java - intaking notes and feeding them to the launcher

  • LauncherSubsystem.java

In addition to referencing the subsystem code, you will need to look at RobotContainer.java for information about button bindings, constant/variable names, and function names. To find RobotContainer.java navigate to:

- stopping and starting the flywheels on the launcher
2024 REV ION Starter Bot Code - GitHubarrow-up-right
2024-REV-ION-FRC-Starter-Bot/src/main/java/frc/robot/subsystems
2024-REV-ION-FRC-Starter-Bot/src/main/java/frc/robot