Skip to content

Commit

Permalink
Convert debounceRC to debounce
Browse files Browse the repository at this point in the history
  • Loading branch information
BenG49 committed Jan 25, 2024
1 parent 4449adf commit e443517
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import com.stuypulse.robot.constants.Ports;
import com.stuypulse.robot.constants.Settings;
import com.stuypulse.stuylib.streams.booleans.BStream;
import com.stuypulse.stuylib.streams.booleans.filters.BDebounceRC;
import com.stuypulse.stuylib.streams.booleans.filters.BDebounce;

import edu.wpi.first.wpilibj.DigitalInput;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
Expand All @@ -32,7 +32,7 @@ protected ConveyorImpl() {

isAtShooter =
BStream.create(() -> !irSensor.get())
.filtered(new BDebounceRC.Both(Settings.Conveyor.DEBOUNCE_TIME));
.filtered(new BDebounce.Both(Settings.Conveyor.DEBOUNCE_TIME));


}
Expand Down

0 comments on commit e443517

Please sign in to comment.