How frc-gforce/rebuild2026 works
This is a WPILib command-based FRC robot program. The principal workflow is operator input through the robot’s command bindings into drive and game-piece mechanisms; autonomous commands coordinate path following with intake and shooting actions. Separate subsystems provide differential or swerve driving, vision-assisted pose updates, rear intake, feed, and intake/shooter control. Motor adapters and shared utilities form the hardware and configuration layer. The README is empty, and wiring details in RobotContainer and several command implementations are inferred from the tree rather than sampled source, so uncertain call links are omitted.
Main entry points: motors Motor adapters · RobotContainer.java Robot bindings · SwerveDriveSubsystem.java Swerve drive · commands Intake and shoot commands
Components 20
Robot runtime
- Startup
src/main/java/frc/robot/Main.java - Robot lifecycle
src/main/java/frc/robot/Robot.java - Robot bindings
src/main/java/frc/robot/RobotContainer.java
Operator and autonomous control
- Controller adapters
src/main/java/frc/robot/controller - Drive commands
src/main/java/frc/robot/commands - Intake and shoot commands
src/main/java/frc/robot/commands - Autonomous routines
src/main/java/frc/robot/commands/Autos.java
Drive and game-piece mechanisms
- Swerve drive
src/main/java/frc/robot/subsystems/swervedrive/SwerveDriveSubsystem.java - Tank drive
src/main/java/frc/robot/subsystems/tankdrive/TankDrive.java - Intake and shooter
src/main/java/frc/robot/subsystems/intakexshooter/IntakeXShooter.java - Feed mechanism
src/main/java/frc/robot/subsystems/feed/Feed.java - Rear intake
src/main/java/frc/robot/subsystems/backintake/BackIntake.java
Hardware and shared utilities
- Field utilities
src/main/java/frc/robot/utils/FieldUtils.java - Motor adapters
src/main/java/frc/robot/motors - Motor factory
src/main/java/frc/robot/utils/MotorFactory.java - Tunable numbers
src/main/java/frc/robot/utils/LoggedTunableNumber.java
Other components
- Operator
- PathPlanner
- Limelight vision
- Motor controllers
Connections 25
- Startup → Robot lifecycle: starts
- Robot lifecycle → Robot bindings: uses bindings
- Operator → Controller adapters: provides input
- Robot bindings → Controller adapters: configures
- Robot bindings → Drive commands: binds controls
- Robot bindings → Intake and shoot commands: binds controls
- Robot bindings → Autonomous routines: selects routines
- Drive commands → Swerve drive: commands drive
- Drive commands → Tank drive: commands drive
- Intake and shoot commands → Intake and shooter: commands mechanism
- Intake and shoot commands → Feed mechanism: commands feed
- Intake and shoot commands → Rear intake: commands intake
- Autonomous routines → PathPlanner: requests paths
- Autonomous routines → Intake and shoot commands: schedules actions
- Swerve drive → PathPlanner: configures path following
- Swerve drive → Limelight vision: adds vision measurements
- Swerve drive → Field utilities: reads field data
- Tank drive → Motor adapters: uses motors
- Swerve drive → Motor controllers: drives modules
- Motor factory → Motor adapters: creates adapters
- Motor adapters → Motor controllers: controls
- Intake and shooter → Motor adapters: uses motors
- Feed mechanism → Motor adapters: uses motors
- Rear intake → Motor adapters: uses motors
- Tunable numbers → Limelight vision