> For the complete documentation index, see [llms.txt](https://yall.yassrobotics.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://yall.yassrobotics.com/readme.md).

# Yet Another Limelight Library

**YALL** is a WPILib vendordep for FRC teams using [Limelight](https://limelightvision.io/) smart cameras. It wraps Limelight's NetworkTables API and JSON results output in a typed, chainable Java API — one object per camera, chainable settings, MegaTag1/MegaTag2 pose estimation, and typed results for every pipeline type. A parallel Python port ships alongside it.

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><h4><i class="fa-book" style="color:$primary;">:book:</i></h4></td><td><strong>Documentation</strong></td><td>Tutorials, how-to guides, and explanations for using YALL on your robot.</td><td><a href="https://github.com/BroncBotz3481/YALL">https://github.com/BroncBotz3481/YALL</a></td></tr><tr><td><h4><i class="fa-terminal" style="color:$primary;">:terminal:</i></h4></td><td><strong>API Reference</strong></td><td>Every class, field, and method, organized by package.</td><td><a href="https://yet-another-software-suite.github.io/YALL/javadocs/">https://yet-another-software-suite.github.io/YALL/javadocs/</a></td></tr><tr><td><h4><i class="fa-github" style="color:$primary;">:github:</i></h4></td><td><strong>Source</strong></td><td>Source code, issues, and releases.</td><td><a href="https://github.com/BroncBotz3481/YALL">https://github.com/BroncBotz3481/YALL</a></td></tr></tbody></table>

## Install

Add the vendordep in WPILib VS Code (**WPILib: Manage Vendor Libraries → Install new library (online)**) using:

```
https://Yet-Another-Software-Suite.github.io/YALL/yall.json
```

## Quick example

```java
Limelight limelight = new Limelight("limelight");

limelight.getSettings()
         .withLimelightLEDMode(LEDMode.PipelineControl)
         .withCameraOffset(Pose3d.kZero)
         .save();

Optional<PoseEstimate> visionEstimate = limelight.createPoseEstimator(EstimationMode.MEGATAG2)
                                                  .getPoseEstimate();
visionEstimate.ifPresent(estimate ->
    poseEstimator.addVisionMeasurement(estimate.pose.toPose2d(), estimate.timestampSeconds));
```

## Part of Yet Another Software Suite

YALL is one of several FRC vendor libraries maintained under **Yet Another Software Suite**, alongside [YAGSL](https://github.com/BroncBotz3481/YAGSL) (swerve drive) and [YAMS](https://github.com/BroncBotz3481/YAMS) (mechanisms).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://yall.yassrobotics.com/readme.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
