2022-04-25 16:47:06 -06:00
|
|
|
package frc4388.robot;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The Constants class provides a convenient place for teams to hold robot-wide numerical or boolean
|
2022-04-26 14:55:02 -06:00
|
|
|
* 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.
|
2022-04-25 16:47:06 -06:00
|
|
|
*
|
2022-04-26 14:55:02 -06:00
|
|
|
* <p>
|
|
|
|
|
* It is advised to statically import this class (or one of its inner classes) wherever the
|
2022-04-25 16:47:06 -06:00
|
|
|
* constants are needed, to reduce verbosity.
|
|
|
|
|
*/
|
|
|
|
|
public final class Constants {
|
2022-04-26 14:55:02 -06:00
|
|
|
public static final class DriveConstants {
|
|
|
|
|
public static final int DRIVE_LEFT_CAN_ID = 2;
|
|
|
|
|
public static final int DRIVE_RIGHT_CAN_ID = 3;
|
|
|
|
|
}
|
2022-04-25 16:47:06 -06:00
|
|
|
|
2022-04-26 14:55:02 -06:00
|
|
|
public static final class ShooterConstants {
|
|
|
|
|
public static final int SHOOTER_LOWER_LEFTER_SOLENOID_ID = 1;
|
|
|
|
|
public static final int SHOOTER_LOWER_LEFT_SOLENOID_ID = 2;
|
|
|
|
|
public static final int SHOOTER_LOWER_RIGHT_SOLENOID_ID = 3;
|
|
|
|
|
public static final int SHOOTER_LOWER_RIGHTER_SOLENOID_ID = 4;
|
|
|
|
|
public static final int SHOOTER_UPPER_LEFTER_SOLENOID_ID = 5;
|
|
|
|
|
public static final int SHOOTER_UPPER_LEFT_SOLENOID_ID = 6;
|
|
|
|
|
public static final int SHOOTER_UPPER_RIGHT_SOLENOID_ID = 7;
|
|
|
|
|
public static final int SHOOTER_UPPER_RIGHTER_SOLENOID_ID = 8;
|
|
|
|
|
}
|
2022-04-25 16:47:06 -06:00
|
|
|
|
2022-04-26 14:55:02 -06:00
|
|
|
public static final class HornConstants {
|
|
|
|
|
public static final int HORN_SOLENOID_ID = 0;
|
|
|
|
|
}
|
2022-04-25 16:47:06 -06:00
|
|
|
|
2022-04-26 14:55:02 -06:00
|
|
|
public static final class OIConstants {
|
|
|
|
|
public static final int CONTROLLER_ID = 0;
|
|
|
|
|
}
|
2022-04-25 16:47:06 -06:00
|
|
|
}
|