// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. package frc.robot; /** * The Constants class provides a convenient place for teams to hold robot-wide numerical or boolean * constants. This class should not be used for any other purpose. All constants should be declared * globally (i.e. public static). Do not put anything functional in this class. * *
It is advised to statically import this class (or one of its inner classes) wherever the * constants are needed, to reduce verbosity. */ public final class Constants { public static class OperatorConstants { public static final int kDriverControllerPort = 0; } public static class AdvantageKitConstants{ public enum RobotType{ SIM, REAL, REPLAY } public static final RobotType CURRENT_MODE = RobotType.REAL; } public static class TurretConstants{ public static final String kLimelightCameraName = "limelight_turret"; public static final int kRotationMotorId = 1; public static final int kRotationEncoderId = 1; public static final int kHoodMotorId = 2; public static final int kHoodEncoderId = 2; } }