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