You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/external/samples/ConceptAprilTag.java
+12-14Lines changed: 12 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -92,24 +92,22 @@ public void runOpMode() {
92
92
telemetry.update();
93
93
waitForStart();
94
94
95
-
if (opModeIsActive()) {
96
-
while (opModeIsActive()) {
95
+
while (opModeIsActive()) {
97
96
98
-
telemetryAprilTag();
97
+
telemetryAprilTag();
99
98
100
-
// Push telemetry to the Driver Station.
101
-
telemetry.update();
99
+
// Push telemetry to the Driver Station.
100
+
telemetry.update();
102
101
103
-
// Save CPU resources; can resume streaming when needed.
104
-
if (gamepad1.dpad_down) {
105
-
visionPortal.stopStreaming();
106
-
} elseif (gamepad1.dpad_up) {
107
-
visionPortal.resumeStreaming();
108
-
}
109
-
110
-
// Share the CPU.
111
-
sleep(20);
102
+
// Save CPU resources; can resume streaming when needed.
103
+
if (gamepad1.dpad_down) {
104
+
visionPortal.stopStreaming();
105
+
} elseif (gamepad1.dpad_up) {
106
+
visionPortal.resumeStreaming();
112
107
}
108
+
109
+
// Share the CPU.
110
+
sleep(20);
113
111
}
114
112
115
113
// Save more CPU resources when camera is no longer needed.
Copy file name to clipboardExpand all lines: FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/external/samples/ConceptAprilTagEasy.java
+12-14Lines changed: 12 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -88,24 +88,22 @@ public void runOpMode() {
88
88
telemetry.update();
89
89
waitForStart();
90
90
91
-
if (opModeIsActive()) {
92
-
while (opModeIsActive()) {
91
+
while (opModeIsActive()) {
93
92
94
-
telemetryAprilTag();
93
+
telemetryAprilTag();
95
94
96
-
// Push telemetry to the Driver Station.
97
-
telemetry.update();
95
+
// Push telemetry to the Driver Station.
96
+
telemetry.update();
98
97
99
-
// Save CPU resources; can resume streaming when needed.
100
-
if (gamepad1.dpad_down) {
101
-
visionPortal.stopStreaming();
102
-
} elseif (gamepad1.dpad_up) {
103
-
visionPortal.resumeStreaming();
104
-
}
105
-
106
-
// Share the CPU.
107
-
sleep(20);
98
+
// Save CPU resources; can resume streaming when needed.
99
+
if (gamepad1.dpad_down) {
100
+
visionPortal.stopStreaming();
101
+
} elseif (gamepad1.dpad_up) {
102
+
visionPortal.resumeStreaming();
108
103
}
104
+
105
+
// Share the CPU.
106
+
sleep(20);
109
107
}
110
108
111
109
// Save more CPU resources when camera is no longer needed.
Copy file name to clipboardExpand all lines: FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/external/samples/ConceptAprilTagSwitchableCameras.java
+14-16Lines changed: 14 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -81,27 +81,25 @@ public void runOpMode() {
81
81
telemetry.update();
82
82
waitForStart();
83
83
84
-
if (opModeIsActive()) {
85
-
while (opModeIsActive()) {
84
+
while (opModeIsActive()) {
86
85
87
-
telemetryCameraSwitching();
88
-
telemetryAprilTag();
86
+
telemetryCameraSwitching();
87
+
telemetryAprilTag();
89
88
90
-
// Push telemetry to the Driver Station.
91
-
telemetry.update();
89
+
// Push telemetry to the Driver Station.
90
+
telemetry.update();
92
91
93
-
// Save CPU resources; can resume streaming when needed.
94
-
if (gamepad1.dpad_down) {
95
-
visionPortal.stopStreaming();
96
-
} elseif (gamepad1.dpad_up) {
97
-
visionPortal.resumeStreaming();
98
-
}
92
+
// Save CPU resources; can resume streaming when needed.
93
+
if (gamepad1.dpad_down) {
94
+
visionPortal.stopStreaming();
95
+
} elseif (gamepad1.dpad_up) {
96
+
visionPortal.resumeStreaming();
97
+
}
99
98
100
-
doCameraSwitching();
99
+
doCameraSwitching();
101
100
102
-
// Share the CPU.
103
-
sleep(20);
104
-
}
101
+
// Share the CPU.
102
+
sleep(20);
105
103
}
106
104
107
105
// Save more CPU resources when camera is no longer needed.
Copy file name to clipboardExpand all lines: FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/external/samples/ConceptGamepadEdgeDetection.java
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -83,6 +83,22 @@ public void telemetryButtonData() {
83
83
telemetry.addData("Gamepad 1 Right Bumper Released", gamepad1.rightBumperWasReleased());
84
84
telemetry.addData("Gamepad 1 Right Bumper Status", gamepad1.right_bumper);
85
85
86
+
// Add an empty line to separate the buttons in telemetry
87
+
telemetry.addLine();
88
+
89
+
// Add the status of the Gamepad 1 Left trigger
90
+
telemetry.addData("Gamepad 1 Left Trigger Pressed", gamepad1.leftTriggerWasPressed());
91
+
telemetry.addData("Gamepad 1 Left Trigger Released", gamepad1.leftTriggerWasReleased());
92
+
telemetry.addData("Gamepad 1 Left Trigger Status", gamepad1.left_trigger_pressed);
93
+
94
+
// Add an empty line to separate the buttons in telemetry
95
+
telemetry.addLine();
96
+
97
+
// Add the status of the Gamepad 1 Right trigger
98
+
telemetry.addData("Gamepad 1 Right Trigger Pressed", gamepad1.rightTriggerWasPressed());
99
+
telemetry.addData("Gamepad 1 Right Trigger Released", gamepad1.rightTriggerWasReleased());
100
+
telemetry.addData("Gamepad 1 Right Trigger Status", gamepad1.right_trigger_pressed);
101
+
86
102
// Add a note that the telemetry is only updated every 2 seconds
87
103
telemetry.addLine("\nTelemetry is updated every 2 seconds.");
Copy file name to clipboardExpand all lines: FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/external/samples/externalhardware/ConceptExternalHardwareClass.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@
27
27
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Copy file name to clipboardExpand all lines: FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/external/samples/externalhardware/RobotHardware.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@
27
27
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Copy file name to clipboardExpand all lines: README.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,21 @@ The readme.md file located in the [/TeamCode/src/main/java/org/firstinspires/ftc
59
59
60
60
# Release Information
61
61
62
+
## Version 11.1 (20251231-104637)
63
+
64
+
### Enhancements
65
+
66
+
* Gamepad triggers can now be accessed as booleans and have edge detection supported.
67
+
* GoBildaPinpointDriver now supports Pinpoint v2 functionality
68
+
* Adds webcam calibrations for goBILDA's USB camera.
69
+
70
+
### Bug Fixes
71
+
* Fixes issue [1654](https://github.com/FIRST-Tech-Challenge/FtcRobotController/issues/1654) in GoBildaPinpointDriver that caused error if resolution was set in other than MM
* Fixes possible race condition issue [1884](https://github.com/FIRST-Tech-Challenge/FtcRobotController/issues/1884) on Driver Station startup when Driver Station name doesn't match the Robot Controller name.
74
+
* Fixes issue [1863](https://github.com/FIRST-Tech-Challenge/FtcRobotController/issues/1863) - Incorrect package paths in samples.
75
+
* Fixes an issue where an OnBotJava filename that begins with a lowercase character would fail to properly rename the file if the user tried to rename it so that it begins with an uppercase character.
0 commit comments