Difference between revisions of "FTC 2024 Season"
From wikidb
(→TensorFlow Video Training) |
(→TensorFlow Video Training) |
||
Line 23: | Line 23: | ||
* [https://ftc-docs.firstinspires.org/en/latest/programming_resources/vision/tensorflow_cs_2023/tensorflow-cs-2023.html Tensorflow CS 2023 | * [https://ftc-docs.firstinspires.org/en/latest/programming_resources/vision/tensorflow_cs_2023/tensorflow-cs-2023.html Tensorflow CS 2023 | ||
+ | |||
* [https://ftc-docs.firstinspires.org/en/latest/programming_resources/vision/java_tfod_opmode/java-tfod-opmode.html Java TFOD Opmode Java] | * [https://ftc-docs.firstinspires.org/en/latest/programming_resources/vision/java_tfod_opmode/java-tfod-opmode.html Java TFOD Opmode Java] | ||
Line 33: | Line 34: | ||
*/ | */ | ||
VuforiaLocalizer.Parameters parameters = new VuforiaLocalizer.Parameters(); | VuforiaLocalizer.Parameters parameters = new VuforiaLocalizer.Parameters(); | ||
− | + | ||
parameters.vuforiaLicenseKey = VUFORIA_KEY; | parameters.vuforiaLicenseKey = VUFORIA_KEY; | ||
parameters.cameraDirection = CameraDirection.BACK; | parameters.cameraDirection = CameraDirection.BACK; | ||
− | + | ||
// Instantiate the Vuforia engine | // Instantiate the Vuforia engine | ||
vuforia = ClassFactory.getInstance().createVuforia(parameters); | vuforia = ClassFactory.getInstance().createVuforia(parameters); | ||
− | + | ||
// Loading trackables is not necessary for the TensorFlow Object Detection engine. | // Loading trackables is not necessary for the TensorFlow Object Detection engine. | ||
} | } |
Revision as of 16:09, 30 October 2023
Contents
From 2023 Java Training
- FTC Power Up a Motor 20230911
- FTC Move a Distance 20230919
- FTC Read Colors 20231017
- FTC Set Up the Mecanum Training Platform 20231025
- FTC Make Coding Easier with Methods 20231025
- FTC Make Coding Easier with Methods 20230112 - Exercise: support the Mecanum drivetrain.
- FTC Compute Move Distance 20221014
- FTC Compute a 90 Degree Turn 20221104
- FTC The Challenge - Start Simple and Build 20221108
- FTC Mecanum Drivetrain Kit - Assembly and Setup 20221129
- FTC Working Through Cell Phone Robot Controller and Driver Station Issues 20230320
- FTC Color Sensor 20230424 Small edits to the 20200311 version for Benson
TensorFlow Video Training
- Using TensorFlow to Detect Game Pieces in First Tech Challenge
- Github for above
- FTC Machine Learning
- [https://ftc-docs.firstinspires.org/en/latest/programming_resources/vision/tensorflow_cs_2023/tensorflow-cs-2023.html Tensorflow CS 2023
/** * Initialize the Vuforia localization engine. */ private void initVuforia() { /* * Configure Vuforia by creating a Parameter object, and passing it to the Vuforia engine. */ VuforiaLocalizer.Parameters parameters = new VuforiaLocalizer.Parameters(); parameters.vuforiaLicenseKey = VUFORIA_KEY; parameters.cameraDirection = CameraDirection.BACK; // Instantiate the Vuforia engine vuforia = ClassFactory.getInstance().createVuforia(parameters); // Loading trackables is not necessary for the TensorFlow Object Detection engine. }
Apriltag Notes
References
- OnBot Java Guide OnBot Java Guide
- FTC Programming Resources
- Java Video Tutorials
- FTC API reference
- FTC SDK version 7.1