How robo-montagnards-7471/csh-7471-2026 works
This is an FRC robot-control application. Its runtime starts the WPILib robot lifecycle, reads driver input, and dispatches teleoperated control to mechanisms; the command-based container separately configures swerve driving and autonomous support. The main stages are lifecycle, operator input, drive control, and mechanism actuation, with vision and autonomous commands as driving capabilities. The README identifies the robot project but documents no further behavior; several peripheral component implementations and wiring details are therefore not inferred.
Main entry points: RobotContainer.java Command Container · Robot.java Robot Lifecycle · SwerveSubsystem.java Swerve Subsystem · Controller.java Controller Input
Components 20
Robot Runtime
- WPILib Entry
Robot/src/main/java/frc/robot/Main.java - Robot Lifecycle
Robot/src/main/java/frc/robot/Robot.java - Command Container
Robot/src/main/java/frc/robot/RobotContainer.java - Hardware Config
Robot/src/main/java/frc/robot/Config.java - Drive Constants
Robot/src/main/java/frc/robot/Constants.java
Operator Input
- Controller Input
Robot/src/main/java/frc/robot/components/Controller.java - Stick Position
Robot/src/main/java/frc/robot/data/StickPosition.java - Pilot Modifier
Robot/src/main/java/frc/robot/components/PilotModifier.java
Swerve Driving
- Swerve Subsystem
Robot/src/main/java/frc/robot/subsystems/swervedrive/SwerveSubsystem.java - Absolute Drive
Robot/src/main/java/frc/robot/commands/swervedrive/drivebase/AbsoluteDrive.java - Advanced Drive
Robot/src/main/java/frc/robot/commands/swervedrive/drivebase/AbsoluteDriveAdv.java - Field Drive
Robot/src/main/java/frc/robot/commands/swervedrive/drivebase/AbsoluteFieldDrive.java - Auto Balance
Robot/src/main/java/frc/robot/commands/swervedrive/auto/AutoBalanceCommand.java - Vision Estimation
Robot/src/main/java/frc/robot/subsystems/swervedrive/Vision.java - Swerve Deploy Config
Robot/src/main/deploy/swerve/neo/swervedrive.json
Robot Mechanisms
- Intake
Robot/src/main/java/frc/robot/components/Intake.java - Shooter
Robot/src/main/java/frc/robot/components/Shooter.java - Hub Distance
Robot/src/main/java/frc/robot/components/HubDistance.java - Climber
Robot/src/main/java/frc/robot/components/Climber.java
Other components
- Driver
Connections 25
- WPILib Entry → Robot Lifecycle: starts
Robot/src/main/java/frc/robot/Main.java - Robot Lifecycle → Command Container: initializes
Robot/src/main/java/frc/robot/Robot.java - Driver → Controller Input: operates
Robot/src/main/java/frc/robot/components/Controller.java - Robot Lifecycle → Controller Input: polls
Robot/src/main/java/frc/robot/Robot.java - Controller Input → Stick Position: creates
Robot/src/main/java/frc/robot/components/Controller.java - Command Container → Controller Input: creates
Robot/src/main/java/frc/robot/RobotContainer.java - Command Container → Pilot Modifier: creates
Robot/src/main/java/frc/robot/RobotContainer.java - Command Container → Swerve Subsystem: creates
Robot/src/main/java/frc/robot/RobotContainer.java - Robot Lifecycle → Intake: polls
Robot/src/main/java/frc/robot/Robot.java - Robot Lifecycle → Shooter: polls
Robot/src/main/java/frc/robot/Robot.java - Robot Lifecycle → Hub Distance: creates
Robot/src/main/java/frc/robot/Robot.java - Robot Lifecycle → Hardware Config: reads settings
Robot/src/main/java/frc/robot/Robot.java - Intake → Hardware Config: reads settings
Robot/src/main/java/frc/robot/components/Intake.java - Shooter → Hardware Config: reads settings
Robot/src/main/java/frc/robot/components/Shooter.java - Command Container → Swerve Deploy Config: loads configuration
Robot/src/main/java/frc/robot/RobotContainer.java - Command Container → Absolute Drive: configures drive
- Command Container → Advanced Drive: configures drive
- Command Container → Field Drive: configures drive
- Command Container → Auto Balance: configures autonomous
- Absolute Drive → Swerve Subsystem: drives
Robot/src/main/java/frc/robot/commands/swervedrive/drivebase/AbsoluteDrive.java - Advanced Drive → Swerve Subsystem: drives
Robot/src/main/java/frc/robot/commands/swervedrive/drivebase/AbsoluteDriveAdv.java - Field Drive → Swerve Subsystem: drives
Robot/src/main/java/frc/robot/commands/swervedrive/drivebase/AbsoluteFieldDrive.java - Auto Balance → Swerve Subsystem: controls
Robot/src/main/java/frc/robot/commands/swervedrive/auto/AutoBalanceCommand.java - Swerve Subsystem → Vision Estimation: uses estimation
Robot/src/main/java/frc/robot/subsystems/swervedrive/SwerveSubsystem.java - Swerve Subsystem → Drive Constants: uses limits
Robot/src/main/java/frc/robot/subsystems/swervedrive/SwerveSubsystem.java