Changed IDs to make storage subsystem work

This commit is contained in:
keenandbuckley
2020-02-08 14:05:12 -07:00
parent 1f37fe9f4a
commit 33f974d6d9
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -30,13 +30,13 @@ public final class Constants {
public static final int INTAKE_SPARK_ID = 1;
}
public static final class StorageConstants {
public static final int STORAGE_CAN_ID = 10;
public static final int STORAGE_CAN_ID = 9;
public static final int BEAM_SENSOR_DIO_0 = 0;
public static final int BEAM_SENSOR_DIO_1 = 1;
public static final int BEAM_SENSOR_DIO_2 = 2;
public static final int BEAM_SENSOR_DIO_3 = 3;
public static final int BEAM_SENSOR_DIO_4 = 0;
public static final int BEAM_SENSOR_DIO_5 = 0;
public static final int BEAM_SENSOR_DIO_4 = 4;
public static final int BEAM_SENSOR_DIO_5 = 5;
}
public static final class LEDConstants {
public static final int LED_SPARK_ID = 0;
@@ -57,7 +57,7 @@ public class RobotContainer {
// continually sends updates to the Blinkin LED controller to keep the lights on
m_robotLED.setDefaultCommand(new RunCommand(() -> m_robotLED.updateLED(), m_robotLED));
// runs storage motor at 50 percent
m_robotStorage.setDefaultCommand(new RunCommand(() -> m_robotStorage.runStorage(0.5), m_robotStorage));
m_robotStorage.setDefaultCommand(new RunCommand(() -> m_robotStorage.runStorage(0.0), m_robotStorage));
}