A WPILib project for testing prototype mechanisms on a test board (RoboRIO + motors only).
This project is designed for students to test subsystems independently, without needing a full robot drivetrain. All commands are exposed on SmartDashboard so you can run them from Shuffleboard.
- Left Motor (CAN 21): Kraken X60 - Leader
- Right Motor (CAN 22): Kraken X60 - Follower (opposed direction)
- Uptake Motor (CAN 20): Kraken X44
-
Add CAN IDs to
RobotMap.javapublic static final int kMyMotorPort = 30;
-
Add Constants to
Constants.javapublic static final class MySubsystemConstants { public static final double kMotorSpeed = 0.5; public static final Current kCurrentLimit = Amps.of(40); }
-
Create the Subsystem class in
subsystems/- Copy
ShooterSubsystem.javaas a template - Configure your motors
- Add command factory methods
- Copy
-
Register in
RobotContainer.java- Instantiate your subsystem
- Add commands to SmartDashboard
- Deploy code to the RoboRIO
- Open Shuffleboard
- Find your commands under the subsystem name (e.g., "Shooter/Run Shooter")
- Click the command button to run it
src/main/java/com/adambots/
├── Main.java # Entry point
├── Robot.java # Robot lifecycle
├── RobotContainer.java # Subsystem setup & dashboard commands
├── RobotMap.java # CAN IDs and port assignments
├── Constants.java # Subsystem constants
└── subsystems/
└── ShooterSubsystem.java