Package frc.robot
Class RobotContainer
java.lang.Object
frc.robot.RobotContainer
Declares the robot's subsystems, operator interface devices, and command bindings.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidSets up the default commands for subsystems.Use this to pass the autonomous command to the mainRobotclass.
-
Constructor Details
-
RobotContainer
public RobotContainer()The container for the robot. Contains subsystems, OI devices, and commands.Configures IO implementations based on the current mode (Real, Sim, or Replay).
-
-
Method Details
-
configureDefaultCommands
public void configureDefaultCommands()Sets up the default commands for subsystems. -
getAutonomousCommand
Use this to pass the autonomous command to the mainRobotclass.- Returns:
- the command to run in autonomous
-