Overview
Root package: limelight
import limelight.Limelight;Package Layout
limelight
Limelight — the camera object
limelight.networktables
Settings, data access, pose estimation, JSON results, and geometry helpers
limelight.networktables.target
Typed 2D/3D target results: AprilTag, retroreflective, barcode
limelight.networktables.target.pipeline
Typed neural pipeline results: classifier, detector
limelight.results
Raw NetworkTables detection structs and hardware/IMU/rewind telemetry
Where to Start
Every use of YALL begins with one Limelight object per camera:
Limelight limelight = new Limelight("limelight");From there:
getSettings()configures the camera (LEDs, pipeline, crop, camera offset, IMU mode, robot orientation, ...)createPoseEstimator(EstimationMode)returns aLimelightPoseEstimatorfor MegaTag1/MegaTag2 field-relative posegetData()exposes raw fiducials, raw detections, barcodes, and Python script I/OgetLatestResults()returns the full JSONLimelightResultsfor a frame, including every target type
Reference
Results & Telemetry
Last updated
Was this helpful?