Skip to content
This repository has been archived by the owner on Dec 30, 2024. It is now read-only.

Commit

Permalink
v10.0 sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
AnyiLin committed Sep 10, 2024
1 parent f91cf1a commit 151ead4
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions FtcRobotController/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -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" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public void runOpMode() {
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();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,22 +83,22 @@ public void init() {
}

/*
* 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() {
runtime.reset();
}

/*
* 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() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public void runOpMode() {
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();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public void runOpMode() {

// 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();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public void runOpMode() {

// 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();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public void runOpMode() {

// 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();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public void runOpMode() {
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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public void runOpMode() {

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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ public void init() {

/**
* 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
public void init_loop() {
}

/**
* 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() {
Expand All @@ -70,7 +70,7 @@ public void start() {

/**
* 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() {
Expand Down

0 comments on commit 151ead4

Please sign in to comment.