-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDepot.java
More file actions
34 lines (23 loc) · 848 Bytes
/
Depot.java
File metadata and controls
34 lines (23 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
30
31
32
33
34
package org.firstinspires.ftc.teamcode;
import com.qualcomm.robotcore.eventloop.opmode.Autonomous;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import org.firstinspires.ftc.teamcode.RobotProcessor.RobotProcessor;
import org.firstinspires.ftc.teamcode.robot.Mode;
import org.firstinspires.ftc.teamcode.robot.Robot;
/**
* Created by khadija on 1/5/2019.
*/
@Autonomous(name = "Depot", group = "Final")
public class Depot extends LinearOpMode {
RobotProcessor proc = new RobotProcessor();
public void runOpMode() throws InterruptedException{
proc.bot.initBot(this,hardwareMap,Mode.Auto,telemetry);
waitForStart();
proc.descend();
proc.activateTFOD();
proc.displayLOCATION();
proc.displayTFOD();
proc.deactivateTFOD();
proc.turnSampleAngle();
}
}