10-6-23 improve opening of section called Program Logic and Initialization, as done in companion tutorial for custom TFOD models.
@ -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
|
## 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.
|
Here's the first method, to initialize the TFOD Processor and the FTC VisionPortal.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user