Fixed intake commands
This commit is contained in:
parent
9ab035db47
commit
7d42d11db1
|
|
@ -42,14 +42,14 @@ public class IntakeSubsystem extends TestableSubsystem {
|
||||||
Commands.deadline(
|
Commands.deadline(
|
||||||
Commands.waitSeconds(2),
|
Commands.waitSeconds(2),
|
||||||
this.runEnd(
|
this.runEnd(
|
||||||
() -> {deployMotor.set(-0.5);},
|
() -> {deployMotor.set(0.5);}, // Bump this speed up if intake doesn't deploy
|
||||||
() -> {deployMotor.stopMotor();}
|
() -> {deployMotor.stopMotor();}
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
Commands.deadline(
|
Commands.deadline(
|
||||||
Commands.waitSeconds(2),
|
Commands.waitSeconds(2),
|
||||||
this.runEnd(
|
this.runEnd(
|
||||||
() -> { deployMotor.set(0.5); },
|
() -> { deployMotor.set(-0.5); }, // Same here
|
||||||
() -> { deployMotor.stopMotor(); }
|
() -> { deployMotor.stopMotor(); }
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue