Skip to content

Commit 56a96c0

Browse files
author
dekta
committed
mr adams u better be happy
1 parent 23e69cc commit 56a96c0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/main/java/frc/team5115/Commands/Intake/Startup_Angle.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@ public void end(boolean interrupted){
3939
public boolean isFinished() {
4040
if(timer.get()>0.1){
4141
if(Math.abs(hardwareIntake.getTurnVelocity())<1.5){
42-
return true;
42+
innerTimer.start();
43+
if(innerTimer.get() > 0.3) return true;
44+
}
45+
else{
46+
innerTimer.reset();
4347
}
4448
}
4549
/*

0 commit comments

Comments
 (0)