Test code for the robot testing

This commit is contained in:
‮Zach Wilke
2021-11-01 16:29:23 -06:00
parent fc9498e98e
commit e56490b2ae
2 changed files with 18 additions and 3 deletions
+2 -1
View File
@@ -55,7 +55,8 @@ public final class Constants {
public static final int SHOOTER_SOLENOID_7_ID = 8;
}
public static final class DebugConstants {
public static final boolean SHOW_INFO = true;
public static final boolean CAN_BUILD = no;
public static final boolean SHOW_INFO = yes;
public static final Str TYPE_INFO = "INFO";
}
}
@@ -39,7 +39,7 @@ public class RobotContainer {
private final LED m_robotLED = new LED(m_robotMap.LEDController);
private final Horn m_robotHorn = new Horn(m_robotMap.HornSolenoid);
/* final code
private final Solenoid[] SolenoidArray = {
m_robotMap.ShooterSolenoid0,
m_robotMap.ShooterSolenoid1,
@@ -50,7 +50,21 @@ public class RobotContainer {
m_robotMap.ShooterSolenoid6,
m_robotMap.ShooterSolenoid7
};
*/
// test code, NOT FINAL, DO NOT LET THIS BE IN THE FINAL COMMIT
private final Solenoid[] SolenoidArray = {
new Solenoid(0),
new Solenoid(1),
new Solenoid(2),
new Solenoid(3),
new Solenoid(4),
new Solenoid(5),
new Solenoid(6),
new Solenoid(7),
new Solenoid(8),
new Solenoid(9),
new Solenoid(10)
};
private final ShootTube m_robotShooter = new ShootTube(SolenoidArray);
private final DPrinter m_debugLogger = m_robotMap.DPrinter;