@Disabled
@TeleOp(name="Auto With CV",
group="CV")
public class AutoWithCV
extends com.qualcomm.robotcore.eventloop.opmode.LinearOpMode
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
LABEL_FIRST_ELEMENT |
private static java.lang.String |
LABEL_SECOND_ELEMENT |
private org.firstinspires.ftc.robotcore.external.tfod.TFObjectDetector |
tfod
tfod is the variable we will use to store our instance of the TensorFlow Object
Detection engine. |
private static java.lang.String |
TFOD_MODEL_ASSET |
private org.firstinspires.ftc.robotcore.external.navigation.VuforiaLocalizer |
vuforia
vuforia is the variable we will use to store our instance of the Vuforia
localization engine. |
private static java.lang.String |
VUFORIA_KEY |
Constructor and Description |
---|
AutoWithCV() |
Modifier and Type | Method and Description |
---|---|
private void |
initTfod()
Initialize the TensorFlow Object Detection engine.
|
private void |
initVuforia()
Initialize the Vuforia localization engine.
|
void |
runOpMode() |
handleLoop, idle, init_loop, init, internalPostInitLoop, internalPostLoop, isStarted, isStopRequested, loop, opModeIsActive, sleep, start, stop, waitForStart
private static final java.lang.String TFOD_MODEL_ASSET
private static final java.lang.String LABEL_FIRST_ELEMENT
private static final java.lang.String LABEL_SECOND_ELEMENT
private static final java.lang.String VUFORIA_KEY
private org.firstinspires.ftc.robotcore.external.navigation.VuforiaLocalizer vuforia
vuforia
is the variable we will use to store our instance of the Vuforia
localization engine.private org.firstinspires.ftc.robotcore.external.tfod.TFObjectDetector tfod
tfod
is the variable we will use to store our instance of the TensorFlow Object
Detection engine.public void runOpMode()
runOpMode
in class com.qualcomm.robotcore.eventloop.opmode.LinearOpMode
private void initVuforia()
private void initTfod()