Skip to content

Commit

Permalink
Fix shooter sensor: invert and remove condition
Browse files Browse the repository at this point in the history
  • Loading branch information
appleplectic committed Oct 17, 2024
1 parent a9c1cd0 commit 77e3bcf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class NoteObserver: SubsystemBase() {
state = NoteState.None
}else if (groundIntakeSensor != null && groundIntakeSensor.get() && !noteInRobot){
state = NoteState.InSerializer
}else if (shooterSensor.get() && state != NoteState.InShooter){
}else if (!shooterSensor.get()){
state = NoteState.InShooter
}else{
if (noteDetectorCamera == null){
Expand Down

0 comments on commit 77e3bcf

Please sign in to comment.