Package frc.robot

Class RobotContainer

java.lang.Object
frc.robot.RobotContainer

public class RobotContainer extends Object
Declares the robot's subsystems, operator interface devices, and command bindings.
  • 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

      public Command getAutonomousCommand()
      Use this to pass the autonomous command to the main Robot class.
      Returns:
      the command to run in autonomous