Index

A C D E F G H I L M N O P Q R S T U V W Y 
All Classes and Interfaces|All Packages|Constant Field Values

A

acceptAll() - Static method in class yall.filter.VisionPoseFilter
Creates a filter that accepts every estimate that used a tag.
ACCEPTED_POSES - Enum constant in enum class yall.telemetry.VisionTelemetryField
acceptedPoses: the pose estimates the filter accepted in the last update.
addCamera(PhotonCameraSim, Transform3d) - Method in class yall.sim.VisionSim
Adds a simulated camera.
addVisionMeasurements(PoseEstimator) - Method in class yall.VisionCamera
Adds every accepted estimate from the last VisionCamera.update() to a WPILib pose estimator, oldest first, with its timestamp and standard deviations.
addVisionMeasurements(PoseEstimator) - Method in class yall.VisionSystem
Adds every accepted estimate from the last VisionSystem.update() to a WPILib pose estimator, oldest first, with its timestamp and standard deviations.
addVisionTargets(String, VisionTargetSim...) - Method in class yall.sim.VisionSim
Adds targets other than the field's AprilTags, such as game pieces for object detection: use VisionTargetSim(Pose3d, org.photonvision.estimation.TargetModel, int, float) with a class ID.
adjustCamera(PhotonCameraSim, Transform3d) - Method in class yall.sim.VisionSim
Moves a simulated camera, for a camera on a turret or other mechanism.
ambiguity() - Method in record class yall.results.VisionPoseEstimate
Returns the value of the ambiguity record component.
ambiguity() - Method in record class yall.results.VisionTarget
Returns the value of the ambiguity record component.
applyFieldTagJitter(Pose3d) - Method in class yall.sim.VisionSim
Applies configured Gaussian X/Y field-tag placement jitter to a simulated robot pose.
applyPipelineIndex(int) - Method in class yall.cameras.LimelightWrapper
 
applyPipelineIndex(int) - Method in class yall.cameras.PhotonVisionWrapper
 
applyPipelineIndex(int) - Method in class yall.cameras.QuestNavWrapper
 
applyPipelineIndex(int) - Method in class yall.cameras.SynapseWrapper
 
applyPipelineIndex(int) - Method in class yall.VisionCamera
Switches the real camera's pipeline.
applyRobotOrientation(double, Rotation3d, double) - Method in class yall.cameras.LimelightWrapper
 
applyRobotOrientation(double, Rotation3d, double) - Method in class yall.cameras.PhotonVisionWrapper
 
applyRobotOrientation(double, Rotation3d, double) - Method in class yall.VisionCamera
Passes the robot orientation to the real camera, for cameras that use it themselves.
applyRobotToCamera(Transform3d) - Method in class yall.cameras.LimelightWrapper
 
applyRobotToCamera(Transform3d) - Method in class yall.cameras.PhotonVisionWrapper
 
applyRobotToCamera(Transform3d) - Method in class yall.cameras.SynapseWrapper
 
applyRobotToCamera(Transform3d) - Method in class yall.VisionCamera
Passes a new camera position to the real camera, for cameras that use it themselves.
applyStdDevs(VisionPoseEstimate) - Method in class yall.filter.VisionPoseFilter
Computes the standard deviations for an estimate.
applySuggestedBaseStdDevs(PoseFilterStats, long, Matrix, Matrix) - Method in class yall.filter.VisionPoseFilter
Applies PoseFilterStats.getSuggestedBaseStdDevs(double) as the multi-tag base standard deviations once at least minSamples accepted poses have been collected, clamping each axis into [minBase, maxBase] so noisy calibration runs cannot produce extreme weights.
ARDUCAM_OV9281 - Enum constant in enum class yall.sim.CameraModel
Arducam OV9281 USB camera (B0332), the common PhotonVision camera: 1280x800 at 100 fps, 70° horizontal field of view.
areaPercent() - Method in record class yall.results.VisionTarget
Returns the value of the areaPercent record component.
averageTagDistanceMeters() - Method in record class yall.results.VisionPoseEstimate
Returns the value of the averageTagDistanceMeters record component.

C

cacheRobotToCamera(Transform3d) - Method in class yall.VisionCamera
Updates the cached robot-to-camera transform without re-sending it to hardware.
CameraModel - Enum Class in yall.sim
Published specs of common FRC vision cameras, for simulating them.
cameraName() - Method in record class yall.results.VisionPoseEstimate
Returns the value of the cameraName record component.
cameraName() - Method in record class yall.results.VisionResult
Returns the value of the cameraName record component.
cameraToTarget() - Method in record class yall.results.VisionTarget
Returns the value of the cameraToTarget record component.
check(VisionPoseEstimate, Field, double, double) - Method in class yall.filter.VisionPoseFilter
Checks an estimate.
check(VisionPoseEstimate, Field, double, double, double) - Method in class yall.filter.VisionPoseFilter
Checks an estimate with optional average AprilTag image area.
checkEstimate(VisionPoseEstimate, VisionPoseFilter, Field, double, double) - Method in class yall.cameras.QuestNavWrapper
 
checkEstimate(VisionPoseEstimate, VisionPoseFilter, Field, double, double) - Method in class yall.VisionCamera
Runs the pose filter on an estimate.
checkWithoutTags(VisionPoseEstimate, Field, double) - Method in class yall.filter.VisionPoseFilter
Checks an estimate that doesn't come from AprilTags, such as a QuestNav headset's tracked pose.
classId() - Method in record class yall.results.VisionTarget
Returns the value of the classId record component.
clearFaults() - Method in class yall.sim.VisionSim
Clears any active blackout, stochastic dropout probability, and field-tag jitter.
close() - Method in class yall.cameras.QuestNavWrapper
Closes the reset subscribers, then the parts every camera shares.
close() - Method in class yall.cameras.SynapseWrapper
Closes the results subscriber, then the parts every camera shares.
close() - Method in class yall.VisionCamera
Removes the camera from simulation and closes its telemetry.
close() - Method in class yall.VisionSystem
Closes every camera and any active disconnect alerts.
confidence() - Method in record class yall.results.VisionTarget
Returns the value of the confidence record component.
config - Variable in class yall.VisionCamera
The camera's config.
CONNECTED - Enum constant in enum class yall.telemetry.VisionTelemetryField
connected: whether the camera is sending data.
createCameraSim(String, VisionCameraConfig, CameraModel, PhotonCamera) - Static method in class yall.sim.VisionSim
Makes the PhotonVision simulation of a camera and adds it to the camera's world (the config's, or VisionSim.getDefault()), if the robot program runs in simulation and the config allows it.

