Package frc.robot

Class RobotContainer

java.lang.Object
frc.robot.RobotContainer

public class RobotContainer extends Object
Central Dependency Injection container for the robot. All subsystem instantiation and mode-based hardware selection (REAL vs SIM vs REPLAY) happens here.

Students: This is the only file you should need to modify when changing CAN IDs, adding new subsystems, or switching between hardware and simulation modes.

  • Constructor Details

    • RobotContainer

      public RobotContainer()
    • RobotContainer

      public RobotContainer(boolean buildDashboards)
  • Method Details

    • getAutonomousCommand

      public edu.wpi.first.wpilibj2.command.Command getAutonomousCommand()
    • getVision

      public MARSVision getVision()
    • getSwerveDrive

      public SwerveDrive getSwerveDrive()