For the complete documentation index, see llms.txt. This page is also available as Markdown.

Python & C++ Support

Python: a full, parallel port

The Python port was written by FRC Team 9738, who did the original translation of the Java API and contributed it back to YALL. Thanks to them, teams running Python robot code get the same library everyone else does.

YALL ships a Python package (yall) alongside the Java library, mirroring its class names and most method signatures:

from yall.limelight import Limelight, EstimationMode
limelight = Limelight("limelight")

The Python port was translated from an earlier revision of the Java API and hasn't caught up to every recent addition. Notably, there's no Python equivalent yet for IMUResults, HardwareReport, HailoStats, RewindStats, rewind capture, or USB port forwarding. A couple of method names also differ slightly (withCameraToRobot instead of withCameraOffset, createPoseEstimator(bool) instead of taking an EstimationMode enum). See the Python reference overview for the full list of differences.

For everything else, including settings, pose estimation, and target results, the concepts on this site apply directly; only the syntax changes.

C++: not yet implemented

A C++ source file exists in the repository (yall/cpp/Limelight.cpp) as a placeholder, and the vendordep JSON currently ships no C++ artifact. If your team writes robot code in C++, track the GitHub repository for progress rather than expecting a working C++ API today.

See Also

  • Python API reference

  • Java API reference

Last updated

Was this helpful?