Package frc.robot

Class RobotContainer

java.lang.Object
frc.robot.RobotContainer

@NullMarked public final class RobotContainer extends Object
This class is where the bulk of the robot should be declared. Since Command-based is a "declarative" paradigm, very little robot logic should actually be handled in the Robot periodic methods (other than the scheduler calls). Instead, the structure of the robot (including subsystems, commands, and button mappings) should be declared here.
  • Field Details

  • Constructor Details

  • Method Details

    • periodic

      public void periodic()
      Runs once per 0.02 seconds after subsystems and commands.