We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23e69cc commit 56a96c0Copy full SHA for 56a96c0
src/main/java/frc/team5115/Commands/Intake/Startup_Angle.java
@@ -39,7 +39,11 @@ public void end(boolean interrupted){
39
public boolean isFinished() {
40
if(timer.get()>0.1){
41
if(Math.abs(hardwareIntake.getTurnVelocity())<1.5){
42
- return true;
+ innerTimer.start();
43
+ if(innerTimer.get() > 0.3) return true;
44
+ }
45
+ else{
46
+ innerTimer.reset();
47
}
48
49
/*
0 commit comments