From c4ff10fa4b4976baf5d451506a4c4c092e5cbe70 Mon Sep 17 00:00:00 2001 From: Westside Robotics Date: Fri, 6 Oct 2023 18:09:27 -0700 Subject: [PATCH] 10-6-23 improve opening of section called Program Logic and Initialization, as done in companion tutorial for custom TFOD models. --- Java-Sample-OpMode-for-TFOD.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Java-Sample-OpMode-for-TFOD.md b/Java-Sample-OpMode-for-TFOD.md index f57b8c1..2891981 100644 --- a/Java-Sample-OpMode-for-TFOD.md +++ b/Java-Sample-OpMode-for-TFOD.md @@ -92,7 +92,13 @@ If you don't have a physical Pixel on hand, try pointing the camera at this imag ## Program Logic and Initialization -During the INIT stage (before DS START is touched), this OpMode calls a **method to initialize** the TFOD Processor and the FTC VisionPortal. After DS START is touched, the OpMode runs a continuous loop, calling a **method to display telemetry** about any TFOD recognitions. The OpMode also contains two optional features to remind teams about **CPU resource management**, useful in vision processing. +How does this simple OpMode work? + +- During the INIT stage (before DS START is touched), this OpMode calls a **method to initialize** the TFOD Processor and the FTC VisionPortal. + +- After DS START is touched, the OpMode runs a continuous loop, calling a **method to display telemetry** about any TFOD recognitions. + +- The OpMode also contains optional features to remind teams about **CPU resource management**, useful in vision processing. Here's the first method, to initialize the TFOD Processor and the FTC VisionPortal.