Skip to content
ftcerror24501Public

About

AI for FTC Decode Season

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– FTC AI Ball Tracker

Elite Autonomous Vision System β€’ TensorFlow Lite β€’ Java

⚑ Limelight-style tracking, powered by on-device AI.

🧠 Detection Accuracy pie title AI Ball Detection "Correct" : 92 "False Positive" : 5 "Missed" : 3

Test: Indoor FTC field β€’ REV USB Cam β€’ 300+ frames

πŸš€ Performance (Control Hub) bar title FPS vs Model Type x-axis Model y-axis FPS "INT8 TFLite" : 22 "FP16 TFLite" : 14

🧩 System Architecture flowchart LR Camera -->|Frames| TFLite TFLite -->|BBox + Score| JavaLogic JavaLogic -->|PID| Motors

βš™οΈ Core Logic Detect β†’ Center β†’ Steer β†’ Drive β†’ Stop No target β†’ Slow rotate & search

πŸ›  Tech Stack

Java (FTC SDK 9.x+)

TensorFlow Lite (INT8)

VisionPortal

REV / Logitech USB Camera

πŸ“‚ Structure TeamCode/ β”œβ”€β”€ AI_Ball_Auto.java └── assets/ β”œβ”€β”€ ball_model.tflite └── labels.txt

πŸŽ› Tunables KP = 0.003 // steering sensitivity FORWARD = 0.3 // drive speed STOP_AREA = 20000 // stop threshold

βœ… FTC Compliance

βœ” AI allowed (offline)

βœ” On-device inference

βœ– Internet

βœ– External processors

🏁 Roadmap

PID (I/D) + Odometry

Multi-object priority

OpenCV + AI hybrid fallback

Auto-calibration (lighting)

πŸ“œ License

MIT β€” use, modify, win πŸ†

About

AI for FTC Decode Season

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages