Skip to content

Commit

Permalink
Changed feedingTimer to always deacquire and timer constants
Browse files Browse the repository at this point in the history
  • Loading branch information
jopy-wng committed Oct 25, 2024
1 parent 638b2e6 commit 37c3446
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ private void stop() {

private void feed() {
if (feedingTimer.getTime() < 0.75) {
intakeMotor.set(Settings.Intake.INTAKE_FEED_SPEED);
intakeMotor.set(Settings.Intake.INTAKE_DEACQUIRE_SPEED);
funnelMotorLeft.stopMotor();
funnelMotorRight.stopMotor();
}
else if (feedingTimer.getTime() > 1.25) {
else if (feedingTimer.getTime() > 1.5) {
feedingTimer.reset();
}
else {
Expand Down

0 comments on commit 37c3446

Please sign in to comment.