Skip to content

Commit

Permalink
fix intake changes
Browse files Browse the repository at this point in the history
  • Loading branch information
IanShiii committed Oct 26, 2024
1 parent 37c3446 commit 0e53dcb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,15 @@ private void stop() {

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

0 comments on commit 0e53dcb

Please sign in to comment.