Suggested Height (H)
12.0” – 16.0” above the field floor.
Mounting at this height provides a broad FOV while preventing robot mechanisms (intakes, slides) from obstructing the camera lens.
Learn how to optimize camera height, pitch angle, sensor gain, exposure, and confidence thresholds on your Limelight 3A dashboard.
Tuning your Limelight 3A for Hive Vision involves two primary steps: physical camera calibration (height, pitch angle, forward offset) and dashboard camera controls (sensor gain, exposure, confidence cutoffs).
Optimal tuning ensures maximum neural detection accuracy across varying competition field lighting conditions and allows Hive Vision distance algorithms (CVConstants.java) to accurately map 2D camera detections into 3D robot space.
How you physically mount your Limelight 3A on the robot directly affects detection field-of-view (FOV) and distance calculation accuracy.
Suggested Height (H)
12.0” – 16.0” above the field floor.
Mounting at this height provides a broad FOV while preventing robot mechanisms (intakes, slides) from obstructing the camera lens.
Suggested Pitch Angle (θ)
20.0° – 30.0° downward pitch.
Angling the camera downward keeps game entities visible from close-range intake distance out to mid-field (~6–8 feet).
Below is a schematic diagram illustrating the camera height (H), downward pitch angle (θ), forward offset (D), and FOV projection onto the field floor:
Drag a ball along the floor to see where it drops out of view. Distances are measured from the robot's center of rotation.
CVConstants.javaOpen your browser and navigate to http://limelight.local:5801 to access the Limelight Web Dashboard. Adjust these parameters to match your venue’s lighting environment.
Sensor Gain acts as digital signal amplification. Adjust this setting based on ambient room brightness:
15 – 2020 – 25 (Default Recommendation)30 – 40
Exposure dictates how long the camera sensor collects light for each frame:
~2200 µs (microseconds).1500 – 1800 µs. Lower exposure reduces motion blur when the robot is strafing or turning rapidly.2500 – 3000 µs if objects appear too dark.
The Confidence Cutoff sets the minimum probability required for Hive Vision to report a bounding box detection:
0.30 – 0.40 (30% to 40% confidence).0.25 – 0.30.0.45 – 0.50.
Once physical height, pitch, and forward offset are measured, update your robot’s CVConstants.java file so Hive Vision pathing algorithms can accurately compute field targets:
public class CVConstants { // Measured height from floor to camera lens (inches) minus 1.4" object calibration offset public static double CAMERA_HEIGHT = 14.5;
// Measured downward angle (in radians). Convert degrees using Math.toRadians() public static double CAMERA_PITCH = Math.toRadians(25.0);
// Distance forward from center of robot rotation to camera lens (inches) public static double FORWARD_OFFSET = 6.0;}