Files
Shirt-Cannon/src/main/java/frc4388/robot/Constants.java
T

39 lines
1.5 KiB
Java
Raw Normal View History

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 {
2022-07-04 22:02:13 -06:00
public static final int DRIVE_LEFT_LEADER_ID = 2;
public static final int DRIVE_RIGHT_LEADER_ID = 3;
public static final int DRIVE_LEFT_FOLLOWER_ID = 4;
public static final int DRIVE_RIGHT_FOLLOWER_ID = 5;
2022-04-26 14:55:02 -06:00
}
2022-04-25 16:47:06 -06:00
2022-04-26 14:55:02 -06:00
public static final class ShooterConstants {
2022-07-04 22:02:13 -06:00
public static final int SHOOTER_SOLENOID_BOTTOM_LEFT_OUTER_ID = 1;
public static final int SHOOTER_SOLENOID_BOTTOM_LEFT_INNER_ID = 2;
public static final int SHOOTER_SOLENOID_BOTTOM_RIGHT_INNER_ID = 3;
public static final int SHOOTER_SOLENOID_BOTTOM_RIGHT_OUTER_ID = 4;
public static final int SHOOTER_SOLENOID_TOP_LEFT_OUTER_ID = 5;
public static final int SHOOTER_SOLENOID_TOP_LEFT_INNER_ID = 6;
public static final int SHOOTER_SOLENOID_TOP_RIGHT_INNER_ID = 7;
public static final int SHOOTER_SOLENOID_TOP_RIGHT_OUTER_ID = 8;
2022-04-26 14:55:02 -06:00
}
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
}