Skip to content
Hive Vision

Hive Tags Dashboard

What every Hive Tags dashboard group controls, the targeting rules, and the ports it uses

The AprilTag Dashboard OpMode serves a live page with a camera view, a target card and the controls below. It refreshes ten times a second, and the status bar at the top shows tags in view, frame rate, loop time and camera state.

USB webcam dashboard with four hive cell tags boxed and labelled with id and range

The webcam view: tags 30–33 boxed with id and range, and the live target card on the right.

Group What it controls
source Switch between the USB webcam and the Limelight while the OpMode runs
camera Live view, webcam resolution, exposure, gain, camera name
detector Webcam decimation and pose solver. Hidden in Limelight mode, where the camera runs its own pipeline
targeting Alliance, roll limit, minimum cluster percent, minimum decision margin
Limelight Device name, host, poll rate, active pipeline, link to the camera’s page, push tag size
hive Baseline pitch and tip threshold for the hive cell check

The pose solver in the detector group decides how a tag’s range and angles are solved from the detection. Changing it takes effect on the next loop. It is webcam only: in Limelight mode the camera’s own pipeline reports the poses, and a name the enum does not recognise falls back to OPENCV_ITERATIVE.

Option What it is
OPENCV_ITERATIVE Default. The stable, standard FTC pose solver
OPENCV_IPPE_SQUARE OpenCV planar solver for square tags
OPENCV_IPPE OpenCV planar solver
OPENCV_SOLVEPNP_EPNP OpenCV EPNP approximation
OPENCV_SQPNP OpenCV SQPnP solver
APRILTAG_BUILTIN Accepted, but the OpMode runs it as OPENCV_ITERATIVE

The dropdown is enough — the OpMode applies the change on the next loop and no code is needed. To change the starting value, the same option is the poseSolver field on AprilTagConfig, a string with the names from the table:

public static final String POSE_SOLVER_DEFAULT = "OPENCV_ITERATIVE";
public volatile String poseSolver = POSE_SOLVER_DEFAULT;

Edit POSE_SOLVER_DEFAULT for a new starting value. On your own AprilTagProcessor, call the SDK directly with the same names:

aprilTag.setPoseSolver(AprilTagProcessor.PoseSolver.OPENCV_IPPE);

Whatever you pick is carried as "poseSolver":"OPENCV_IPPE", both in the dashboard’s POST and in the state JSON that copy state JSON exports.

A cluster is scorable when both conditions hold:

  1. Alliance. The cluster name starts with R or B and matches the alliance you selected. Set the alliance to ANY to accept both.
  2. Roll. The cluster’s roll is within the roll limit (default 90 degrees). Outside it, the cell is upside down and not scorable.

Two more filters are off by default: a minimum share of a cluster’s tags that must be visible, and a minimum decision margin for a single tag.

The tag cluster sits on the underside of the cell, so the cluster’s pitch changes when the cell tips. With a cell upright and at rest, press calibrate baseline now — that pitch becomes the baseline. Any cell whose pitch then differs from the baseline by more than the tipped threshold (default 25 degrees) is reported as tipped.

To make the same calls from your own OpMode — targeting, the tip check — see Use it in your code.

Port Used for
8080, then 8082–8089 The dashboard. It takes the first free port; 8081 is skipped
5801 The Limelight’s own web page, linked from the dashboard
5802 The Limelight’s MJPEG feed, relayed to the live view
5807 The Limelight’s REST API, used by push tag size