Skip to content

Commit

Permalink
2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ToborUser committed Feb 3, 2024
1 parent 144bac0 commit 9f53f91
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public void runStart() {
telemetry.update();
forwardAuto(23, 5, 800);
strafeLeftAuto(5,1,800);
openClaw();
openClaw(0.5);
strafeLeftAuto(40,2,1000);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public void runStart() {
strafeRightAuto(8,3,500); //
forwardAuto(15,3,500); //
strafeRightAuto(17,3,500); //
forwardAuto(58,4,500);
forwardAuto(48,4,500);
strafeLeftAuto(123,5,500);
// let go of pixel

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public void runStart() {
telemetry.update();
forwardAuto(23, 5, 800);
strafeLeftAuto(5,1,800);
openClaw();
openClaw(0.5);
strafeRightAuto(5,2,1000);
backwardAuto(50,1,800);
}
Expand All @@ -198,12 +198,12 @@ public void runStart() {
}

// park
forwardAuto(3, 3,500); //
strafeLeftAuto(8,3,500); //
forwardAuto(15,3,500); //
strafeLeftAuto(17,3,500); //
forwardAuto(58,4,500);
strafeRightAuto(123,3,500);
forwardAuto(3, 3,800); //
strafeLeftAuto(8,3,800); //
forwardAuto(15,3,800); //
strafeLeftAuto(17,3,800); //
forwardAuto(48,4,800);
strafeRightAuto(123,3,1000);
// let go of pixel

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public void runStart() {
strafeLeftAuto(8,3,500); //
forwardAuto(15,3,500); //
strafeLeftAuto(17,3,500); //
forwardAuto(58,4,500);
forwardAuto(48,4,500);
strafeRightAuto(123,3,500);
// let go of pixel

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ public static void openClaw() {
claw.setPosition(1); // 0.5
}

public static void openClaw(double value) {
claw.setPosition(value); // 0.5
}

public static void closeClaw() {
claw.setPosition(0); // 0.15
}
Expand Down

0 comments on commit 9f53f91

Please sign in to comment.