Skip to content

Commit

Permalink
remove debugging info
Browse files Browse the repository at this point in the history
  • Loading branch information
j0ndough committed Dec 15, 2024
1 parent 2a79bfd commit 0387fc2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,4 @@ public void periodic() {
this.operatorFundamentalsGamepad.getRumbleManager().periodic();
}

public double quickCheck() {
return driverGamepad.getLeftStickX();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ public class LightSubsystem extends BaseSubsystem {
final CollectorSubsystem collector;
final VisionSubsystem vision;
final DynamicOracle oracle;
final OperatorInterface oi;
//final XDigitalOutput[] outputs;

SerialPort serialPort;
private int loopcount = 1;
Expand Down Expand Up @@ -93,7 +91,6 @@ public LightSubsystem(XDigitalOutputFactory digitalOutputFactory,
this.shooter = shooter;
this.vision = vision;
this.oracle = oracle;
this.oi = oi;

// Connect to USB port over serial
if (usbIsNotConnected(SerialPort.Port.kUSB1)) { // Top port should map to kUSB1. Bottom port is for USB drive
Expand Down Expand Up @@ -134,8 +131,6 @@ public LightsStateMessage getCurrentState() {
} else if (vision.checkIfSideCamsSeeNote()) {
currentState = LightsStateMessage.SideCamsSeeNotes;

} else if (oi.quickCheck() >= 0.1) {
currentState = LightsStateMessage.ShooterReadyWithoutNote;
} else {
currentState = LightsStateMessage.RobotEnabled;
}
Expand Down Expand Up @@ -168,8 +163,6 @@ public void periodic() {
var currentState = getCurrentState();
aKitLog.record("LightState", currentState.toString());

System.out.println(oi.quickCheck());

// Try sending over serial
if (!lightsWorking) {
return;
Expand Down

0 comments on commit 0387fc2

Please sign in to comment.