forked from IsaacRatliff/FTC-Code
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStones2.java
More file actions
35 lines (28 loc) · 696 Bytes
/
Stones2.java
File metadata and controls
35 lines (28 loc) · 696 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package workspace_;
import com.qualcomm.robotcore.eventloop.opmode.Autonomous;
@Autonomous(name="Stone Delivery 2", group="Linear Opmode")
public class Stones2 extends AutoOp {
@Override
public void runOpMode() {
initialize(hardwareMap, telemetry);
waitForStart();
forward(1.07);
closeClaw();
pause(1.8);
armUp();
backward(0.8);
right(1);
armDown();
forward(3.5);
openClaw();
left(2.2);
forward(1.23);
right(1);
forward(2.45);
right(1);
forward(1);
right(1.2);
forward(1.9);
stopWheels();
}
}