forked from IsaacRatliff/FTC-Code
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGyroTest.java
More file actions
29 lines (26 loc) · 848 Bytes
/
GyroTest.java
File metadata and controls
29 lines (26 loc) · 848 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
package workspace;
import com.qualcomm.robotcore.eventloop.opmode.Autonomous;
import org.firstinspires.ftc.robotcore.external.navigation.AngleUnit;
import org.firstinspires.ftc.robotcore.external.navigation.AxesOrder;
import org.firstinspires.ftc.robotcore.external.navigation.AxesReference;
import org.firstinspires.ftc.robotcore.external.navigation.Axis;
import org.firstinspires.ftc.robotcore.external.navigation.Orientation;
@Autonomous(name="GyroTest")
public class GyroTest extends AutoOp {
public void runOpMode() {
initialize(hardwareMap, telemetry);
//wheelPower = 0.2;
waitForStart();
left_gyro(1);
pause(1);
right_gyro(1);
pause(1);
left_gyro(2);
pause(1);
right_gyro(2);
pause(1);
left(8);
pause(1);
right(8);
}
}