Package frc.robot
Class RobotContainer
java.lang.Object
frc.robot.RobotContainer
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionedu.wpi.first.wpilibj2.command.Command
-
Constructor Details
-
RobotContainer
public RobotContainer() -
RobotContainer
public RobotContainer(boolean buildDashboards)
-
-
Method Details
-
getAutonomousCommand
public edu.wpi.first.wpilibj2.command.Command getAutonomousCommand() -
getVision
-
getSwerveDrive
-