D

DEFAULT_DISCONNECT_DEBOUNCE - Static variable in class yall.VisionSystem
Default debounce duration before a disconnected camera triggers alerts or failover callbacks.

E

ELP_FISHEYE - Enum constant in enum class yall.sim.CameraModel
AndyMark ELP Fisheye Lens Camera (am-5170, ELP-USB8MP02G-L180): Sony IMX179 color rolling shutter with a 180° fisheye lens, simulated at 1280x960 and 20 fps (ELP's rate for that mode; 3264x2448 runs at 15 fps).
equals(Object) - Method in record class yall.results.VisionPoseEstimate
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class yall.results.VisionResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class yall.results.VisionTarget
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class yall.VisionFrame
Indicates whether some other object is "equal to" this one.
estimate() - Method in record class yall.VisionFrame
Returns the value of the estimate record component.
estimatePose(String, PhotonPipelineResult, PhotonPoseEstimator, PoseEstimationMode) - Static method in class yall.cameras.PhotonVisionFrames
Estimates the robot pose from one PhotonVision result: the trig solve for PoseEstimationMode.HEADING_ASSISTED, then the coprocessor's multi-tag result, then the lowest-ambiguity tag.

F

fiducialId() - Method in record class yall.results.VisionTarget
Returns the value of the fiducialId record component.
FILTER_STATS - Enum constant in enum class yall.telemetry.VisionTelemetryField
stats/...: pose filter counts (accepted, rejected, rejected by each check, acceptance rate) and the spread of the accepted poses (mean, standard deviations, sample count).
forEachEstimatedPose(Consumer) - Method in class yall.VisionCamera
Passes every accepted estimate from the last VisionCamera.update() to a consumer, oldest first.
forEachEstimatedPose(Consumer) - Method in class yall.VisionSystem
Passes every accepted estimate from the last VisionSystem.update() to a consumer, oldest first.

G

getAcceptanceRate() - Method in class yall.filter.PoseFilterStats
The share of estimates the filter accepted.
getAcceptedCount() - Method in class yall.filter.PoseFilterStats
How many estimates the filter accepted.
getAprilTags() - Method in record class yall.results.VisionResult
The AprilTags in the frame.
getAverageLatencyMillis() - Method in enum class yall.sim.CameraModel
Average latency simulated.
getAverageTagDistanceMeters() - Method in class yall.filter.PoseFilterStats
The average tag distance of the accepted poses.
getBestTarget() - Method in record class yall.results.VisionResult
The best target in the frame, as ranked by the camera.
getBestTarget() - Method in class yall.VisionCamera
The best target in the newest frame.
getCamera() - Method in class yall.cameras.LimelightWrapper
 
getCamera() - Method in class yall.cameras.PhotonVisionWrapper
 
getCamera() - Method in class yall.cameras.QuestNavWrapper
 
getCamera() - Method in class yall.cameras.SynapseWrapper
 
getCamera() - Method in class yall.VisionCamera
The vendor's camera object, for settings YALL doesn't cover.
getCamera(String) - Method in class yall.VisionSystem
Looks up a camera in this system by its configured name.
getCameraFieldPose() - Method in class yall.VisionCamera
Where the camera itself is on the field, worked out from the AprilTags in the newest frame alone.
getCameraProperties() - Method in class yall.VisionCameraConfig
Camera properties.
getCameras() - Method in class yall.VisionSystem
The cameras in this system.
getCameraSim() - Method in class yall.VisionCamera
The camera's PhotonVision simulation, for settings YALL doesn't cover.
getCameraSim(String) - Method in class yall.sim.VisionSim
Finds a simulated camera by its PhotonVision name.
getCameraYawOnRobot(Rotation2d) - Method in class yall.VisionCamera
Which way the camera points relative to the robot, from what it sees: the camera's heading on the field (VisionCamera.getCameraFieldPose()) minus the robot's heading.
getConfig() - Method in class yall.VisionCamera
The camera's config.
getConnectedCameraCount() - Method in class yall.VisionSystem
Number of cameras currently reporting connected.
getConnectedCameras() - Method in class yall.VisionSystem
Cameras that are currently connected.
getCustomChecks() - Method in class yall.filter.VisionPoseFilter
The custom checks, by name.
getDataLogPath(String) - Method in class yall.telemetry.VisionTelemetryConfig
The path to log under, if logging to a DataLog.
getDebugField() - Method in class yall.sim.VisionSim
A field drawing of the simulated robot, cameras and the targets they see.
getDefault() - Static method in class yall.sim.VisionSim
The world cameras join when their config doesn't name one.
getDetectedObjects() - Method in record class yall.results.VisionResult
The detected objects in the frame.
getDisconnectedCameras() - Method in class yall.VisionSystem
Cameras that are currently disconnected.
getDistanceDivisor() - Method in class yall.filter.VisionPoseFilter
The divisor for the squared tag distance in the standard deviation formula.
getEstimatedPose() - Method in class yall.VisionCamera
The newest robot pose estimate from the last VisionCamera.update() that passed the pose filter.
getEstimatedPoses() - Method in class yall.VisionCamera
Every robot pose estimate from the last VisionCamera.update() that passed the pose filter.
getEstimatedPoses() - Method in class yall.VisionSystem
Every accepted estimate from every camera in the last VisionSystem.update().
getField() - Method in class yall.sim.VisionSim
The field whose AprilTags the cameras see.
getField() - Method in class yall.VisionCameraConfig
The field holding the AprilTag layout.
getFieldBoundsMargin() - Method in class yall.filter.VisionPoseFilter
The field bounds margin.
getFilterStats() - Method in class yall.VisionCamera
What the pose filter has accepted and rejected since the stats were last reset, and how spread out the accepted poses are.
getFps() - Method in enum class yall.sim.CameraModel
Frames per second simulated.
getHeightPixels() - Method in enum class yall.sim.CameraModel
Image height simulated.
getHighTagCountBoostMinTags() - Method in class yall.filter.VisionPoseFilter
The minimum tag count required to trigger the high-tag-count trust boost.
getHorizontalFovDegrees() - Method in enum class yall.sim.CameraModel
Horizontal field of view.
getLastRejectionReason() - Method in class yall.VisionCamera
Why the pose filter last rejected an estimate.
getLatestResult() - Method in class yall.VisionCamera
The newest frame the camera has produced, even if the last VisionCamera.update() read none.
getMaxAge() - Method in class yall.filter.VisionPoseFilter
The oldest accepted image.
getMaxAmbiguity() - Method in class yall.filter.VisionPoseFilter
The largest accepted single-tag ambiguity.
getMaxDistanceFromPose() - Method in class yall.filter.VisionPoseFilter
The largest accepted distance from the current pose.
getMaxHeightError() - Method in class yall.filter.VisionPoseFilter
The largest accepted height error.
getMaxMultiTagDistance() - Method in class yall.filter.VisionPoseFilter
The largest accepted average tag distance for a multi-tag estimate.
getMaxSingleTagDistance() - Method in class yall.filter.VisionPoseFilter
The largest accepted average tag distance for a single-tag estimate.
getMaxTilt() - Method in class yall.filter.VisionPoseFilter
The largest accepted roll or pitch.
getMaxYawRate() - Method in class yall.filter.VisionPoseFilter
The fastest accepted spin.
getMeanPose() - Method in class yall.filter.PoseFilterStats
The average accepted pose.
getMinSingleTagArea() - Method in class yall.filter.VisionPoseFilter
The smallest accepted single-tag image area percentage.
getMinTagCount() - Method in class yall.filter.VisionPoseFilter
The fewest tags accepted.
getName() - Method in class yall.VisionCamera
Name of the camera.
getPhotonPoseEstimator() - Method in class yall.cameras.PhotonVisionWrapper
PhotonVision's pose estimator for this camera's real results, for settings YALL doesn't cover.
getPipelineIndex() - Method in class yall.VisionCamera
The camera's current pipeline.
getPipelineIndex() - Method in class yall.VisionCameraConfig
Pipeline to switch to on creation.
getPoseEstimationMode() - Method in class yall.VisionCameraConfig
How AprilTags become a robot pose.
getPoseFilter() - Method in class yall.VisionCameraConfig
The pose estimate filter.
getRejectedCount() - Method in class yall.filter.PoseFilterStats
How many estimates the filter rejected.
getRejectedCount(String) - Method in class yall.filter.PoseFilterStats
How many estimates one check rejected.
getRejectedPoses() - Method in class yall.VisionCamera
The robot pose estimates from the last VisionCamera.update() that the pose filter rejected.
getRejectionCounts() - Method in class yall.filter.PoseFilterStats
How many estimates each check rejected.
getRobotToCamera() - Method in class yall.VisionCamera
Where the camera is on the robot.
getRobotToCamera() - Method in class yall.VisionCameraConfig
Transform from the robot origin to the camera.
getSampleCount() - Method in class yall.filter.PoseFilterStats
How many accepted poses the spread is measured from.
getSimCameraProperties() - Method in enum class yall.sim.CameraModel
PhotonVision camera properties for this model: a distortion-free lens with the published horizontal and vertical field of view, small pixel noise, and the estimated latency.
getSimulatedPoseEstimator() - Method in class yall.VisionCamera
PhotonVision's pose estimator for this camera's simulated results, for settings YALL doesn't cover.
getStdDevs() - Method in class yall.cameras.QuestNavWrapper
The standard deviations given to accepted estimates.
getStdDevs() - Method in class yall.filter.PoseFilterStats
How spread out the accepted poses are: the sample standard deviation of x (meters), y (meters) and heading (radians).
getSuggestedBaseStdDevs(double) - Method in class yall.filter.PoseFilterStats
The base standard deviations that would give the measured spread at the measured tag distance, for VisionPoseFilter.withStdDevs(Matrix, Matrix, double): measured / (1 + distance² / distanceDivisor).
getTablePath(String) - Method in class yall.telemetry.VisionTelemetryConfig
The table to publish under.
getTargets() - Method in class yall.VisionCamera
The targets in the newest frame.
getTelemetryConfig() - Method in class yall.VisionCameraConfig
What the camera publishes to NetworkTables.
getUnreadResults() - Method in class yall.VisionCamera
The frames read by the last VisionCamera.update().
getVendorConfig() - Method in class yall.VisionCameraConfig
Vendor config object.
getVerbosity() - Method in class yall.telemetry.VisionTelemetryConfig
How much to publish.
getVerbosity() - Method in enum class yall.telemetry.VisionTelemetryField
The lowest verbosity that publishes this field.
getVerticalFovDegrees() - Method in enum class yall.sim.CameraModel
Vertical field of view.
getVisionSim() - Method in class yall.cameras.QuestNavWrapper
The simulated world this headset is in, which VisionSystem.updateSimulation(Pose2d) updates.
getVisionSim() - Method in class yall.VisionCamera
The simulated world this camera is in.
getVisionSim() - Method in class yall.VisionCameraConfig
The simulated world.
getVisionSystemSim() - Method in class yall.sim.VisionSim
The PhotonVision simulation underneath, for settings YALL doesn't cover.
getWidthPixels() - Method in enum class yall.sim.CameraModel
Image width simulated.
getYawRateWindow() - Method in class yall.filter.VisionPoseFilter
The yaw-rate window half-width.

H

HAS_TARGETS - Enum constant in enum class yall.telemetry.VisionTelemetryField
hasTargets: whether the newest frame has targets.
hasConnectedCamera() - Method in class yall.VisionSystem
Whether at least one camera in this system is currently connected.
hashCode() - Method in record class yall.results.VisionPoseEstimate
Returns a hash code value for this object.
hashCode() - Method in record class yall.results.VisionResult
Returns a hash code value for this object.
hashCode() - Method in record class yall.results.VisionTarget
Returns a hash code value for this object.
hashCode() - Method in record class yall.VisionFrame
Returns a hash code value for this object.
hasTargets() - Method in record class yall.results.VisionResult
Whether the frame has any targets.
hasTargets() - Method in class yall.VisionCamera
Whether the newest frame has targets.
HEADING_ASSISTED - Enum constant in enum class yall.PoseEstimationMode
Use the robot heading from VisionCamera.setRobotOrientation(Rotation3d, AngularVelocity) to steady the estimate: Limelight MegaTag2 and PhotonVision's PnP distance trig solve.
headingAssisted() - Method in record class yall.results.VisionPoseEstimate
Returns the value of the headingAssisted record component.
HIGH - Enum constant in enum class yall.telemetry.TelemetryVerbosity
Also the pose filter stats and every target's ID, yaw, pitch and area.

I

injectBlackout(double, Time) - Method in class yall.sim.VisionSim
Injects a deterministic camera blackout lasting duration starting at currentTimeSeconds.
isAprilTag() - Method in record class yall.results.VisionTarget
Whether the target is an AprilTag.
isBlackedOut(double) - Method in class yall.sim.VisionSim
Whether this simulated world is currently in an injected blackout window at nowSeconds.
isConnected() - Method in class yall.VisionCamera
Whether the camera is sending data.
isDetectedObject() - Method in record class yall.results.VisionTarget
Whether the target came from object detection.
isEnabled(VisionTelemetryField) - Method in class yall.telemetry.VisionTelemetryConfig
Whether a field is published.
isNetworkTablesEnabled() - Method in class yall.telemetry.VisionTelemetryConfig
Whether to publish to NetworkTables.
isPoseSet() - Method in class yall.cameras.QuestNavWrapper
Whether the headset's poses are on the field: it has confirmed a pose reset (or QuestNavWrapper.trustCurrentPose() was called), and no newer reset is waiting for its response.
isPreEnableAlignmentActive() - Method in class yall.filter.VisionPoseFilter
Whether pre-enable alignment mode is currently active (configured and robot disabled).
isSimulated() - Method in class yall.cameras.QuestNavWrapper
Whether this headset is giving simulated poses.
isSimulated() - Method in class yall.VisionCamera
Whether this camera is giving simulated results.
isSimulatedVideoStreamsEnabled() - Method in class yall.VisionCameraConfig
Whether the simulated camera streams video.
isSimulatedWireframeEnabled() - Method in class yall.VisionCameraConfig
Whether the simulated video streams draw the field.
isSimulationEnabled() - Method in class yall.VisionCameraConfig
Whether the camera is simulated in simulation.
isTelemetryEnabled() - Method in class yall.VisionCameraConfig
Whether the camera publishes telemetry.
isTracking() - Method in class yall.cameras.QuestNavWrapper
Whether the headset is tracking its pose.

L

LATENCY - Enum constant in enum class yall.telemetry.VisionTelemetryField
latencyMillis: the newest frame's latency.
latencyMillis() - Method in record class yall.results.VisionResult
Returns the value of the latencyMillis record component.
LIMELIGHT_2 - Enum constant in enum class yall.sim.CameraModel
Limelight 2: OV5647, 62.5° by 48.9°, AprilTags at about 6 fps at 1280x960.
LIMELIGHT_2_PLUS - Enum constant in enum class yall.sim.CameraModel
Limelight 2+: OV5647, 62.5° by 48.9°, AprilTags at about 7 fps at 1280x960.
LIMELIGHT_3 - Enum constant in enum class yall.sim.CameraModel
Limelight 3: OV5647, 62.5° by 48.9°, AprilTags at about 20 fps at 1280x960.
LIMELIGHT_3A - Enum constant in enum class yall.sim.CameraModel
Limelight 3A (USB): OV5647, 54.5° by 42°, AprilTags at about 20 fps at 1280x960.
LIMELIGHT_3G - Enum constant in enum class yall.sim.CameraModel
Limelight 3G: OV9281 global shutter, 82° by 56.2°, AprilTags at about 20 fps at full resolution.
LIMELIGHT_4 - Enum constant in enum class yall.sim.CameraModel
Limelight 4: OV9281 global shutter, 82° by 56.2°, AprilTags at about 40 fps at 1280x800.
LimelightWrapper - Class in yall.cameras
A Limelight, through LimelightLib 2.
LimelightWrapper(Limelight, VisionCameraConfig) - Constructor for class yall.cameras.LimelightWrapper
Wraps a Limelight.
LOW - Enum constant in enum class yall.telemetry.TelemetryVerbosity
Connection, targets in view and accepted poses: what a driver needs.
LUMA_P1 - Enum constant in enum class yall.sim.CameraModel
Luma P1: OV9281 global shutter running PhotonVision, 80° by 56°, AprilTags at about 60 fps at 1280x800 (decimate 2).
LUMA_P2 - Enum constant in enum class yall.sim.CameraModel
Luma P2: the same camera and performance as the Luma P1.

M

MID - Enum constant in enum class yall.telemetry.TelemetryVerbosity
Also rejected poses, why they were rejected and latency.

N

name - Variable in class yall.VisionCamera
Name of the camera.
NAME - Static variable in class yall.cameras.QuestNavWrapper
The camera name QuestNav estimates and telemetry are reported under.

O

onCameraDisconnected(Consumer) - Method in class yall.VisionSystem
Registers an edge-triggered callback invoked once when a camera transitions into the disconnected state (after any configured VisionSystem.withDisconnectDebounce(Time)).
onCameraReconnected(Consumer) - Method in class yall.VisionSystem
Registers an edge-triggered callback invoked once when a previously disconnected camera reconnects.

P

PhotonVisionFrames - Class in yall.cameras
Turns PhotonVision results into YALL frames.
PhotonVisionWrapper - Class in yall.cameras
A PhotonVision camera.
PhotonVisionWrapper(PhotonCamera, VisionCameraConfig) - Constructor for class yall.cameras.PhotonVisionWrapper
Wraps a PhotonVision camera.
pitchDegrees() - Method in record class yall.results.VisionTarget
Returns the value of the pitchDegrees record component.
pose() - Method in record class yall.results.VisionPoseEstimate
Returns the value of the pose record component.
pose2d() - Method in record class yall.results.VisionPoseEstimate
The estimated pose on the floor.
PoseEstimationMode - Enum Class in yall
How a camera turns the AprilTags it sees into a robot pose.
PoseFilterStats - Class in yall.filter
Counts of what a camera's pose filter accepted and rejected, and how spread out the accepted poses are.
PoseFilterStats() - Constructor for class yall.filter.PoseFilterStats
Creates empty stats.
privateCameraName(String) - Static method in class yall.sim.VisionSim
Name of the private PhotonVision camera made for a camera that isn't a PhotonVision camera.

Q

QuestNavWrapper - Class in yall.cameras
A QuestNav headset: a Meta Quest on the robot that tracks its own pose with its cameras and IMU, through QuestNavLib.
QuestNavWrapper(QuestNav, VisionCameraConfig) - Constructor for class yall.cameras.QuestNavWrapper
Wraps a QuestNav headset.

R

read(String, PhotonCamera, PhotonPoseEstimator, PoseEstimationMode) - Static method in class yall.cameras.PhotonVisionFrames
Reads a PhotonVision camera's unread results and turns them into frames.
readConnected() - Method in class yall.cameras.LimelightWrapper
 
readConnected() - Method in class yall.cameras.PhotonVisionWrapper
 
readConnected() - Method in class yall.cameras.QuestNavWrapper
 
readConnected() - Method in class yall.cameras.SynapseWrapper
 
readConnected() - Method in class yall.VisionCamera
Whether the real camera is sending data.
readFrames() - Method in class yall.cameras.LimelightWrapper
 
readFrames() - Method in class yall.cameras.PhotonVisionWrapper
 
readFrames() - Method in class yall.cameras.QuestNavWrapper
 
readFrames() - Method in class yall.cameras.SynapseWrapper
 
readFrames() - Method in class yall.VisionCamera
Reads the frames the real camera produced since the last call.
readPipelineIndex() - Method in class yall.cameras.LimelightWrapper
 
readPipelineIndex() - Method in class yall.cameras.PhotonVisionWrapper
 
readPipelineIndex() - Method in class yall.cameras.QuestNavWrapper
 
readPipelineIndex() - Method in class yall.cameras.SynapseWrapper
 
readPipelineIndex() - Method in class yall.VisionCamera
Reads the real camera's pipeline.
recordAccepted(VisionPoseEstimate) - Method in class yall.filter.PoseFilterStats
Counts an accepted estimate and adds its pose to the spread.
recordRejected(String) - Method in class yall.filter.PoseFilterStats
Counts a rejected estimate.
recordYawRate(double, double) - Method in class yall.filter.VisionPoseFilter
Records a timestamped robot yaw-rate sample for VisionPoseFilter.withYawRateWindow(Time).
REJECTED_POSES - Enum constant in enum class yall.telemetry.VisionTelemetryField
rejectedPoses: the pose estimates the filter rejected in the last update.
REJECTION_REASON - Enum constant in enum class yall.telemetry.VisionTelemetryField
rejectionReason: why the filter last rejected an estimate.
removeCamera(PhotonCameraSim) - Method in class yall.sim.VisionSim
Removes a simulated camera.
removeVisionTargets(String) - Method in class yall.sim.VisionSim
Removes a group of targets added with VisionSim.addVisionTargets(String, VisionTargetSim...).
reset() - Method in class yall.filter.PoseFilterStats
Starts counting again.
resetFilterStats() - Method in class yall.VisionCamera
Starts the pose filter stats counting again.
resetRobotPose(Pose2d) - Method in class yall.sim.VisionSim
Moves the simulated robot without processing frames, for example when resetting the robot pose.
result() - Method in record class yall.VisionFrame
Returns the value of the result record component.

S

setDefault(VisionSim) - Static method in class yall.sim.VisionSim
Replaces the default world, for example to use another field.
setPipelineIndex(int) - Method in class yall.VisionCamera
Switches the camera's pipeline.
setPipelineIndex(String, int) - Method in class yall.VisionSystem
Switches the pipeline on a named camera in this system.
setRobotOrientation(Rotation2d) - Method in class yall.VisionCamera
Gives the camera the robot's heading on the field, without a yaw rate.
setRobotOrientation(Rotation2d) - Method in class yall.VisionSystem
Gives every camera the robot's heading on the field, without a yaw rate.
setRobotOrientation(Rotation2d, AngularVelocity) - Method in class yall.VisionCamera
Gives the camera the robot's heading on the field and its yaw rate, with no roll or pitch.
setRobotOrientation(Rotation2d, AngularVelocity) - Method in class yall.VisionSystem
Gives every camera the robot's heading on the field and its yaw rate.
setRobotOrientation(Rotation3d, AngularVelocity) - Method in class yall.VisionCamera
Gives the camera the robot's orientation on the field.
setRobotOrientation(Rotation3d, AngularVelocity) - Method in class yall.VisionSystem
Gives every camera the robot's orientation on the field: the yaw from your pose estimator, the roll and pitch from the gyro.
setRobotPose(Pose2d) - Method in class yall.cameras.QuestNavWrapper
Tells the headset where the robot is, on the floor.
setRobotPose(Pose3d) - Method in class yall.cameras.QuestNavWrapper
Tells the headset where the robot is, which puts its poses on the field.
setRobotToCamera(Transform3d) - Method in class yall.VisionCamera
Moves the camera on the robot, for a camera on a turret or other moving mechanism.
setRobotToCamera(Distance, Distance, Distance, Angle, Angle, Angle) - Method in class yall.VisionCamera
Moves the camera on the robot, for a camera on a turret or other moving mechanism.
setRobotToCameraAndOrientation(Transform3d, Rotation3d, AngularVelocity) - Method in class yall.cameras.LimelightWrapper
Updates both a moving/turret-mounted camera's robot-to-camera transform and the robot's orientation in a single NetworkTables flush so MegaTag2 receives both values atomically.
shouldDropFrame(double) - Method in class yall.sim.VisionSim
Evaluates whether a simulated frame arriving at nowSeconds should be dropped due to an active blackout or stochastic dropout probability.
stdDevs() - Method in record class yall.results.VisionPoseEstimate
Returns the value of the stdDevs record component.
SynapseWrapper - Class in yall.cameras
A Synapse camera.
SynapseWrapper(SynapseCamera, VisionCameraConfig) - Constructor for class yall.cameras.SynapseWrapper
Wraps a Synapse camera.

T

tagCount() - Method in record class yall.results.VisionPoseEstimate
Number of AprilTags used.
tagIds() - Method in record class yall.results.VisionPoseEstimate
Returns the value of the tagIds record component.
TAGS_ONLY - Enum constant in enum class yall.PoseEstimationMode
Solve the robot pose from the tags alone: Limelight MegaTag1, PhotonVision's multi-tag result with a lowest-ambiguity fallback, and Synapse's field-space camera pose.
TARGET_COUNT - Enum constant in enum class yall.telemetry.VisionTelemetryField
targetCount: how many targets the newest frame has.
targets() - Method in record class yall.results.VisionResult
Returns the value of the targets record component.
TARGETS - Enum constant in enum class yall.telemetry.VisionTelemetryField
targets/...: every target's ID, yaw, pitch and area.
TelemetryVerbosity - Enum Class in yall.telemetry
How much a camera publishes to NetworkTables and logs to a DataLog.
THRIFTIEST_CAM - Enum constant in enum class yall.sim.CameraModel
Thriftiest Cam: OV9281 global shutter, 1280x800 at 120 fps, 82° by 56°.
THRIFTYCAM - Enum constant in enum class yall.sim.CameraModel
ThriftyCam with its stock 80° lens: OmniVision OG02B1B global shutter, 1600x1304 at 70 fps (firmware 5.10 or newer).
timestampSeconds() - Method in record class yall.results.VisionPoseEstimate
Returns the value of the timestampSeconds record component.
timestampSeconds() - Method in record class yall.results.VisionResult
Returns the value of the timestampSeconds record component.
toString() - Method in record class yall.results.VisionPoseEstimate
Returns a string representation of this record class.
toString() - Method in record class yall.results.VisionResult
Returns a string representation of this record class.
toString() - Method in record class yall.results.VisionTarget
Returns a string representation of this record class.
toString() - Method in record class yall.VisionFrame
Returns a string representation of this record class.
toVisionResult(String, PhotonPipelineResult) - Static method in class yall.cameras.PhotonVisionFrames
Turns one PhotonVision result into a YALL result.
trustCurrentPose() - Method in class yall.cameras.QuestNavWrapper
Accepts the pose the headset already has, without resetting it.

U

unfiltered(String, Pose3d, double, List, double, double, boolean) - Static method in record class yall.results.VisionPoseEstimate
Creates an estimate whose standard deviations the filter hasn't filled in yet.
update() - Method in class yall.VisionCamera
Reads new frames from the camera (or its simulation), filters their pose estimates, counts the filter's decisions and publishes telemetry.
update() - Method in class yall.VisionSystem
Updates every camera and evaluates connection health.
update(double) - Method in class yall.VisionSystem
Updates every camera and evaluates connection health using an explicit monotonic timestamp (useful for deterministic unit tests and log replay).
update(Pose2d) - Method in class yall.sim.VisionSim
Moves the simulated robot and processes a frame on each camera that is due one.
update(Pose3d) - Method in class yall.sim.VisionSim
Moves the simulated robot and processes a frame on each camera that is due one.
updateSimulation(Pose2d) - Method in class yall.VisionSystem
Updates the simulated worlds the cameras are in.

V

valueOf(String) - Static method in enum class yall.PoseEstimationMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class yall.sim.CameraModel
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class yall.telemetry.TelemetryVerbosity
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class yall.telemetry.VisionTelemetryField
Returns the enum constant of this class with the specified name.
values() - Static method in enum class yall.PoseEstimationMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class yall.sim.CameraModel
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class yall.telemetry.TelemetryVerbosity
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class yall.telemetry.VisionTelemetryField
Returns an array containing the constants of this enum class, in the order they are declared.
vendorRejection() - Method in record class yall.VisionFrame
Returns the value of the vendorRejection record component.
vendorStdDevs() - Method in record class yall.VisionFrame
Returns the value of the vendorStdDevs record component.
VisionCamera - Class in yall
A camera from any supported vendor, with one API for targets and robot pose estimates.
VisionCamera(String, VisionCameraConfig, PhotonCameraSim) - Constructor for class yall.VisionCamera
Sets up the parts every camera shares.
VisionCameraConfig - Class in yall
Settings shared by every VisionCamera, whatever the vendor.
VisionCameraConfig() - Constructor for class yall.VisionCameraConfig
Creates a config with the defaults: no camera offset, the current season's field.
VisionFrame - Record Class in yall
One frame read from a camera, before the pose filter.
VisionFrame(VisionResult, Optional) - Constructor for record class yall.VisionFrame
A frame with no vendor filtering.
VisionFrame(VisionResult, Optional, Optional, Optional) - Constructor for record class yall.VisionFrame
Creates an instance of a VisionFrame record class.
VisionPoseEstimate - Record Class in yall.results
A robot pose estimated from AprilTags, ready for a WPILib pose estimator.
VisionPoseEstimate(String, Pose3d, double, List, double, double, boolean, Matrix) - Constructor for record class yall.results.VisionPoseEstimate
Copies the tag list so the estimate can't change after it is made.
VisionPoseFilter - Class in yall.filter
Decides which vision pose estimates to trust, and how much.
VisionPoseFilter() - Constructor for class yall.filter.VisionPoseFilter
Creates a filter with the default checks described in the class documentation.
VisionResult - Record Class in yall.results
One processed camera frame, in the same form for every camera vendor.
VisionResult(String, double, double, List) - Constructor for record class yall.results.VisionResult
Copies the target list so the result can't change after it is made.
VisionSim - Class in yall.sim
The simulated world every simulated VisionCamera sees, whatever its vendor.
VisionSim(String, Field) - Constructor for class yall.sim.VisionSim
Creates a simulated world.
VisionSystem - Class in yall
Several VisionCameras working together, from any mix of vendors.
VisionSystem(VisionCamera...) - Constructor for class yall.VisionSystem
Creates a vision system.
VisionTarget - Record Class in yall.results
One target a camera sees, in the same form for every camera vendor.
VisionTarget(double, double, double, int, int, double, double, Optional) - Constructor for record class yall.results.VisionTarget
Creates an instance of a VisionTarget record class.
VisionTelemetryConfig - Class in yall.telemetry
What a camera publishes to NetworkTables and logs to a WPILib DataLog, and where.
VisionTelemetryConfig() - Constructor for class yall.telemetry.VisionTelemetryConfig
Creates a config that publishes every TelemetryVerbosity.MID field.
VisionTelemetryField - Enum Class in yall.telemetry
One group of values a camera can publish, and the lowest verbosity that publishes it.

W

withCameraModel(CameraModel) - Method in class yall.VisionCameraConfig
Sets the camera's resolution, field of view and frame rate from a camera's published specs.
withCameraProperties(int, int, Angle, Frequency) - Method in class yall.VisionCameraConfig
Sets the camera's resolution and diagonal field of view, keeping the rest of the default camera properties.
withCameraProperties(SimCameraProperties) - Method in class yall.VisionCameraConfig
Sets the camera's resolution, field of view, frame rate, latency and noise.
withCustomCheck(String, Predicate) - Method in class yall.filter.VisionPoseFilter
Adds a check of your own, run after the built-in ones.
withDataLog() - Method in class yall.telemetry.VisionTelemetryConfig
Logs the enabled fields to DataLogManager's log, under the same path as NetworkTables (YALL/<camera name> unless VisionTelemetryConfig.withTablePath(String) changes it).
withDataLog(String) - Method in class yall.telemetry.VisionTelemetryConfig
Logs the enabled fields to DataLogManager's log under a path of its own, such as "Vision/front".
withDisconnectAlerts(boolean) - Method in class yall.VisionSystem
Enables or disables automatic WPILib Alerts when a camera disconnects.
withDisconnectDebounce(Time) - Method in class yall.VisionSystem
Sets how long a camera must remain disconnected before VisionSystem.onCameraDisconnected(Consumer) and VisionSystem.withDisconnectAlerts(boolean) activate, preventing brief NetworkTables hiccups from flapping failover logic.
withDropoutProbability(double, long) - Method in class yall.sim.VisionSim
Configures deterministic per-frame stochastic dropout probability for simulated cameras.
withField(Field) - Method in class yall.VisionCameraConfig
Sets the field, which holds the AprilTag layout.
withField(VisionTelemetryField, boolean) - Method in class yall.telemetry.VisionTelemetryConfig
Turns one field on or off, whatever the verbosity.
withFieldBounds(Distance) - Method in class yall.filter.VisionPoseFilter
Rejects estimates that put the robot off the field.
withFieldTagJitter(Distance, long) - Method in class yall.sim.VisionSim
Configures Gaussian X/Y field-tag placement jitter (for example, Millimeters.of(13) to model Welded vs.
withHeadingAssistedThetaStdDev(Angle) - Method in class yall.filter.VisionPoseFilter
Sets the heading standard deviation for heading-assisted estimates (Limelight MegaTag2, PhotonVision's trig solve).
withHighTagCountBoost(Integer, Double) - Method in class yall.filter.VisionPoseFilter
Applies an extra X/Y standard deviation multiplier when an estimate sees at least minTags AprilTags (for example, trusting a 3+ tag shooter-camera solve more tightly).
withMaxAge(Time) - Method in class yall.filter.VisionPoseFilter
Rejects estimates from images older than the limit, and from images timestamped in the future.
withMaxAmbiguity(Double) - Method in class yall.filter.VisionPoseFilter
Rejects single-tag estimates whose pose ambiguity is above the limit.
withMaxDistanceFromPose(Supplier, Distance) - Method in class yall.filter.VisionPoseFilter
Rejects estimates further than the limit from the robot's current pose.
withMaxHeightError(Distance) - Method in class yall.filter.VisionPoseFilter
Rejects estimates that put the robot above or below the floor.
withMaxTagDistance(Distance, Distance) - Method in class yall.filter.VisionPoseFilter
Rejects estimates whose tags are, on average, further away than the limit.
withMaxTilt(Angle) - Method in class yall.filter.VisionPoseFilter
Rejects estimates that roll or pitch the robot further than the limit.
withMaxYawRate(AngularVelocity) - Method in class yall.filter.VisionPoseFilter
Rejects estimates taken while the robot spun faster than the limit.
withMinSingleTagArea(Double) - Method in class yall.filter.VisionPoseFilter
Rejects single-tag estimates whose tag covers less than the given percentage of the image.
withMinTagCount(Integer) - Method in class yall.filter.VisionPoseFilter
Rejects estimates that used fewer tags than the limit.
withNetworkTables(boolean) - Method in class yall.telemetry.VisionTelemetryConfig
Sets whether to publish to NetworkTables.
withPipelineIndex(int) - Method in class yall.VisionCameraConfig
Sets the pipeline to switch to when the camera is created.
withPoseEstimationMode(PoseEstimationMode) - Method in class yall.VisionCameraConfig
Sets how AprilTags become a robot pose.
withPoseFilter(VisionPoseFilter) - Method in class yall.VisionCameraConfig
Sets the filter that accepts or rejects pose estimates and weighs them.
withPreEnableAlignment(BooleanSupplier, Integer, Angle) - Method in class yall.filter.VisionPoseFilter
Enables pre-enable (disabled) field alignment: while isEnabled returns false, the pose-jump gate is bypassed so vision can snap to the field from an unknown starting pose, at least minPreEnableTags tags are required, and heading uses preEnableThetaStdDev so multi-tag solves can align the gyro before the match starts.
withRobotToCamera(Transform3d) - Method in class yall.VisionCameraConfig
Sets where the camera is on the robot.
withRobotToCamera(Distance, Distance, Distance, Angle, Angle, Angle) - Method in class yall.VisionCameraConfig
Sets where the camera is on the robot, measured from the robot's center on the floor.
withSimulatedVideoStreams(boolean) - Method in class yall.VisionCameraConfig
Sets whether the simulated camera streams what it would see: PhotonVision draws the AprilTags (and, with VisionCameraConfig.withSimulatedWireframe(boolean), the field) from the camera's point of view.
withSimulatedWireframe(boolean) - Method in class yall.VisionCameraConfig
Sets whether the simulated video streams also draw the field's floor and walls, which helps to see where the camera points.
withSimulation(boolean) - Method in class yall.VisionCameraConfig
Sets whether the camera gives simulated results when the robot program runs in simulation.
withSimulation(VisionSim) - Method in class yall.VisionCameraConfig
Sets the simulated world the camera belongs to.
withStdDevCalculator(Function) - Method in class yall.filter.VisionPoseFilter
Supplies a custom standard-deviation calculator that replaces the built-in base * (1 + d² / distanceDivisor) model for accepted estimates (for example, d^1.5 / tagCount or ambiguity-weighted covariance).
withStdDevs(Matrix) - Method in record class yall.results.VisionPoseEstimate
A copy of this estimate with other standard deviations.
withStdDevs(Matrix, Matrix, double) - Method in class yall.filter.VisionPoseFilter
Sets how standard deviations are computed for accepted estimates: base * (1 + d² / distanceDivisor), where d is the average tag distance in meters.
withStdDevs(Distance, Angle) - Method in class yall.cameras.QuestNavWrapper
Sets the standard deviations given to accepted estimates.
withStdDevScale(double) - Method in class yall.filter.VisionPoseFilter
Applies a constant multiplier to accepted X/Y standard deviations (for example, tightening trust during alignment or right after traversing a bump).
withStdDevScale(DoubleSupplier) - Method in class yall.filter.VisionPoseFilter
Applies a dynamic multiplier to accepted X/Y standard deviations (for example, switching between normal driving, close-in alignment, and post-bump relocalization snap modes).
withTablePath(String) - Method in class yall.telemetry.VisionTelemetryConfig
Sets the NetworkTables table to publish under, such as "Vision/front".
withTelemetry(boolean) - Method in class yall.VisionCameraConfig
Sets whether the camera publishes telemetry to NetworkTables, with the default VisionTelemetryConfig: every TelemetryVerbosity.MID field under YALL/<camera name>.
withTelemetry(VisionTelemetryConfig) - Method in class yall.VisionCameraConfig
Sets what the camera publishes to NetworkTables and logs to a DataLog, and where.
withVendorConfig(Object) - Method in class yall.VisionCameraConfig
Passes a vendor config object to the camera, as YAMS does for motor controllers.
withVerbosity(TelemetryVerbosity) - Method in class yall.telemetry.VisionTelemetryConfig
Sets how much to publish.
withYawRateWindow(Time) - Method in class yall.filter.VisionPoseFilter
Checks the peak yaw rate over a symmetric window (timestamp +/- halfWindow) rather than only the instantaneous yaw rate when the frame arrived.

Y

yall - package yall
Yet Another Localization Library: one camera API for PhotonVision, Limelight and Synapse, with PhotonVision simulation for all three, pose filtering, and every camera's estimates ready for a WPILib pose estimator.
yall.cameras - package yall.cameras
VisionCamera wrappers for PhotonVision, Limelight and Synapse cameras, and for QuestNav headsets.
yall.filter - package yall.filter
Filtering and weighting of vision pose estimates.
yall.results - package yall.results
Vendor-neutral camera results: frames, targets and robot pose estimates.
yall.sim - package yall.sim
Simulation for every YALL camera, built on PhotonVision's camera simulation.
yall.telemetry - package yall.telemetry
What cameras publish to NetworkTables and log to a DataLog.
yawDegrees() - Method in record class yall.results.VisionTarget
Returns the value of the yawDegrees record component.
A C D E F G H I L M N O P Q R S T U V W Y 
All Classes and Interfaces|All Packages|Constant Field Values