mirror of
https://github.com/Team4388/Shirt-Cannon.git
synced 2026-06-09 00:28:01 -06:00
Add best guess base robot code
Remove unused items
This commit is contained in:
@@ -1,42 +1,36 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2018-2019 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
package frc4388.robot;
|
||||
|
||||
import frc4388.utility.LEDPatterns;
|
||||
|
||||
/**
|
||||
* 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.
|
||||
* 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.
|
||||
*
|
||||
* <p>It is advised to statically import this class (or one of its inner classes) wherever the
|
||||
* <p>
|
||||
* 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 final class DriveConstants {
|
||||
public static final int DRIVE_LEFT_FRONT_CAN_ID = 2;
|
||||
public static final int DRIVE_RIGHT_FRONT_CAN_ID = 4;
|
||||
public static final int DRIVE_LEFT_BACK_CAN_ID = 3;
|
||||
public static final int DRIVE_RIGHT_BACK_CAN_ID = 5;
|
||||
|
||||
public static final int DRIVE_PIGEON_ID = 6;
|
||||
public static final class DriveConstants {
|
||||
public static final int DRIVE_LEFT_CAN_ID = 2;
|
||||
public static final int DRIVE_RIGHT_CAN_ID = 3;
|
||||
}
|
||||
|
||||
public static final int SMARTDASHBOARD_UPDATE_FRAME = 2;
|
||||
}
|
||||
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;
|
||||
}
|
||||
|
||||
public static final class LEDConstants {
|
||||
public static final int LED_SPARK_ID = 0;
|
||||
public static final class HornConstants {
|
||||
public static final int HORN_SOLENOID_ID = 0;
|
||||
}
|
||||
|
||||
public static final LEDPatterns DEFAULT_PATTERN = LEDPatterns.FOREST_WAVES;
|
||||
}
|
||||
|
||||
public static final class OIConstants {
|
||||
public static final int XBOX_DRIVER_ID = 0;
|
||||
public static final int XBOX_OPERATOR_ID = 1;
|
||||
}
|
||||
public static final class OIConstants {
|
||||
public static final int CONTROLLER_ID = 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user