Skip to content

Commit

Permalink
SEND IT
Browse files Browse the repository at this point in the history
  • Loading branch information
penguinencounter committed Nov 16, 2024
1 parent 38596a5 commit 18002b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ public ScoreHighBasket(@NotNull Scheduler scheduler, Hardware hardware) {
arm.setPower(0.5);
arm.setTargetPosition(ARM_BASKET_TICKS);
}))
.then(pause(2.000))
.then(pause(1.500))
.then(run(() -> wrist.setPosition(0.94)))
.then(pause(0.500))
.then(run(() -> claw.setPosition(0.02)))
Expand Down Expand Up @@ -417,6 +417,7 @@ public void runOpMode() {
scheduler.task(new OneShot(scheduler, () -> {
hardware.claw.setPosition(0.55);
hardware.wrist.setPosition(0.28);
hardware.twist.setPosition(0.17);
}));
scheduler
.task(moveTo(scheduler, SCORE_HIGH_BASKET))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ public void runOpMode() {
scheduler.task(new OneShot(scheduler, () -> {
hardware.claw.setPosition(0.55);
hardware.wrist.setPosition(0.28);
hardware.twist.setPosition(0.17);
hardware.arm.setTargetPosition(0);
hardware.arm.setMode(DcMotor.RunMode.RUN_TO_POSITION);
}));
Expand Down

0 comments on commit 18002b0

Please sign in to comment.