v10.0 sdk
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:versionCode="54"
|
||||
android:versionName="9.2">
|
||||
android:versionCode="55"
|
||||
android:versionName="10.0">
|
||||
|
||||
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
||||
|
||||
|
@ -99,7 +99,7 @@ public class BasicOmniOpMode_Linear extends LinearOpMode {
|
||||
rightFrontDrive.setDirection(DcMotor.Direction.FORWARD);
|
||||
rightBackDrive.setDirection(DcMotor.Direction.FORWARD);
|
||||
|
||||
// Wait for the game to start (driver presses PLAY)
|
||||
// Wait for the game to start (driver presses START)
|
||||
telemetry.addData("Status", "Initialized");
|
||||
telemetry.update();
|
||||
|
||||
|
@ -83,14 +83,14 @@ public class BasicOpMode_Iterative extends OpMode
|
||||
}
|
||||
|
||||
/*
|
||||
* Code to run REPEATEDLY after the driver hits INIT, but before they hit PLAY
|
||||
* Code to run REPEATEDLY after the driver hits INIT, but before they hit START
|
||||
*/
|
||||
@Override
|
||||
public void init_loop() {
|
||||
}
|
||||
|
||||
/*
|
||||
* Code to run ONCE when the driver hits PLAY
|
||||
* Code to run ONCE when the driver hits START
|
||||
*/
|
||||
@Override
|
||||
public void start() {
|
||||
@ -98,7 +98,7 @@ public class BasicOpMode_Iterative extends OpMode
|
||||
}
|
||||
|
||||
/*
|
||||
* Code to run REPEATEDLY after the driver hits PLAY but before they hit STOP
|
||||
* Code to run REPEATEDLY after the driver hits START but before they hit STOP
|
||||
*/
|
||||
@Override
|
||||
public void loop() {
|
||||
|
@ -76,7 +76,7 @@ public class BasicOpMode_Linear extends LinearOpMode {
|
||||
leftDrive.setDirection(DcMotor.Direction.REVERSE);
|
||||
rightDrive.setDirection(DcMotor.Direction.FORWARD);
|
||||
|
||||
// Wait for the game to start (driver presses PLAY)
|
||||
// Wait for the game to start (driver presses START)
|
||||
waitForStart();
|
||||
runtime.reset();
|
||||
|
||||
|
@ -88,7 +88,7 @@ public class ConceptAprilTag extends LinearOpMode {
|
||||
|
||||
// Wait for the DS start button to be touched.
|
||||
telemetry.addData("DS preview on/off", "3 dots, Camera Stream");
|
||||
telemetry.addData(">", "Touch Play to start OpMode");
|
||||
telemetry.addData(">", "Touch START to start OpMode");
|
||||
telemetry.update();
|
||||
waitForStart();
|
||||
|
||||
|
@ -84,7 +84,7 @@ public class ConceptAprilTagEasy extends LinearOpMode {
|
||||
|
||||
// Wait for the DS start button to be touched.
|
||||
telemetry.addData("DS preview on/off", "3 dots, Camera Stream");
|
||||
telemetry.addData(">", "Touch Play to start OpMode");
|
||||
telemetry.addData(">", "Touch START to start OpMode");
|
||||
telemetry.update();
|
||||
waitForStart();
|
||||
|
||||
|
@ -98,7 +98,7 @@ public class ConceptAprilTagOptimizeExposure extends LinearOpMode
|
||||
|
||||
// Wait for the match to begin.
|
||||
telemetry.addData("Camera preview on/off", "3 dots, Camera Stream");
|
||||
telemetry.addData(">", "Touch Play to start OpMode");
|
||||
telemetry.addData(">", "Touch START to start OpMode");
|
||||
telemetry.update();
|
||||
waitForStart();
|
||||
|
||||
|
@ -77,7 +77,7 @@ public class ConceptAprilTagSwitchableCameras extends LinearOpMode {
|
||||
|
||||
// Wait for the DS start button to be touched.
|
||||
telemetry.addData("DS preview on/off", "3 dots, Camera Stream");
|
||||
telemetry.addData(">", "Touch Play to start OpMode");
|
||||
telemetry.addData(">", "Touch START to start OpMode");
|
||||
telemetry.update();
|
||||
waitForStart();
|
||||
|
||||
|
@ -83,7 +83,7 @@ public class ConceptExternalHardwareClass extends LinearOpMode {
|
||||
robot.init();
|
||||
|
||||
// Send telemetry message to signify robot waiting;
|
||||
// Wait for the game to start (driver presses PLAY)
|
||||
// Wait for the game to start (driver presses START)
|
||||
waitForStart();
|
||||
|
||||
// run until the end of the match (driver presses STOP)
|
||||
|
@ -110,7 +110,7 @@ public class ConceptMotorBulkRead extends LinearOpMode {
|
||||
|
||||
ElapsedTime timer = new ElapsedTime();
|
||||
|
||||
telemetry.addData(">", "Press play to start tests");
|
||||
telemetry.addData(">", "Press START to start tests");
|
||||
telemetry.addData(">", "Test results will update for each access method.");
|
||||
telemetry.update();
|
||||
waitForStart();
|
||||
|
@ -53,7 +53,7 @@ public class ConceptNullOp extends OpMode {
|
||||
|
||||
/**
|
||||
* This method will be called repeatedly during the period between when
|
||||
* the init button is pressed and when the play button is pressed (or the
|
||||
* the INIT button is pressed and when the START button is pressed (or the
|
||||
* OpMode is stopped).
|
||||
*/
|
||||
@Override
|
||||
@ -61,7 +61,7 @@ public class ConceptNullOp extends OpMode {
|
||||
}
|
||||
|
||||
/**
|
||||
* This method will be called once, when the play button is pressed.
|
||||
* This method will be called once, when the START button is pressed.
|
||||
*/
|
||||
@Override
|
||||
public void start() {
|
||||
@ -70,7 +70,7 @@ public class ConceptNullOp extends OpMode {
|
||||
|
||||
/**
|
||||
* This method will be called repeatedly during the period between when
|
||||
* the play button is pressed and when the OpMode is stopped.
|
||||
* the START button is pressed and when the OpMode is stopped.
|
||||
*/
|
||||
@Override
|
||||
public void loop() {
|
||||
|
Reference in New Issue
Block a user