-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathAutoBeaconPress.java
More file actions
37 lines (24 loc) · 1.02 KB
/
AutoBeaconPress.java
File metadata and controls
37 lines (24 loc) · 1.02 KB
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
36
37
package org.firstinspires.ftc.robotcontroller.external.samples;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
/**
* Created by CHHS on 10/29/2016.
*/
public class AutoBeaconPress extends LinearOpMode{
public void runOpMode() throws InterruptedException{
//Call a class containing all the functions we need for autonomous
AutonomousFunctions func = new AutonomousFunctions();
func.init(hardwareMap, false);
func.waitForStart();
//Make sure Collector is turned off
func.collectorPositioning();
telemetry.addLine("Finished collectorPositioning");
//TODO: Redo function func.backwardsToBeacon();
telemetry.addLine("Finished backwardsToBeacon");
func.stopDriving();
//TODO: Redo function func.extrudeLeftFinger();
// func.extrudeLeftFinger(fingers);
// Stop driving
func.stopDriving();
//TODO: Add a color sensor so the bot knows if it needs to stop.
}
}