Index

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

A

addAllDetectedCorners(Photon.ProtobufTargetCorner...) - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
repeated .photonvision.proto.ProtobufTargetCorner detected_corners = 10;
addAllFiducialIdsUsed(int...) - Method in class org.photonvision.proto.Photon.ProtobufMultiTargetPNPResult
repeated int32 fiducial_ids_used = 2;
addAllMinAreaRectCorners(Photon.ProtobufTargetCorner...) - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
repeated .photonvision.proto.ProtobufTargetCorner min_area_rect_corners = 9;
addAllTargets(Photon.ProtobufPhotonTrackedTarget...) - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
repeated .photonvision.proto.ProtobufPhotonTrackedTarget targets = 2;
addAprilTags(AprilTagFieldLayout) - Method in class org.photonvision.simulation.VisionSystemSim
Adds targets on the field which your vision system is designed to detect.
addCamera(PhotonCameraSim, Transform3d) - Method in class org.photonvision.simulation.VisionSystemSim
Adds a simulated camera to this vision system with a specified robot-to-camera transformation.
addDetectedCorners(Photon.ProtobufTargetCorner) - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
repeated .photonvision.proto.ProtobufTargetCorner detected_corners = 10;
addFiducialIdsUsed(int) - Method in class org.photonvision.proto.Photon.ProtobufMultiTargetPNPResult
repeated int32 fiducial_ids_used = 2;
addHeadingData(double, Rotation2d) - Method in class org.photonvision.PhotonPoseEstimator
Add robot heading data to buffer.
addHeadingData(double, Rotation3d) - Method in class org.photonvision.PhotonPoseEstimator
Add robot heading data to buffer.
addMinAreaRectCorners(Photon.ProtobufTargetCorner) - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
repeated .photonvision.proto.ProtobufTargetCorner min_area_rect_corners = 9;
addTargets(Photon.ProtobufPhotonTrackedTarget) - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
repeated .photonvision.proto.ProtobufPhotonTrackedTarget targets = 2;
addVisionTargets(String, VisionTargetSim...) - Method in class org.photonvision.simulation.VisionSystemSim
Adds targets on the field which your vision system is designed to detect.
addVisionTargets(VisionTargetSim...) - Method in class org.photonvision.simulation.VisionSystemSim
Adds targets on the field which your vision system is designed to detect.
adjustCamera(PhotonCameraSim, Transform3d) - Method in class org.photonvision.simulation.VisionSystemSim
Adjust a camera's position relative to the robot.
alt - Variable in class org.photonvision.targeting.PnpResult
Alternate, ambiguous solution from solvepnp.
altCameraToTarget - Variable in class org.photonvision.targeting.PhotonTrackedTarget
 
altReprojErr - Variable in class org.photonvision.targeting.PnpResult
If no alternate solution is found, this is bestReprojErr
ambiguity - Variable in class org.photonvision.targeting.PnpResult
If no alternate solution is found, this is 0
apply(Pose3d) - Method in class org.photonvision.estimation.RotTrlTransform3d
 
apply(Rotation3d) - Method in class org.photonvision.estimation.RotTrlTransform3d
 
apply(Translation3d) - Method in class org.photonvision.estimation.RotTrlTransform3d
 
applyPoses(List<Pose3d>) - Method in class org.photonvision.estimation.RotTrlTransform3d
 
applyRots(List<Rotation3d>) - Method in class org.photonvision.estimation.RotTrlTransform3d
 
applyTrls(List<Translation3d>) - Method in class org.photonvision.estimation.RotTrlTransform3d
 
area - Variable in class org.photonvision.targeting.PhotonTrackedTarget
 
AVERAGE_BEST_TARGETS - Enum constant in enum class org.photonvision.PhotonPoseEstimator.PoseStrategy
Return the average of the best target poses using ambiguity as weight.
avgPoint(Point[]) - Static method in class org.photonvision.estimation.OpenCVHelp
 

B

best - Variable in class org.photonvision.targeting.PnpResult
The best-fit transform.
bestCameraToTarget - Variable in class org.photonvision.targeting.PhotonTrackedTarget
 
bestReprojErr - Variable in class org.photonvision.targeting.PnpResult
Reprojection error of the best solution, in pixels
bestTargetPosX - Variable in class org.photonvision.common.networktables.NTTopicSet
 
bestTargetPosY - Variable in class org.photonvision.common.networktables.NTTopicSet
 

C

calculateDistanceToTargetMeters(double, double, double, double) - Static method in class org.photonvision.PhotonUtils
Algorithm from https://docs.limelightvision.io/en/latest/cs_estimating_distance.html Estimates range to a target using the target's elevation.
cameraDistortionPublisher - Variable in class org.photonvision.common.networktables.NTTopicSet
 
cameraIntrinsicsPublisher - Variable in class org.photonvision.common.networktables.NTTopicSet
 
CameraTargetRelation - Class in org.photonvision.estimation
Holds various helper geometries describing the relation between camera and target.
CameraTargetRelation(Pose3d, Pose3d) - Constructor for class org.photonvision.estimation.CameraTargetRelation
 
camPose - Variable in class org.photonvision.estimation.CameraTargetRelation
 
camToTarg - Variable in class org.photonvision.estimation.CameraTargetRelation
 
camToTargAngle - Variable in class org.photonvision.estimation.CameraTargetRelation
Angle from the camera's relative x-axis
camToTargDist - Variable in class org.photonvision.estimation.CameraTargetRelation
 
camToTargDistXY - Variable in class org.photonvision.estimation.CameraTargetRelation
 
camToTargPitch - Variable in class org.photonvision.estimation.CameraTargetRelation
 
camToTargYaw - Variable in class org.photonvision.estimation.CameraTargetRelation
 
canSeeCorners(Point[]) - Method in class org.photonvision.simulation.PhotonCameraSim
Determines if all target points are inside the camera's image.
canSeeTargetPose(Pose3d, VisionTargetSim) - Method in class org.photonvision.simulation.PhotonCameraSim
Determines if this target's pose should be visible to the camera without considering its projected image points.
captureTimestampMicros - Variable in class org.photonvision.targeting.PhotonPipelineMetadata
 
Centermost - Enum constant in enum class org.photonvision.PhotonTargetSortMode
 
clear() - Method in class org.photonvision.common.dataflow.structures.Packet
Clears the packet and resets the read and write positions.
clear() - Method in class org.photonvision.proto.Photon.ProtobufMultiTargetPNPResult
 
clear() - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
 
clear() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
 
clear() - Method in class org.photonvision.proto.Photon.ProtobufPNPResult
 
clear() - Method in class org.photonvision.proto.Photon.ProtobufTargetCorner
 
clearAlt() - Method in class org.photonvision.proto.Photon.ProtobufPNPResult
optional .wpi.proto.ProtobufTransform3d alt = 4;
clearAltCameraToTarget() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional .wpi.proto.ProtobufTransform3d alt_camera_to_target = 7;
clearAltReprojErr() - Method in class org.photonvision.proto.Photon.ProtobufPNPResult
optional double alt_reproj_err = 5;
clearAmbiguity() - Method in class org.photonvision.proto.Photon.ProtobufPNPResult
optional double ambiguity = 6;
clearAprilTags() - Method in class org.photonvision.simulation.VisionSystemSim
 
clearArea() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional double area = 3;
clearBest() - Method in class org.photonvision.proto.Photon.ProtobufPNPResult
optional .wpi.proto.ProtobufTransform3d best = 2;
clearBestCameraToTarget() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional .wpi.proto.ProtobufTransform3d best_camera_to_target = 6;
clearBestReprojErr() - Method in class org.photonvision.proto.Photon.ProtobufPNPResult
optional double best_reproj_err = 3;
clearCameras() - Method in class org.photonvision.simulation.VisionSystemSim
Remove all simulated cameras from this vision system.
clearCaptureTimestampMicros() - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
optional int64 capture_timestamp_micros = 5;
clearDetectedCorners() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
repeated .photonvision.proto.ProtobufTargetCorner detected_corners = 10;
clearEstimatedPose() - Method in class org.photonvision.proto.Photon.ProtobufMultiTargetPNPResult
optional .photonvision.proto.ProtobufPNPResult estimated_pose = 1;
clearFiducialId() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional int32 fiducial_id = 5;
clearFiducialIdsUsed() - Method in class org.photonvision.proto.Photon.ProtobufMultiTargetPNPResult
repeated int32 fiducial_ids_used = 2;
clearLatencyMs() - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
Deprecated.
clearMinAreaRectCorners() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
repeated .photonvision.proto.ProtobufTargetCorner min_area_rect_corners = 9;
clearMultiTargetResult() - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
optional .photonvision.proto.ProtobufMultiTargetPNPResult multi_target_result = 3;
clearNtPublishTimestampMicros() - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
optional int64 nt_publish_timestamp_micros = 6;
clearObjDetectionConf() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional float obj_detection_conf = 12;
clearObjDetectionId() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional int32 obj_detection_id = 11;
clearPitch() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional double pitch = 2;
clearPoseAmbiguity() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional double pose_ambiguity = 8;
clearQuick() - Method in class org.photonvision.proto.Photon.ProtobufMultiTargetPNPResult
 
clearQuick() - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
 
clearQuick() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
 
clearQuick() - Method in class org.photonvision.proto.Photon.ProtobufPNPResult
 
clearQuick() - Method in class org.photonvision.proto.Photon.ProtobufTargetCorner
 
clearSequenceId() - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
optional int64 sequence_id = 4;
clearSkew() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional double skew = 4;
clearTargets() - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
repeated .photonvision.proto.ProtobufPhotonTrackedTarget targets = 2;
clearTimeSinceLastPongMicros() - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
optional int64 time_since_last_pong_micros = 7;
clearVisionTargets() - Method in class org.photonvision.simulation.VisionSystemSim
 
clearX() - Method in class org.photonvision.proto.Photon.ProtobufTargetCorner
optional double x = 1;
clearY() - Method in class org.photonvision.proto.Photon.ProtobufTargetCorner
optional double y = 2;
clearYaw() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional double yaw = 1;
clone() - Method in class org.photonvision.proto.Photon.ProtobufMultiTargetPNPResult
 
clone() - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
 
clone() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
 
clone() - Method in class org.photonvision.proto.Photon.ProtobufPNPResult
 
clone() - Method in class org.photonvision.proto.Photon.ProtobufTargetCorner
 
close() - Method in class org.photonvision.common.networktables.PacketPublisher
 
close() - Method in class org.photonvision.common.networktables.PacketSubscriber
 
close() - Method in class org.photonvision.PhotonCamera
 
close() - Method in class org.photonvision.simulation.PhotonCameraSim
 
CLOSEST_TO_CAMERA_HEIGHT - Enum constant in enum class org.photonvision.PhotonPoseEstimator.PoseStrategy
Choose the Pose which is closest to the camera height.
CLOSEST_TO_LAST_POSE - Enum constant in enum class org.photonvision.PhotonPoseEstimator.PoseStrategy
Choose the Pose which is closest to the last pose calculated
CLOSEST_TO_REFERENCE_POSE - Enum constant in enum class org.photonvision.PhotonPoseEstimator.PoseStrategy
Choose the Pose which is closest to a set Reference position.
computeSerializedSize() - Method in class org.photonvision.proto.Photon.ProtobufMultiTargetPNPResult
 
computeSerializedSize() - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
 
computeSerializedSize() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
 
computeSerializedSize() - Method in class org.photonvision.proto.Photon.ProtobufPNPResult
 
computeSerializedSize() - Method in class org.photonvision.proto.Photon.ProtobufTargetCorner
 
CONSTRAINED_SOLVEPNP - Enum constant in enum class org.photonvision.PhotonPoseEstimator.PoseStrategy
Solve a constrained version of the Perspective-n-Point problem with the robot's drivebase flat on the floor.
ConstrainedSolvepnpJni - Class in org.photonvision.jni
 
ConstrainedSolvepnpJni() - Constructor for class org.photonvision.jni.ConstrainedSolvepnpJni
 
ConstrainedSolvepnpParams(boolean, double) - Constructor for record class org.photonvision.PhotonPoseEstimator.ConstrainedSolvepnpParams
Creates an instance of a ConstrainedSolvepnpParams record class.
consumeNextEntryTime() - Method in class org.photonvision.simulation.PhotonCameraSim
Determine if this camera should process a new frame based on performance metrics and the time since the last update.
copy() - Method in class org.photonvision.simulation.SimCameraProperties
 
copyFrom(Photon.ProtobufMultiTargetPNPResult) - Method in class org.photonvision.proto.Photon.ProtobufMultiTargetPNPResult
 
copyFrom(Photon.ProtobufPhotonPipelineResult) - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
 
copyFrom(Photon.ProtobufPhotonTrackedTarget) - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
 
copyFrom(Photon.ProtobufPNPResult) - Method in class org.photonvision.proto.Photon.ProtobufPNPResult
 
copyFrom(Photon.ProtobufTargetCorner) - Method in class org.photonvision.proto.Photon.ProtobufTargetCorner
 
cornersToPoints(List<TargetCorner>) - Static method in class org.photonvision.estimation.OpenCVHelp
 
cornersToPoints(TargetCorner...) - Static method in class org.photonvision.estimation.OpenCVHelp
 
createMessage() - Method in class org.photonvision.targeting.proto.MultiTargetPNPResultProto
 
createMessage() - Method in class org.photonvision.targeting.proto.PhotonPipelineResultProto
 
createMessage() - Method in class org.photonvision.targeting.proto.PhotonTrackedTargetProto
 
createMessage() - Method in class org.photonvision.targeting.proto.PNPResultProto
 
createMessage() - Method in class org.photonvision.targeting.proto.TargetCornerProto
 
CscoreExtras - Class in org.photonvision.jni
 
CscoreExtras() - Constructor for class org.photonvision.jni.CscoreExtras
 
currentServerTimestamp() - Method in class org.photonvision.jni.TimeSyncClient
Best estimate of the current timestamp at the TSP server

D

decode(PhotonStructSerializable<T>) - Method in class org.photonvision.common.dataflow.structures.Packet
 
decodeBoolean() - Method in class org.photonvision.common.dataflow.structures.Packet
Returns a decoded boolean from the packet.
decodeByte() - Method in class org.photonvision.common.dataflow.structures.Packet
Returns a decoded byte from the packet.
decodeDouble() - Method in class org.photonvision.common.dataflow.structures.Packet
Returns a decoded double from the packet.
decodeDoubleArray(int) - Method in class org.photonvision.common.dataflow.structures.Packet
 
decodeFloat() - Method in class org.photonvision.common.dataflow.structures.Packet
Returns a decoded float from the packet.
decodeInt() - Method in class org.photonvision.common.dataflow.structures.Packet
Returns a decoded int from the packet.
decodeList(PacketSerde<T>) - Method in class org.photonvision.common.dataflow.structures.Packet
Decode a list of serializable structs.
decodeLong() - Method in class org.photonvision.common.dataflow.structures.Packet
 
decodeOptional(PacketSerde<T>) - Method in class org.photonvision.common.dataflow.structures.Packet
 
decodeShort() - Method in class org.photonvision.common.dataflow.structures.Packet
 
decodeShortList() - Method in class org.photonvision.common.dataflow.structures.Packet
 
description - Variable in enum class org.photonvision.common.hardware.Platform
 
detectedCorners - Variable in class org.photonvision.targeting.PhotonTrackedTarget
 
distortPoints(List<Point>, Mat, Mat) - Static method in class org.photonvision.estimation.OpenCVHelp
Distort a list of points in pixels using the OPENCV5/8 models.
do_optimization(boolean, int, double[], double[], double[], double[], double[], double, double) - Static method in class org.photonvision.jni.ConstrainedSolvepnpJni
 
drawFieldWireframe(RotTrlTransform3d, SimCameraProperties, double, double, Scalar, int, double, Scalar, Mat) - Static method in class org.photonvision.simulation.VideoSimUtil
Draw a wireframe of the field to the given image.
drawInscribedEllipse(Point[], Scalar, Mat) - Static method in class org.photonvision.simulation.VideoSimUtil
Draw a filled ellipse in the destination image.
drawPoly(Point[], int, Scalar, boolean, Mat) - Static method in class org.photonvision.simulation.VideoSimUtil
Draw a polygon outline or filled polygon to the destination image with the given points.
drawTagDetection(int, Point[], Mat) - Static method in class org.photonvision.simulation.VideoSimUtil
Draws a contour around the given points and text of the id onto the destination image.
driverModeEntry - Variable in class org.photonvision.common.networktables.NTTopicSet
 
driverModePublisher - Variable in class org.photonvision.common.networktables.NTTopicSet
 
driverModeSubscriber - Variable in class org.photonvision.common.networktables.NTTopicSet
 

E

enableDrawWireframe(boolean) - Method in class org.photonvision.simulation.PhotonCameraSim
Sets whether a wireframe of the field is drawn to the raw video stream.
enableProcessedStream(boolean) - Method in class org.photonvision.simulation.PhotonCameraSim
Sets whether the processed video stream simulation is enabled.
enableRawStream(boolean) - Method in class org.photonvision.simulation.PhotonCameraSim
Sets whether the raw video stream simulation is enabled.
encode(boolean) - Method in class org.photonvision.common.dataflow.structures.Packet
Encodes the boolean into the packet.
encode(byte) - Method in class org.photonvision.common.dataflow.structures.Packet
Encodes the byte into the packet.
encode(double) - Method in class org.photonvision.common.dataflow.structures.Packet
Encodes the double into the packet.
encode(double[]) - Method in class org.photonvision.common.dataflow.structures.Packet
 
encode(float) - Method in class org.photonvision.common.dataflow.structures.Packet
Encodes the float into the packet.
encode(int) - Method in class org.photonvision.common.dataflow.structures.Packet
Encodes the integer into the packet.
encode(long) - Method in class org.photonvision.common.dataflow.structures.Packet
Encodes the double into the packet.
encode(short) - Method in class org.photonvision.common.dataflow.structures.Packet
Encodes the short into the packet.
encode(List<Short>) - Method in class org.photonvision.common.dataflow.structures.Packet
 
encode(T) - Method in class org.photonvision.common.dataflow.structures.Packet
 
encodeList(List<T>) - Method in class org.photonvision.common.dataflow.structures.Packet
Encode a list of serializable structs.
encodeOptional(Optional<T>) - Method in class org.photonvision.common.dataflow.structures.Packet
 
equals(Object) - Method in class org.photonvision.estimation.TargetModel
 
equals(Object) - Method in record class org.photonvision.PhotonPoseEstimator.ConstrainedSolvepnpParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class org.photonvision.proto.Photon.ProtobufMultiTargetPNPResult
 
equals(Object) - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
 
equals(Object) - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
 
equals(Object) - Method in class org.photonvision.proto.Photon.ProtobufPNPResult
 
equals(Object) - Method in class org.photonvision.proto.Photon.ProtobufTargetCorner
 
equals(Object) - Method in class org.photonvision.simulation.VisionTargetSim
 
equals(Object) - Method in class org.photonvision.targeting.MultiTargetPNPResult
 
equals(Object) - Method in class org.photonvision.targeting.PhotonPipelineMetadata
 
equals(Object) - Method in class org.photonvision.targeting.PhotonPipelineResult
 
equals(Object) - Method in class org.photonvision.targeting.PhotonTrackedTarget
 
equals(Object) - Method in class org.photonvision.targeting.PnpResult
 
equals(Object) - Method in class org.photonvision.targeting.TargetCorner
 
estimateCameraToTarget(Translation2d, Pose2d, Rotation2d) - Static method in class org.photonvision.PhotonUtils
Estimates a Transform2d that maps the camera position to the target position, using the robot's gyro.
estimateCameraToTargetTranslation(double, Rotation2d) - Static method in class org.photonvision.PhotonUtils
Estimate the Translation2d of the target relative to the camera.
estimateCamPosePNP(Matrix<N3, N3>, Matrix<N8, N1>, List<PhotonTrackedTarget>, AprilTagFieldLayout, TargetModel) - Static method in class org.photonvision.estimation.VisionEstimation
Performs solvePNP using 3d-2d point correspondences of visible AprilTags to estimate the field-to-camera transformation.
estimatedPose - Variable in class org.photonvision.EstimatedRobotPose
The estimated pose
estimatedPose - Variable in class org.photonvision.targeting.MultiTargetPNPResult
 
EstimatedRobotPose - Class in org.photonvision
An estimated pose based on pipeline result
EstimatedRobotPose(Pose3d, double, List<PhotonTrackedTarget>, PhotonPoseEstimator.PoseStrategy) - Constructor for class org.photonvision.EstimatedRobotPose
Constructs an EstimatedRobotPose
estimateFieldToCamera(Transform2d, Pose2d) - Static method in class org.photonvision.PhotonUtils
Estimates the pose of the camera in the field coordinate system, given the position of the target relative to the camera, and the target relative to the field.
estimateFieldToRobot(double, double, double, double, Rotation2d, Rotation2d, Pose2d, Transform2d) - Static method in class org.photonvision.PhotonUtils
Estimate the position of the robot in the field.
estimateFieldToRobot(Transform2d, Pose2d, Transform2d) - Static method in class org.photonvision.PhotonUtils
Estimates the pose of the robot in the field coordinate system, given the position of the target relative to the camera, the target relative to the field, and the robot relative to the camera.
estimateFieldToRobotAprilTag(Transform3d, Pose3d, Transform3d) - Static method in class org.photonvision.PhotonUtils
Estimates the pose of the robot in the field coordinate system, given the pose of the fiducial tag, the robot relative to the camera, and the target relative to the camera.
estimateRobotPoseConstrainedSolvepnp(Matrix<N3, N3>, Matrix<N8, N1>, List<PhotonTrackedTarget>, Transform3d, Pose3d, AprilTagFieldLayout, TargetModel, boolean, Rotation2d, double) - Static method in class org.photonvision.estimation.VisionEstimation
Performs constrained solvePNP using 3d-2d point correspondences of visible AprilTags to estimate the field-to-camera transformation.
estLatencyMs() - Method in class org.photonvision.simulation.SimCameraProperties
 
estMsUntilNextFrame() - Method in class org.photonvision.simulation.SimCameraProperties
 
estPixelNoise(Point[]) - Method in class org.photonvision.simulation.SimCameraProperties
Returns these points after applying this camera's estimated noise.

F

fiducialId - Variable in class org.photonvision.targeting.PhotonTrackedTarget
 
fiducialID - Variable in class org.photonvision.simulation.VisionTargetSim
 
fiducialIDsUsed - Variable in class org.photonvision.targeting.MultiTargetPNPResult
 
forceLoadOpenCV() - Static method in class org.photonvision.estimation.OpenCVHelp
Deprecated, for removal: This API element is subject to removal in a future version.

G

get() - Method in class org.photonvision.common.networktables.PacketSubscriber
Get the latest value sent over NT.
get36h11MarkerPts() - Static method in class org.photonvision.simulation.VideoSimUtil
Gets the points representing the marker(black square) corners.
get36h11MarkerPts(int) - Static method in class org.photonvision.simulation.VideoSimUtil
Gets the points representing the marker(black square) corners.
getAllChanges() - Method in class org.photonvision.common.networktables.PacketSubscriber
 
getAllUnreadResults() - Method in class org.photonvision.PhotonCamera
The list of pipeline results sent by PhotonVision since the last call to getAllUnreadResults().
getAlt() - Method in class org.photonvision.proto.Photon.ProtobufPNPResult
optional .wpi.proto.ProtobufTransform3d alt = 4; This method returns the internal storage object without modifying any has state.
getAltCameraToTarget() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional .wpi.proto.ProtobufTransform3d alt_camera_to_target = 7; This method returns the internal storage object without modifying any has state.
getAlternateCameraToTarget() - Method in class org.photonvision.targeting.PhotonTrackedTarget
Get the transform that maps camera space (X = forward, Y = left, Z = up) to object/fiducial tag space (X forward, Y left, Z up) with the highest reprojection error
getAltReprojErr() - Method in class org.photonvision.proto.Photon.ProtobufPNPResult
optional double alt_reproj_err = 5;
getAmbiguity() - Method in class org.photonvision.proto.Photon.ProtobufPNPResult
optional double ambiguity = 6;
getArea() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional double area = 3;
getArea() - Method in class org.photonvision.targeting.PhotonTrackedTarget
 
getAspectRatio() - Method in class org.photonvision.simulation.SimCameraProperties
Width:height
getAvgLatencyMs() - Method in class org.photonvision.simulation.SimCameraProperties
 
getBest() - Method in class org.photonvision.proto.Photon.ProtobufPNPResult
optional .wpi.proto.ProtobufTransform3d best = 2; This method returns the internal storage object without modifying any has state.
getBestCameraToTarget() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional .wpi.proto.ProtobufTransform3d best_camera_to_target = 6; This method returns the internal storage object without modifying any has state.
getBestCameraToTarget() - Method in class org.photonvision.targeting.PhotonTrackedTarget
Get the transform that maps camera space (X = forward, Y = left, Z = up) to object/fiducial tag space (X forward, Y left, Z up) with the lowest reprojection error
getBestReprojErr() - Method in class org.photonvision.proto.Photon.ProtobufPNPResult
optional double best_reproj_err = 3;
getBestTarget() - Method in class org.photonvision.targeting.PhotonPipelineResult
Returns the best target in this pipeline result.
getBoundingRect(Point[]) - Static method in class org.photonvision.estimation.OpenCVHelp
Gets the (upright) rectangle which bounds this contour.
getCamera() - Method in class org.photonvision.simulation.PhotonCameraSim
 
getCameraMatrix() - Method in class org.photonvision.PhotonCamera
 
getCameraPose(PhotonCameraSim) - Method in class org.photonvision.simulation.VisionSystemSim
Get a simulated camera's position on the field.
getCameraPose(PhotonCameraSim, double) - Method in class org.photonvision.simulation.VisionSystemSim
Get a simulated camera's position on the field.
getCameraSim(String) - Method in class org.photonvision.simulation.VisionSystemSim
Get one of the simulated cameras.
getCameraSims() - Method in class org.photonvision.simulation.VisionSystemSim
Get all the simulated cameras.
getCameraTable() - Method in class org.photonvision.PhotonCamera
Gets the NetworkTable representing this camera's subtable.
getCaptureTimestampMicros() - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
optional int64 capture_timestamp_micros = 5;
getCaptureTimestampMicros() - Method in class org.photonvision.targeting.PhotonPipelineMetadata
The time that this image was captured, in the coprocessor's time base.
getComparator() - Method in enum class org.photonvision.PhotonTargetSortMode
 
getContourAreaPercent(Point[]) - Method in class org.photonvision.simulation.SimCameraProperties
The percentage(0 - 100) of this camera's resolution the contour takes up in pixels of the image.
getConvexHull(Point[]) - Static method in class org.photonvision.estimation.OpenCVHelp
Gets the convex hull contour (the outline) of a list of points.
getCorrectedPixelRot(Point) - Method in class org.photonvision.simulation.SimCameraProperties
Gives the yaw and pitch of the line intersecting the camera lens and the given pixel coordinates on the sensor.
getCurrentPlatform() - Static method in enum class org.photonvision.common.hardware.Platform
 
getDebugField() - Method in class org.photonvision.simulation.VisionSystemSim
 
getDescriptor() - Static method in class org.photonvision.proto.Photon
 
getDescriptor() - Static method in class org.photonvision.proto.Photon.ProtobufMultiTargetPNPResult
 
getDescriptor() - Static method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
 
getDescriptor() - Static method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
 
getDescriptor() - Static method in class org.photonvision.proto.Photon.ProtobufPNPResult
 
getDescriptor() - Static method in class org.photonvision.proto.Photon.ProtobufTargetCorner
 
getDescriptor() - Method in class org.photonvision.targeting.proto.MultiTargetPNPResultProto
 
getDescriptor() - Method in class org.photonvision.targeting.proto.PhotonPipelineResultProto
 
getDescriptor() - Method in class org.photonvision.targeting.proto.PhotonTrackedTargetProto
 
getDescriptor() - Method in class org.photonvision.targeting.proto.PNPResultProto
 
getDescriptor() - Method in class org.photonvision.targeting.proto.TargetCornerProto
 
getDetectedCorners() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
repeated .photonvision.proto.ProtobufTargetCorner detected_corners = 10; This method returns the internal storage object without modifying any has state.
getDetectedCorners() - Method in class org.photonvision.targeting.PhotonTrackedTarget
Return a list of the n corners in image space (origin top left, x right, y down), in no particular order, detected for this target.
getDetectedObjectClassID() - Method in class org.photonvision.targeting.PhotonTrackedTarget
Get the object detection class ID number, or -1 if not set.
getDetectedObjectConfidence() - Method in class org.photonvision.targeting.PhotonTrackedTarget
Get the object detection confidence, or -1 if not set.
getDiagFOV() - Method in class org.photonvision.simulation.SimCameraProperties
 
getDistanceToPose(Pose2d, Pose2d) - Static method in class org.photonvision.PhotonUtils
Returns the distance between two poses
getDistCoeffs() - Method in class org.photonvision.PhotonCamera
The camera calibration's distortion coefficients, in OPENCV8 form.
getDistCoeffs() - Method in class org.photonvision.simulation.SimCameraProperties
 
getDriverMode() - Method in class org.photonvision.PhotonCamera
Returns whether the camera is in driver mode.
getEstimatedPose() - Method in class org.photonvision.proto.Photon.ProtobufMultiTargetPNPResult
optional .photonvision.proto.ProtobufPNPResult estimated_pose = 1; This method returns the internal storage object without modifying any has state.
getExposureTimeMs() - Method in class org.photonvision.simulation.SimCameraProperties
 
getFactory() - Static method in class org.photonvision.proto.Photon.ProtobufMultiTargetPNPResult
 
getFactory() - Static method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
 
getFactory() - Static method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
 
getFactory() - Static method in class org.photonvision.proto.Photon.ProtobufPNPResult
 
getFactory() - Static method in class org.photonvision.proto.Photon.ProtobufTargetCorner
 
getFiducialId() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional int32 fiducial_id = 5;
getFiducialId() - Method in class org.photonvision.targeting.PhotonTrackedTarget
Get the fiducial ID, or -1 if not set.
getFiducialIdsUsed() - Method in class org.photonvision.proto.Photon.ProtobufMultiTargetPNPResult
repeated int32 fiducial_ids_used = 2; This method returns the internal storage object without modifying any has state.
getFieldTags() - Method in class org.photonvision.PhotonPoseEstimator
Get the AprilTagFieldLayout being used by the PositionEstimator.
getFieldVertices() - Method in class org.photonvision.simulation.VisionTargetSim
This target's vertices offset from its field pose.
getFieldVertices(Pose3d) - Method in class org.photonvision.estimation.TargetModel
This target's vertices offset from its field pose.
getFPS() - Method in class org.photonvision.simulation.SimCameraProperties
 
getFrameSpeedMs() - Method in class org.photonvision.simulation.SimCameraProperties
 
getHardwareModel() - Static method in enum class org.photonvision.common.hardware.Platform
 
getHorizFOV() - Method in class org.photonvision.simulation.SimCameraProperties
 
getImageCorners(Size) - Static method in class org.photonvision.simulation.VideoSimUtil
Gets the points representing the corners of this image.
getInterfaceUUID() - Method in interface org.photonvision.common.dataflow.structures.PacketSerde
The hash of the schema string
getInterfaceUUID() - Method in class org.photonvision.common.networktables.PacketSubscriber
 
getInterfaceUUID() - Method in class org.photonvision.struct.MultiTargetPNPResultSerde
 
getInterfaceUUID() - Method in class org.photonvision.struct.PhotonPipelineMetadataSerde
 
getInterfaceUUID() - Method in class org.photonvision.struct.PhotonPipelineResultSerde
 
getInterfaceUUID() - Method in class org.photonvision.struct.PhotonTrackedTargetSerde
 
getInterfaceUUID() - Method in class org.photonvision.struct.PnpResultSerde
 
getInterfaceUUID() - Method in class org.photonvision.struct.TargetCornerSerde
 
getIntrinsics() - Method in class org.photonvision.simulation.SimCameraProperties
 
getLatencyMillis() - Method in class org.photonvision.targeting.PhotonPipelineMetadata
Returns the time between image capture and publish to NT
getLatencyMs() - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
Deprecated.
getLatencyStdDevMs() - Method in class org.photonvision.simulation.SimCameraProperties
 
getLatestResult() - Method in class org.photonvision.PhotonCamera
Deprecated, for removal: This API element is subject to removal in a future version.
getLEDMode() - Method in class org.photonvision.PhotonCamera
Returns the current LED mode.
getMaxByteSize() - Method in interface org.photonvision.common.dataflow.structures.PacketSerde
 
getMaxByteSize() - Method in class org.photonvision.struct.MultiTargetPNPResultSerde
 
getMaxByteSize() - Method in class org.photonvision.struct.PhotonPipelineMetadataSerde
 
getMaxByteSize() - Method in class org.photonvision.struct.PhotonPipelineResultSerde
 
getMaxByteSize() - Method in class org.photonvision.struct.PhotonTrackedTargetSerde
 
getMaxByteSize() - Method in class org.photonvision.struct.PnpResultSerde
 
getMaxByteSize() - Method in class org.photonvision.struct.TargetCornerSerde
 
getMaxSightRangeMeters() - Method in class org.photonvision.simulation.PhotonCameraSim
 
getMinAreaRect(Point[]) - Static method in class org.photonvision.estimation.OpenCVHelp
Gets the rotated rectangle with minimum area which bounds this contour.
getMinAreaRectCorners() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
repeated .photonvision.proto.ProtobufTargetCorner min_area_rect_corners = 9; This method returns the internal storage object without modifying any has state.
getMinAreaRectCorners() - Method in class org.photonvision.targeting.PhotonTrackedTarget
Return a list of the 4 corners in image space (origin top left, x right, y down), in no particular order, of the minimum area bounding rectangle of this target
getMinTargetAreaPercent() - Method in class org.photonvision.simulation.PhotonCameraSim
 
getMinTargetAreaPixels() - Method in class org.photonvision.simulation.PhotonCameraSim
 
getModel() - Method in class org.photonvision.simulation.VisionTargetSim
 
getMultiTagResult() - Method in class org.photonvision.targeting.PhotonPipelineResult
Return the latest multi-target result.
getMultiTargetResult() - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
optional .photonvision.proto.ProtobufMultiTargetPNPResult multi_target_result = 3; This method returns the internal storage object without modifying any has state.
getMutableAlt() - Method in class org.photonvision.proto.Photon.ProtobufPNPResult
optional .wpi.proto.ProtobufTransform3d alt = 4; This method returns the internal storage object and sets the corresponding has state.
getMutableAltCameraToTarget() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional .wpi.proto.ProtobufTransform3d alt_camera_to_target = 7; This method returns the internal storage object and sets the corresponding has state.
getMutableBest() - Method in class org.photonvision.proto.Photon.ProtobufPNPResult
optional .wpi.proto.ProtobufTransform3d best = 2; This method returns the internal storage object and sets the corresponding has state.
getMutableBestCameraToTarget() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional .wpi.proto.ProtobufTransform3d best_camera_to_target = 6; This method returns the internal storage object and sets the corresponding has state.
getMutableDetectedCorners() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
repeated .photonvision.proto.ProtobufTargetCorner detected_corners = 10; This method returns the internal storage object and sets the corresponding has state.
getMutableEstimatedPose() - Method in class org.photonvision.proto.Photon.ProtobufMultiTargetPNPResult
optional .photonvision.proto.ProtobufPNPResult estimated_pose = 1; This method returns the internal storage object and sets the corresponding has state.
getMutableFiducialIdsUsed() - Method in class org.photonvision.proto.Photon.ProtobufMultiTargetPNPResult
repeated int32 fiducial_ids_used = 2; This method returns the internal storage object and sets the corresponding has state.
getMutableMinAreaRectCorners() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
repeated .photonvision.proto.ProtobufTargetCorner min_area_rect_corners = 9; This method returns the internal storage object and sets the corresponding has state.
getMutableMultiTargetResult() - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
optional .photonvision.proto.ProtobufMultiTargetPNPResult multi_target_result = 3; This method returns the internal storage object and sets the corresponding has state.
getMutableTargets() - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
repeated .photonvision.proto.ProtobufPhotonTrackedTarget targets = 2; This method returns the internal storage object and sets the corresponding has state.
getName() - Method in class org.photonvision.PhotonCamera
Returns the name of the camera.
getNativeLibraryFolderName() - Static method in enum class org.photonvision.common.hardware.Platform
 
getNestedPhotonMessages() - Method in interface org.photonvision.common.dataflow.structures.PacketSerde
Gets the list of photonstruct types referenced by this struct.
getNestedPhotonMessages() - Method in class org.photonvision.struct.MultiTargetPNPResultSerde
 
getNestedPhotonMessages() - Method in class org.photonvision.struct.PhotonPipelineMetadataSerde
 
getNestedPhotonMessages() - Method in class org.photonvision.struct.PhotonPipelineResultSerde
 
getNestedPhotonMessages() - Method in class org.photonvision.struct.PhotonTrackedTargetSerde
 
getNestedPhotonMessages() - Method in class org.photonvision.struct.PnpResultSerde
 
getNestedPhotonMessages() - Method in class org.photonvision.struct.TargetCornerSerde
 
getNestedWpilibMessages() - Method in interface org.photonvision.common.dataflow.structures.PacketSerde
Gets the list of WPILib struct types referenced by this struct.
getNestedWpilibMessages() - Method in class org.photonvision.struct.MultiTargetPNPResultSerde
 
getNestedWpilibMessages() - Method in class org.photonvision.struct.PhotonPipelineMetadataSerde
 
getNestedWpilibMessages() - Method in class org.photonvision.struct.PhotonPipelineResultSerde
 
getNestedWpilibMessages() - Method in class org.photonvision.struct.PhotonTrackedTargetSerde
 
getNestedWpilibMessages() - Method in class org.photonvision.struct.PnpResultSerde
 
getNestedWpilibMessages() - Method in class org.photonvision.struct.TargetCornerSerde
 
getNewlines() - Method in class org.photonvision.jni.QueuedFileLogger
 
getNtPublishTimestampMicros() - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
optional int64 nt_publish_timestamp_micros = 6;
getNumBytesRead() - Method in class org.photonvision.common.dataflow.structures.Packet
 
getNumBytesWritten() - Method in class org.photonvision.common.dataflow.structures.Packet
 
getObjDetectionConf() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional float obj_detection_conf = 12;
getObjDetectionId() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional int32 obj_detection_id = 11;
getOffset() - Method in class org.photonvision.jni.TimeSyncClient
This offset, when added to the current value of nt::now(), yields the timestamp in the timebase of the TSP Server
getOrientedPose(Translation3d, Translation3d) - Static method in class org.photonvision.estimation.TargetModel
Returns a Pose3d with the given target translation oriented (with its relative x-axis aligned) to the camera translation.
getPacketSize() - Method in class org.photonvision.targeting.PhotonPipelineResult
Returns the size of the packet needed to store this pipeline result.
getPingMetadata() - Method in class org.photonvision.jni.TimeSyncClient
 
getPipelineIndex() - Method in class org.photonvision.PhotonCamera
Returns the active pipeline index.
getPitch() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional double pitch = 2;
getPitch() - Method in class org.photonvision.targeting.PhotonTrackedTarget
 
getPixelPitch(double) - Method in class org.photonvision.simulation.SimCameraProperties
The pitch from the principal point of this camera to the pixel y value.
getPixelRot(Point) - Method in class org.photonvision.simulation.SimCameraProperties
Finds the yaw and pitch to the given image point.
getPixelYaw(double) - Method in class org.photonvision.simulation.SimCameraProperties
The yaw from the principal point of this camera to the pixel x value.
getPlatformName() - Static method in enum class org.photonvision.common.hardware.Platform
 
getPose() - Method in class org.photonvision.simulation.VisionTargetSim
 
getPoseAmbiguity() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional double pose_ambiguity = 8;
getPoseAmbiguity() - Method in class org.photonvision.targeting.PhotonTrackedTarget
Get the ratio of best:alternate pose reprojection errors, called ambiguity.
getPrimaryStrategy() - Method in class org.photonvision.PhotonPoseEstimator
Get the Position Estimation Strategy being used by the Position Estimator.
getPublishTimestampMicros() - Method in class org.photonvision.targeting.PhotonPipelineMetadata
The time that this result was published to NT, in the coprocessor's time base.
getReferencePose() - Method in class org.photonvision.PhotonPoseEstimator
Return the reference position that is being used by the estimator.
getResArea() - Method in class org.photonvision.simulation.SimCameraProperties
 
getResHeight() - Method in class org.photonvision.simulation.SimCameraProperties
 
getResWidth() - Method in class org.photonvision.simulation.SimCameraProperties
 
getRobotPose() - Method in class org.photonvision.simulation.VisionSystemSim
Get the latest robot pose in meters saved by the vision system.
getRobotPose(double) - Method in class org.photonvision.simulation.VisionSystemSim
Get the robot pose in meters saved by the vision system at this timestamp.
getRobotToCamera(PhotonCameraSim) - Method in class org.photonvision.simulation.VisionSystemSim
Get a simulated camera's position relative to the robot.
getRobotToCamera(PhotonCameraSim, double) - Method in class org.photonvision.simulation.VisionSystemSim
Get a simulated camera's position relative to the robot.
getRobotToCameraTransform() - Method in class org.photonvision.PhotonPoseEstimator
 
getRotation() - Method in class org.photonvision.estimation.RotTrlTransform3d
The rotation component of this transformation
getScaledThickness(double, Mat) - Static method in class org.photonvision.simulation.VideoSimUtil
Given a line thickness in a 640x480 image, try to scale to the given destination image resolution.
getSchema() - Method in interface org.photonvision.common.dataflow.structures.PacketSerde
The schema definition, as defined in photon-serde/README.md
getSchema() - Method in class org.photonvision.struct.MultiTargetPNPResultSerde
 
getSchema() - Method in class org.photonvision.struct.PhotonPipelineMetadataSerde
 
getSchema() - Method in class org.photonvision.struct.PhotonPipelineResultSerde
 
getSchema() - Method in class org.photonvision.struct.PhotonTrackedTargetSerde
 
getSchema() - Method in class org.photonvision.struct.PnpResultSerde
 
getSchema() - Method in class org.photonvision.struct.TargetCornerSerde
 
getSequenceId() - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
optional int64 sequence_id = 4;
getSequenceID() - Method in class org.photonvision.targeting.PhotonPipelineMetadata
The number of non-empty frames processed by this camera since boot.
getSerde() - Method in class org.photonvision.targeting.MultiTargetPNPResult
 
getSerde() - Method in class org.photonvision.targeting.PhotonPipelineMetadata
 
getSerde() - Method in class org.photonvision.targeting.PhotonPipelineResult
 
getSerde() - Method in class org.photonvision.targeting.PhotonTrackedTarget
 
getSerde() - Method in class org.photonvision.targeting.PnpResult
 
getSerde() - Method in interface org.photonvision.targeting.serde.PhotonStructSerializable
 
getSerde() - Method in class org.photonvision.targeting.TargetCorner
 
getServer() - Method in class org.photonvision.jni.TimeSyncClient
 
getSize() - Method in class org.photonvision.common.dataflow.structures.Packet
 
getSkew() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional double skew = 4;
getSkew() - Method in class org.photonvision.targeting.PhotonTrackedTarget
 
getTagModel() - Method in class org.photonvision.PhotonPoseEstimator
Get the TargetModel representing the tags being detected.
getTargets() - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
repeated .photonvision.proto.ProtobufPhotonTrackedTarget targets = 2; This method returns the internal storage object without modifying any has state.
getTargets() - Method in class org.photonvision.targeting.PhotonPipelineResult
Returns a copy of the vector of targets.
getTargetSortMode() - Method in class org.photonvision.simulation.PhotonCameraSim
 
getTimeSinceLastPongMicros() - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
optional int64 time_since_last_pong_micros = 7;
getTimestampSeconds() - Method in class org.photonvision.targeting.PhotonPipelineResult
Returns the estimated time the frame was taken, in the Time Sync Server's time base (nt::Now).
getTimestampSource(RawFrame) - Static method in class org.photonvision.jni.CscoreExtras
 
getTransform() - Method in class org.photonvision.estimation.RotTrlTransform3d
This transformation as a Transform3d (as if of the origin)
getTranslation() - Method in class org.photonvision.estimation.RotTrlTransform3d
The translation component of this transformation
getTypeClass() - Method in class org.photonvision.targeting.proto.MultiTargetPNPResultProto
 
getTypeClass() - Method in class org.photonvision.targeting.proto.PhotonPipelineResultProto
 
getTypeClass() - Method in class org.photonvision.targeting.proto.PhotonTrackedTargetProto
 
getTypeClass() - Method in class org.photonvision.targeting.proto.PNPResultProto
 
getTypeClass() - Method in class org.photonvision.targeting.proto.TargetCornerProto
 
getTypeName() - Method in interface org.photonvision.common.dataflow.structures.PacketSerde
The name of this struct (eg "PhotonTrackedTarget")
getTypeName() - Method in class org.photonvision.struct.MultiTargetPNPResultSerde
 
getTypeName() - Method in class org.photonvision.struct.PhotonPipelineMetadataSerde
 
getTypeName() - Method in class org.photonvision.struct.PhotonPipelineResultSerde
 
getTypeName() - Method in class org.photonvision.struct.PhotonTrackedTargetSerde
 
getTypeName() - Method in class org.photonvision.struct.PnpResultSerde
 
getTypeName() - Method in class org.photonvision.struct.TargetCornerSerde
 
getTypeString() - Method in interface org.photonvision.common.dataflow.structures.PacketSerde
Gets the type string (e.g.
getVertFOV() - Method in class org.photonvision.simulation.SimCameraProperties
 
getVideoSimFrameRaw() - Method in class org.photonvision.simulation.PhotonCameraSim
 
getVideoSimRaw() - Method in class org.photonvision.simulation.PhotonCameraSim
 
getVisibleLayoutTags(List<PhotonTrackedTarget>, AprilTagFieldLayout) - Static method in class org.photonvision.estimation.VisionEstimation
Get the visible AprilTags which are in the tag layout using the visible tag IDs.
getVisibleLine(RotTrlTransform3d, Translation3d, Translation3d) - Method in class org.photonvision.simulation.SimCameraProperties
Determines where the line segment defined by the two given translations intersects the camera's frustum/field-of-vision, if at all.
getVisionTargets() - Method in class org.photonvision.simulation.VisionSystemSim
 
getVisionTargets(String) - Method in class org.photonvision.simulation.VisionSystemSim
 
getWrittenDataCopy() - Method in class org.photonvision.common.dataflow.structures.Packet
Returns a copy of only the packet data we've actually written to so far.
getX() - Method in class org.photonvision.proto.Photon.ProtobufTargetCorner
optional double x = 1;
getY() - Method in class org.photonvision.proto.Photon.ProtobufTargetCorner
optional double y = 2;
getYaw() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional double yaw = 1;
getYaw() - Method in class org.photonvision.targeting.PhotonTrackedTarget
 
getYawToPose(Pose2d, Pose2d) - Static method in class org.photonvision.PhotonUtils
Returns the yaw between your robot and a target.
grabRawSinkFrameTimeoutLastTime(int, long, double, long) - Static method in class org.photonvision.jni.CscoreExtras
Fill with the latest image from the source this sink is connected to.

H

hardwareModel - Variable in enum class org.photonvision.common.hardware.Platform
 
hasAlt() - Method in class org.photonvision.proto.Photon.ProtobufPNPResult
optional .wpi.proto.ProtobufTransform3d alt = 4;
hasAltCameraToTarget() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional .wpi.proto.ProtobufTransform3d alt_camera_to_target = 7;
hasAltReprojErr() - Method in class org.photonvision.proto.Photon.ProtobufPNPResult
optional double alt_reproj_err = 5;
hasAmbiguity() - Method in class org.photonvision.proto.Photon.ProtobufPNPResult
optional double ambiguity = 6;
hasArea() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional double area = 3;
hasBest() - Method in class org.photonvision.proto.Photon.ProtobufPNPResult
optional .wpi.proto.ProtobufTransform3d best = 2;
hasBestCameraToTarget() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional .wpi.proto.ProtobufTransform3d best_camera_to_target = 6;
hasBestReprojErr() - Method in class org.photonvision.proto.Photon.ProtobufPNPResult
optional double best_reproj_err = 3;
hasCaptureTimestampMicros() - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
optional int64 capture_timestamp_micros = 5;
hasDetectedCorners() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
repeated .photonvision.proto.ProtobufTargetCorner detected_corners = 10;
hasEstimatedPose() - Method in class org.photonvision.proto.Photon.ProtobufMultiTargetPNPResult
optional .photonvision.proto.ProtobufPNPResult estimated_pose = 1;
hasFiducialId() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional int32 fiducial_id = 5;
hasFiducialIdsUsed() - Method in class org.photonvision.proto.Photon.ProtobufMultiTargetPNPResult
repeated int32 fiducial_ids_used = 2;
hashCode() - Method in record class org.photonvision.PhotonPoseEstimator.ConstrainedSolvepnpParams
Returns a hash code value for this object.
hashCode() - Method in class org.photonvision.targeting.MultiTargetPNPResult
 
hashCode() - Method in class org.photonvision.targeting.PhotonPipelineMetadata
 
hashCode() - Method in class org.photonvision.targeting.PhotonPipelineResult
 
hashCode() - Method in class org.photonvision.targeting.PhotonTrackedTarget
 
hashCode() - Method in class org.photonvision.targeting.PnpResult
 
hashCode() - Method in class org.photonvision.targeting.TargetCorner
 
hasLatencyMs() - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
Deprecated.
hasMinAreaRectCorners() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
repeated .photonvision.proto.ProtobufTargetCorner min_area_rect_corners = 9;
hasMultiTargetResult() - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
optional .photonvision.proto.ProtobufMultiTargetPNPResult multi_target_result = 3;
hasNtPublishTimestampMicros() - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
optional int64 nt_publish_timestamp_micros = 6;
hasObjDetectionConf() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional float obj_detection_conf = 12;
hasObjDetectionId() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional int32 obj_detection_id = 11;
hasPitch() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional double pitch = 2;
hasPoseAmbiguity() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional double pose_ambiguity = 8;
hasSequenceId() - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
optional int64 sequence_id = 4;
hasSkew() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional double skew = 4;
hasTargetEntry - Variable in class org.photonvision.common.networktables.NTTopicSet
 
hasTargets() - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
repeated .photonvision.proto.ProtobufPhotonTrackedTarget targets = 2;
hasTargets() - Method in class org.photonvision.targeting.PhotonPipelineResult
Returns whether the pipeline has targets.
hasTimeSinceLastPongMicros() - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
optional int64 time_since_last_pong_micros = 7;
hasX() - Method in class org.photonvision.proto.Photon.ProtobufTargetCorner
optional double x = 1;
hasY() - Method in class org.photonvision.proto.Photon.ProtobufTargetCorner
optional double y = 2;
hasYaw() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional double yaw = 1;
headingFree() - Method in record class org.photonvision.PhotonPoseEstimator.ConstrainedSolvepnpParams
Returns the value of the headingFree record component.
headingScaleFactor() - Method in record class org.photonvision.PhotonPoseEstimator.ConstrainedSolvepnpParams
Returns the value of the headingScaleFactor record component.
heartbeatPublisher - Variable in class org.photonvision.common.networktables.NTTopicSet
 
heartbeatTopic - Variable in class org.photonvision.common.networktables.NTTopicSet
 
Highest - Enum constant in enum class org.photonvision.PhotonTargetSortMode
 

I

inverse() - Method in class org.photonvision.estimation.RotTrlTransform3d
The inverse of this transformation.
isAthena() - Static method in enum class org.photonvision.common.hardware.Platform
 
isConnected() - Method in class org.photonvision.PhotonCamera
Returns whether the camera is connected and actively returning new data.
isEmpty() - Method in class org.photonvision.proto.Photon.ProtobufMultiTargetPNPResult
 
isEmpty() - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
 
isEmpty() - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
 
isEmpty() - Method in class org.photonvision.proto.Photon.ProtobufPNPResult
 
isEmpty() - Method in class org.photonvision.proto.Photon.ProtobufTargetCorner
 
isLinux() - Static method in enum class org.photonvision.common.hardware.Platform
 
isPi - Variable in enum class org.photonvision.common.hardware.Platform
 
isPlanar - Variable in class org.photonvision.estimation.TargetModel
 
isRaspberryPi() - Static method in enum class org.photonvision.common.hardware.Platform
 
isRK3588() - Static method in enum class org.photonvision.common.hardware.Platform
 
isSpherical - Variable in class org.photonvision.estimation.TargetModel
 
isSupported - Variable in enum class org.photonvision.common.hardware.Platform
 
isSupported() - Static method in enum class org.photonvision.common.hardware.Platform
 
isWindows() - Static method in enum class org.photonvision.common.hardware.Platform
 
isWorking - Static variable in class org.photonvision.jni.PhotonTargetingJniLoader
 

K

kAprilTag16h5 - Static variable in class org.photonvision.estimation.TargetModel
 
kAprilTag36h11 - Static variable in class org.photonvision.estimation.TargetModel
 
kBlink - Enum constant in enum class org.photonvision.common.hardware.VisionLEDMode
 
kDefault - Enum constant in enum class org.photonvision.common.hardware.VisionLEDMode
 
kNumTags36h11 - Static variable in class org.photonvision.simulation.VideoSimUtil
 
kOff - Enum constant in enum class org.photonvision.common.hardware.VisionLEDMode
 
kOn - Enum constant in enum class org.photonvision.common.hardware.VisionLEDMode
 
kTableName - Static variable in class org.photonvision.PhotonCamera
 
kTag36h11MarkerPts - Static variable in class org.photonvision.simulation.VideoSimUtil
 

L

Largest - Enum constant in enum class org.photonvision.PhotonTargetSortMode
 
lastPongTime - Variable in class org.photonvision.jni.TimeSyncClient.PingMetadata
 
latencyMillisEntry - Variable in class org.photonvision.common.networktables.NTTopicSet
 
Leftmost - Enum constant in enum class org.photonvision.PhotonTargetSortMode
 
LINUX - Enum constant in enum class org.photonvision.common.hardware.Platform.OSType
 
LINUX_32 - Enum constant in enum class org.photonvision.common.hardware.Platform
 
LINUX_64 - Enum constant in enum class org.photonvision.common.hardware.Platform
 
LINUX_AARCH64 - Enum constant in enum class org.photonvision.common.hardware.Platform
 
LINUX_ARM32 - Enum constant in enum class org.photonvision.common.hardware.Platform
 
LINUX_ARM64 - Enum constant in enum class org.photonvision.common.hardware.Platform
 
LINUX_RASPBIAN32 - Enum constant in enum class org.photonvision.common.hardware.Platform
 
LINUX_RASPBIAN64 - Enum constant in enum class org.photonvision.common.hardware.Platform
 
LINUX_RK3588_64 - Enum constant in enum class org.photonvision.common.hardware.Platform
 
LL2_1280_720() - Static method in class org.photonvision.simulation.SimCameraProperties
 
LL2_640_480() - Static method in class org.photonvision.simulation.SimCameraProperties
 
LL2_960_720() - Static method in class org.photonvision.simulation.SimCameraProperties
 
load() - Static method in class org.photonvision.jni.PhotonTargetingJniLoader
 
load() - Static method in class org.photonvision.timesync.TimeSyncSingleton
 
load_() - Static method in class org.photonvision.jni.PhotonTargetingJniLoader
 
loadLibraries() - Static method in class org.photonvision.jni.WpilibLoader
 
Lowest - Enum constant in enum class org.photonvision.PhotonTargetSortMode
 
LOWEST_AMBIGUITY - Enum constant in enum class org.photonvision.PhotonPoseEstimator.PoseStrategy
Choose the Pose with the lowest ambiguity.

M

MACOS - Enum constant in enum class org.photonvision.common.hardware.Platform
 
MACOS - Enum constant in enum class org.photonvision.common.hardware.Platform.OSType
 
makeRelativeTo(Pose3d) - Static method in class org.photonvision.estimation.RotTrlTransform3d
The rotation-translation transformation that makes poses in the world consider this pose as the new origin, or change the basis to this pose.
matrixToMat(SimpleMatrix) - Static method in class org.photonvision.estimation.OpenCVHelp
 
matToMatrix(Mat) - Static method in class org.photonvision.estimation.OpenCVHelp
 
mergeFrom(Photon.ProtobufMultiTargetPNPResult) - Method in class org.photonvision.proto.Photon.ProtobufMultiTargetPNPResult
 
mergeFrom(Photon.ProtobufPhotonPipelineResult) - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
 
mergeFrom(Photon.ProtobufPhotonTrackedTarget) - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
 
mergeFrom(Photon.ProtobufPNPResult) - Method in class org.photonvision.proto.Photon.ProtobufPNPResult
 
mergeFrom(Photon.ProtobufTargetCorner) - Method in class org.photonvision.proto.Photon.ProtobufTargetCorner
 
mergeFrom(JsonSource) - Method in class org.photonvision.proto.Photon.ProtobufMultiTargetPNPResult
 
mergeFrom(JsonSource) - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
 
mergeFrom(JsonSource) - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
 
mergeFrom(JsonSource) - Method in class org.photonvision.proto.Photon.ProtobufPNPResult
 
mergeFrom(JsonSource) - Method in class org.photonvision.proto.Photon.ProtobufTargetCorner
 
mergeFrom(ProtoSource) - Method in class org.photonvision.proto.Photon.ProtobufMultiTargetPNPResult
 
mergeFrom(ProtoSource) - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
 
mergeFrom(ProtoSource) - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
 
mergeFrom(ProtoSource) - Method in class org.photonvision.proto.Photon.ProtobufPNPResult
 
mergeFrom(ProtoSource) - Method in class org.photonvision.proto.Photon.ProtobufTargetCorner
 
metadata - Variable in class org.photonvision.targeting.PhotonPipelineResult
 
minAreaRectCorners - Variable in class org.photonvision.targeting.PhotonTrackedTarget
 
MULTI_TAG_PNP_ON_COPROCESSOR - Enum constant in enum class org.photonvision.PhotonPoseEstimator.PoseStrategy
Use all visible tags to compute a single pose estimate on coprocessor.
MULTI_TAG_PNP_ON_RIO - Enum constant in enum class org.photonvision.PhotonPoseEstimator.PoseStrategy
Use all visible tags to compute a single pose estimate.
multitagResult - Variable in class org.photonvision.targeting.PhotonPipelineResult
 
MultiTargetPNPResult - Class in org.photonvision.targeting
 
MultiTargetPNPResult() - Constructor for class org.photonvision.targeting.MultiTargetPNPResult
 
MultiTargetPNPResult(PnpResult, List<Short>) - Constructor for class org.photonvision.targeting.MultiTargetPNPResult
 
MultiTargetPNPResultProto - Class in org.photonvision.targeting.proto
 
MultiTargetPNPResultProto() - Constructor for class org.photonvision.targeting.proto.MultiTargetPNPResultProto
 
MultiTargetPNPResultSerde - Class in org.photonvision.struct
Auto-generated serialization/deserialization helper for MultiTargetPNPResult
MultiTargetPNPResultSerde() - Constructor for class org.photonvision.struct.MultiTargetPNPResultSerde
 

N

nativeLibraryFolderName - Variable in enum class org.photonvision.common.hardware.Platform
 
newInstance() - Static method in class org.photonvision.proto.Photon.ProtobufMultiTargetPNPResult
 
newInstance() - Static method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
 
newInstance() - Static method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
 
newInstance() - Static method in class org.photonvision.proto.Photon.ProtobufPNPResult
 
newInstance() - Static method in class org.photonvision.proto.Photon.ProtobufTargetCorner
 
NTTopicSet - Class in org.photonvision.common.networktables
This class is a wrapper around all per-pipeline NT topics that PhotonVision should be publishing It's split here so the sim and real-camera implementations can share a common implementation of the naming and registration of the NT content.
NTTopicSet() - Constructor for class org.photonvision.common.networktables.NTTopicSet
 

O

objDetectConf - Variable in class org.photonvision.targeting.PhotonTrackedTarget
 
objDetectId - Variable in class org.photonvision.targeting.PhotonTrackedTarget
 
offset - Variable in class org.photonvision.jni.TimeSyncClient.PingMetadata
 
OpenCVHelp - Class in org.photonvision.estimation
 
OpenCVHelp() - Constructor for class org.photonvision.estimation.OpenCVHelp
 
org.photonvision - package org.photonvision
 
org.photonvision.common.dataflow.structures - package org.photonvision.common.dataflow.structures
 
org.photonvision.common.hardware - package org.photonvision.common.hardware
 
org.photonvision.common.networktables - package org.photonvision.common.networktables
 
org.photonvision.estimation - package org.photonvision.estimation
 
org.photonvision.jni - package org.photonvision.jni
 
org.photonvision.proto - package org.photonvision.proto
 
org.photonvision.simulation - package org.photonvision.simulation
 
org.photonvision.struct - package org.photonvision.struct
 
org.photonvision.targeting - package org.photonvision.targeting
 
org.photonvision.targeting.proto - package org.photonvision.targeting.proto
 
org.photonvision.targeting.serde - package org.photonvision.targeting.serde
 
org.photonvision.timesync - package org.photonvision.timesync
 
org.photonvision.utils - package org.photonvision.utils
 
osType - Variable in enum class org.photonvision.common.hardware.Platform
 

P

pack(Packet, MultiTargetPNPResult) - Method in class org.photonvision.struct.MultiTargetPNPResultSerde
 
pack(Packet, PhotonPipelineMetadata) - Method in class org.photonvision.struct.PhotonPipelineMetadataSerde
 
pack(Packet, PhotonPipelineResult) - Method in class org.photonvision.struct.PhotonPipelineResultSerde
 
pack(Packet, PhotonTrackedTarget) - Method in class org.photonvision.struct.PhotonTrackedTargetSerde
 
pack(Packet, PnpResult) - Method in class org.photonvision.struct.PnpResultSerde
 
pack(Packet, TargetCorner) - Method in class org.photonvision.struct.TargetCornerSerde
 
pack(Packet, T) - Method in interface org.photonvision.common.dataflow.structures.PacketSerde
 
pack(Photon.ProtobufMultiTargetPNPResult, MultiTargetPNPResult) - Method in class org.photonvision.targeting.proto.MultiTargetPNPResultProto
 
pack(Photon.ProtobufPhotonPipelineResult, PhotonPipelineResult) - Method in class org.photonvision.targeting.proto.PhotonPipelineResultProto
 
pack(Photon.ProtobufPhotonTrackedTarget, PhotonTrackedTarget) - Method in class org.photonvision.targeting.proto.PhotonTrackedTargetProto
 
pack(Photon.ProtobufPNPResult, PnpResult) - Method in class org.photonvision.targeting.proto.PNPResultProto
 
pack(Photon.ProtobufTargetCorner, TargetCorner) - Method in class org.photonvision.targeting.proto.TargetCornerProto
 
pack(RepeatedMessage<Photon.ProtobufPhotonTrackedTarget>, List<PhotonTrackedTarget>) - Method in class org.photonvision.targeting.proto.PhotonTrackedTargetProto
 
pack(RepeatedMessage<Photon.ProtobufTargetCorner>, List<TargetCorner>) - Method in class org.photonvision.targeting.proto.TargetCornerProto
 
Packet - Class in org.photonvision.common.dataflow.structures
A packet that holds byte-packed data to be sent over NetworkTables.
Packet(byte[]) - Constructor for class org.photonvision.common.dataflow.structures.Packet
Constructs a packet with the given data.
Packet(int) - Constructor for class org.photonvision.common.dataflow.structures.Packet
Constructs an empty packet.
PacketPublisher<T> - Class in org.photonvision.common.networktables
 
PacketPublisher(RawPublisher, PacketSerde<T>) - Constructor for class org.photonvision.common.networktables.PacketPublisher
 
PacketResult() - Constructor for class org.photonvision.common.networktables.PacketSubscriber.PacketResult
 
PacketResult(U, long) - Constructor for class org.photonvision.common.networktables.PacketSubscriber.PacketResult
 
PacketSerde<T> - Interface in org.photonvision.common.dataflow.structures
 
PacketSubscriber<T> - Class in org.photonvision.common.networktables
 
PacketSubscriber(RawSubscriber, PacketSerde<T>) - Constructor for class org.photonvision.common.networktables.PacketSubscriber
Create a PacketSubscriber
PacketSubscriber.PacketResult<U> - Class in org.photonvision.common.networktables
 
PacketUtils - Class in org.photonvision.utils
 
PacketUtils() - Constructor for class org.photonvision.utils.PacketUtils
 
packPose2d(Packet, Pose2d) - Static method in class org.photonvision.utils.PacketUtils
 
packPose3d(Packet, Pose3d) - Static method in class org.photonvision.utils.PacketUtils
 
packQuaternion(Packet, Quaternion) - Static method in class org.photonvision.utils.PacketUtils
 
packRotation2d(Packet, Rotation2d) - Static method in class org.photonvision.utils.PacketUtils
 
packRotation3d(Packet, Rotation3d) - Static method in class org.photonvision.utils.PacketUtils
 
packTransform2d(Packet, Transform2d) - Static method in class org.photonvision.utils.PacketUtils
 
packTransform3d(Packet, Transform3d) - Static method in class org.photonvision.utils.PacketUtils
 
packTranslation2d(Packet, Translation2d) - Static method in class org.photonvision.utils.PacketUtils
 
packTranslation3d(Packet, Translation3d) - Static method in class org.photonvision.utils.PacketUtils
 
parseFrom(byte[]) - Static method in class org.photonvision.proto.Photon.ProtobufMultiTargetPNPResult
 
parseFrom(byte[]) - Static method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
 
parseFrom(byte[]) - Static method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
 
parseFrom(byte[]) - Static method in class org.photonvision.proto.Photon.ProtobufPNPResult
 
parseFrom(byte[]) - Static method in class org.photonvision.proto.Photon.ProtobufTargetCorner
 
parseFrom(JsonSource) - Static method in class org.photonvision.proto.Photon.ProtobufMultiTargetPNPResult
 
parseFrom(JsonSource) - Static method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
 
parseFrom(JsonSource) - Static method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
 
parseFrom(JsonSource) - Static method in class org.photonvision.proto.Photon.ProtobufPNPResult
 
parseFrom(JsonSource) - Static method in class org.photonvision.proto.Photon.ProtobufTargetCorner
 
parseFrom(ProtoSource) - Static method in class org.photonvision.proto.Photon.ProtobufMultiTargetPNPResult
 
parseFrom(ProtoSource) - Static method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
 
parseFrom(ProtoSource) - Static method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
 
parseFrom(ProtoSource) - Static method in class org.photonvision.proto.Photon.ProtobufPNPResult
 
parseFrom(ProtoSource) - Static method in class org.photonvision.proto.Photon.ProtobufTargetCorner
 
PERFECT_90DEG() - Static method in class org.photonvision.simulation.SimCameraProperties
960x720 resolution, 90 degree FOV, "perfect" lagless camera
Photon - Class in org.photonvision.proto
 
Photon() - Constructor for class org.photonvision.proto.Photon
 
Photon.ProtobufMultiTargetPNPResult - Class in org.photonvision.proto
Protobuf type ProtobufMultiTargetPNPResult
Photon.ProtobufPhotonPipelineResult - Class in org.photonvision.proto
Protobuf type ProtobufPhotonPipelineResult
Photon.ProtobufPhotonTrackedTarget - Class in org.photonvision.proto
Protobuf type ProtobufPhotonTrackedTarget
Photon.ProtobufPNPResult - Class in org.photonvision.proto
Protobuf type ProtobufPNPResult
Photon.ProtobufTargetCorner - Class in org.photonvision.proto
Protobuf type ProtobufTargetCorner
PhotonCamera - Class in org.photonvision
Represents a camera that is connected to PhotonVision.
PhotonCamera(NetworkTableInstance, String) - Constructor for class org.photonvision.PhotonCamera
Constructs a PhotonCamera from a root table.
PhotonCamera(String) - Constructor for class org.photonvision.PhotonCamera
Constructs a PhotonCamera from the name of the camera.
PhotonCameraSim - Class in org.photonvision.simulation
A handle for simulating PhotonCamera values.
PhotonCameraSim(PhotonCamera) - Constructor for class org.photonvision.simulation.PhotonCameraSim
Constructs a handle for simulating PhotonCamera values.
PhotonCameraSim(PhotonCamera, SimCameraProperties) - Constructor for class org.photonvision.simulation.PhotonCameraSim
Constructs a handle for simulating PhotonCamera values.
PhotonCameraSim(PhotonCamera, SimCameraProperties, double, double) - Constructor for class org.photonvision.simulation.PhotonCameraSim
Constructs a handle for simulating PhotonCamera values.
PhotonCameraSim(PhotonCamera, SimCameraProperties, double, double, AprilTagFieldLayout) - Constructor for class org.photonvision.simulation.PhotonCameraSim
Constructs a handle for simulating PhotonCamera values.
PhotonCameraSim(PhotonCamera, SimCameraProperties, AprilTagFieldLayout) - Constructor for class org.photonvision.simulation.PhotonCameraSim
Constructs a handle for simulating PhotonCamera values.
PhotonPipelineMetadata - Class in org.photonvision.targeting
 
PhotonPipelineMetadata() - Constructor for class org.photonvision.targeting.PhotonPipelineMetadata
 
PhotonPipelineMetadata(long, long, long, long) - Constructor for class org.photonvision.targeting.PhotonPipelineMetadata
 
PhotonPipelineMetadataSerde - Class in org.photonvision.struct
Auto-generated serialization/deserialization helper for PhotonPipelineMetadata
PhotonPipelineMetadataSerde() - Constructor for class org.photonvision.struct.PhotonPipelineMetadataSerde
 
PhotonPipelineResult - Class in org.photonvision.targeting
Represents a pipeline result from a PhotonCamera.
PhotonPipelineResult() - Constructor for class org.photonvision.targeting.PhotonPipelineResult
Constructs an empty pipeline result.
PhotonPipelineResult(long, long, long, long, List<PhotonTrackedTarget>) - Constructor for class org.photonvision.targeting.PhotonPipelineResult
Constructs a pipeline result.
PhotonPipelineResult(long, long, long, long, List<PhotonTrackedTarget>, Optional<MultiTargetPNPResult>) - Constructor for class org.photonvision.targeting.PhotonPipelineResult
Constructs a pipeline result.
PhotonPipelineResult(PhotonPipelineMetadata, List<PhotonTrackedTarget>, Optional<MultiTargetPNPResult>) - Constructor for class org.photonvision.targeting.PhotonPipelineResult
 
PhotonPipelineResultProto - Class in org.photonvision.targeting.proto
 
PhotonPipelineResultProto() - Constructor for class org.photonvision.targeting.proto.PhotonPipelineResultProto
 
PhotonPipelineResultSerde - Class in org.photonvision.struct
Auto-generated serialization/deserialization helper for PhotonPipelineResult
PhotonPipelineResultSerde() - Constructor for class org.photonvision.struct.PhotonPipelineResultSerde
 
PhotonPoseEstimator - Class in org.photonvision
The PhotonPoseEstimator class filters or combines readings from all the AprilTags visible at a given timestamp on the field to produce a single robot in field pose, using the strategy set below.
PhotonPoseEstimator(AprilTagFieldLayout, PhotonPoseEstimator.PoseStrategy, Transform3d) - Constructor for class org.photonvision.PhotonPoseEstimator
Create a new PhotonPoseEstimator.
PhotonPoseEstimator.ConstrainedSolvepnpParams - Record Class in org.photonvision
Tuning handles we have over the CONSTRAINED_SOLVEPNP PhotonPoseEstimator.PoseStrategy.
PhotonPoseEstimator.PoseStrategy - Enum Class in org.photonvision
Position estimation strategies that can be used by the PhotonPoseEstimator class.
photonStruct - Static variable in class org.photonvision.targeting.MultiTargetPNPResult
 
photonStruct - Static variable in class org.photonvision.targeting.PhotonPipelineMetadata
 
photonStruct - Static variable in class org.photonvision.targeting.PhotonPipelineResult
 
photonStruct - Static variable in class org.photonvision.targeting.PhotonTrackedTarget
 
photonStruct - Static variable in class org.photonvision.targeting.PnpResult
 
photonStruct - Static variable in class org.photonvision.targeting.TargetCorner
 
PhotonStructSerializable<T> - Interface in org.photonvision.targeting.serde
 
PhotonTargetingJniLoader - Class in org.photonvision.jni
 
PhotonTargetingJniLoader() - Constructor for class org.photonvision.jni.PhotonTargetingJniLoader
 
PhotonTargetSortMode - Enum Class in org.photonvision
 
PhotonTrackedTarget - Class in org.photonvision.targeting
 
PhotonTrackedTarget() - Constructor for class org.photonvision.targeting.PhotonTrackedTarget
 
PhotonTrackedTarget(double, double, double, double, int, int, float, Transform3d, Transform3d, double, List<TargetCorner>, List<TargetCorner>) - Constructor for class org.photonvision.targeting.PhotonTrackedTarget
Construct a tracked target, given exactly 4 corners
PhotonTrackedTargetProto - Class in org.photonvision.targeting.proto
 
PhotonTrackedTargetProto() - Constructor for class org.photonvision.targeting.proto.PhotonTrackedTargetProto
 
PhotonTrackedTargetSerde - Class in org.photonvision.struct
Auto-generated serialization/deserialization helper for PhotonTrackedTarget
PhotonTrackedTargetSerde() - Constructor for class org.photonvision.struct.PhotonTrackedTargetSerde
 
PhotonUtils - Class in org.photonvision
 
PI4_LIFECAM_320_240() - Static method in class org.photonvision.simulation.SimCameraProperties
 
PI4_LIFECAM_640_480() - Static method in class org.photonvision.simulation.SimCameraProperties
 
PingMetadata(long, long, long, long, long) - Constructor for class org.photonvision.jni.TimeSyncClient.PingMetadata
 
pingsSent - Variable in class org.photonvision.jni.TimeSyncClient.PingMetadata
 
pipelineIndexPublisher - Variable in class org.photonvision.common.networktables.NTTopicSet
 
pipelineIndexRequestSub - Variable in class org.photonvision.common.networktables.NTTopicSet
 
pitch - Variable in class org.photonvision.targeting.PhotonTrackedTarget
 
Platform - Enum Class in org.photonvision.common.hardware
 
Platform.OSType - Enum Class in org.photonvision.common.hardware
 
PNP_DISTANCE_TRIG_SOLVE - Enum constant in enum class org.photonvision.PhotonPoseEstimator.PoseStrategy
Use distance data from best visible tag to compute a Pose.
PnpResult - Class in org.photonvision.targeting
The best estimated transformation from solvePnP, and possibly an alternate transformation depending on the solvePNP method.
PnpResult() - Constructor for class org.photonvision.targeting.PnpResult
An empty (invalid) result.
PnpResult(Transform3d, double) - Constructor for class org.photonvision.targeting.PnpResult
 
PnpResult(Transform3d, Transform3d, double, double, double) - Constructor for class org.photonvision.targeting.PnpResult
 
PNPResultProto - Class in org.photonvision.targeting.proto
 
PNPResultProto() - Constructor for class org.photonvision.targeting.proto.PNPResultProto
 
PnpResultSerde - Class in org.photonvision.struct
Auto-generated serialization/deserialization helper for PnpResult
PnpResultSerde() - Constructor for class org.photonvision.struct.PnpResultSerde
 
pointsToCorners(MatOfPoint2f) - Static method in class org.photonvision.estimation.OpenCVHelp
 
pointsToCorners(Point...) - Static method in class org.photonvision.estimation.OpenCVHelp
 
polyFrom3dLines(RotTrlTransform3d, SimCameraProperties, List<Translation3d>, double, boolean, Mat) - Static method in class org.photonvision.simulation.VideoSimUtil
Convert 3D lines represented by the given series of translations into a polygon(s) in the camera's image.
pongsReceived - Variable in class org.photonvision.jni.TimeSyncClient.PingMetadata
 
POSE2D_BYTE_SIZE - Static variable in class org.photonvision.utils.PacketUtils
 
POSE3D_BYTE_SIZE - Static variable in class org.photonvision.utils.PacketUtils
 
poseAmbiguity - Variable in class org.photonvision.targeting.PhotonTrackedTarget
 
poseCacheTimestampSeconds - Variable in class org.photonvision.PhotonPoseEstimator
 
process(double, Pose3d, List<VisionTargetSim>) - Method in class org.photonvision.simulation.PhotonCameraSim
 
projectPoints(Matrix<N3, N3>, Matrix<N8, N1>, RotTrlTransform3d, List<Translation3d>) - Static method in class org.photonvision.estimation.OpenCVHelp
Project object points from the 3d world into the 2d camera image.
prop - Variable in class org.photonvision.simulation.PhotonCameraSim
This simulated camera's SimCameraProperties
proto - Static variable in class org.photonvision.targeting.MultiTargetPNPResult
 
proto - Static variable in class org.photonvision.targeting.PhotonPipelineResult
 
proto - Static variable in class org.photonvision.targeting.PhotonTrackedTarget
 
proto - Static variable in class org.photonvision.targeting.PnpResult
 
proto - Static variable in class org.photonvision.targeting.TargetCorner
 
protoResultPublisher - Variable in class org.photonvision.common.networktables.NTTopicSet
 
publisher - Variable in class org.photonvision.common.networktables.PacketPublisher
 
publishTimestampMicros - Variable in class org.photonvision.targeting.PhotonPipelineMetadata
 

Q

QUATERNION_BYTE_SIZE - Static variable in class org.photonvision.utils.PacketUtils
 
QueuedFileLogger - Class in org.photonvision.jni
 
QueuedFileLogger(String) - Constructor for class org.photonvision.jni.QueuedFileLogger
 

R

removeCamera(PhotonCameraSim) - Method in class org.photonvision.simulation.VisionSystemSim
Remove a simulated camera from this vision system.
removeEntries() - Method in class org.photonvision.common.networktables.NTTopicSet
 
removeVisionTargets(String) - Method in class org.photonvision.simulation.VisionSystemSim
 
removeVisionTargets(VisionTargetSim...) - Method in class org.photonvision.simulation.VisionSystemSim
 
reorderCircular(List<T>, boolean, int) - Static method in class org.photonvision.estimation.OpenCVHelp
Reorders the list, optionally indexing backwards and wrapping around to the last element after the first, and shifting all indices in the direction of indexing.
resetCameraTransforms() - Method in class org.photonvision.simulation.VisionSystemSim
Reset the previous transforms for all cameras to their current transform.
resetCameraTransforms(PhotonCameraSim) - Method in class org.photonvision.simulation.VisionSystemSim
Reset the transform history for this camera to just the current transform.
resetHeadingData(double, Rotation2d) - Method in class org.photonvision.PhotonPoseEstimator
Clears all heading data in the buffer, and adds a new seed.
resetRobotPose(Pose2d) - Method in class org.photonvision.simulation.VisionSystemSim
Clears all previous robot poses and sets robotPose at current time.
resetRobotPose(Pose3d) - Method in class org.photonvision.simulation.VisionSystemSim
Clears all previous robot poses and sets robotPose at current time.
resultPublisher - Variable in class org.photonvision.common.networktables.NTTopicSet
 
Rightmost - Enum constant in enum class org.photonvision.PhotonTargetSortMode
 
ROTATION2D_BYTE_SIZE - Static variable in class org.photonvision.utils.PacketUtils
 
ROTATION3D_BYTE_SIZE - Static variable in class org.photonvision.utils.PacketUtils
 
rotationToRvec(Rotation3d) - Static method in class org.photonvision.estimation.OpenCVHelp
Creates a new MatOfPoint3f with this 3d rotation.
RotTrlTransform3d - Class in org.photonvision.estimation
Represents a transformation that first rotates a pose around the origin, and then translates it.
RotTrlTransform3d() - Constructor for class org.photonvision.estimation.RotTrlTransform3d
 
RotTrlTransform3d(Pose3d, Pose3d) - Constructor for class org.photonvision.estimation.RotTrlTransform3d
 
RotTrlTransform3d(Rotation3d, Translation3d) - Constructor for class org.photonvision.estimation.RotTrlTransform3d
A rotation-translation transformation.
RotTrlTransform3d(Transform3d) - Constructor for class org.photonvision.estimation.RotTrlTransform3d
Creates a rotation-translation transformation from a Transform3d.
rtt2 - Variable in class org.photonvision.jni.TimeSyncClient.PingMetadata
 
rvecToRotation(Mat) - Static method in class org.photonvision.estimation.OpenCVHelp
Returns a 3d rotation from this Mat.

S

sequenceID - Variable in class org.photonvision.targeting.PhotonPipelineMetadata
 
set(T) - Method in class org.photonvision.common.networktables.PacketPublisher
 
set(T, int) - Method in class org.photonvision.common.networktables.PacketPublisher
 
setAlt(Geometry3D.ProtobufTransform3d) - Method in class org.photonvision.proto.Photon.ProtobufPNPResult
optional .wpi.proto.ProtobufTransform3d alt = 4;
setAltCameraToTarget(Geometry3D.ProtobufTransform3d) - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional .wpi.proto.ProtobufTransform3d alt_camera_to_target = 7;
setAltReprojErr(double) - Method in class org.photonvision.proto.Photon.ProtobufPNPResult
optional double alt_reproj_err = 5;
setAmbiguity(double) - Method in class org.photonvision.proto.Photon.ProtobufPNPResult
optional double ambiguity = 6;
setArea(double) - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional double area = 3;
setAvgLatencyMs(double) - Method in class org.photonvision.simulation.SimCameraProperties
 
setBest(Geometry3D.ProtobufTransform3d) - Method in class org.photonvision.proto.Photon.ProtobufPNPResult
optional .wpi.proto.ProtobufTransform3d best = 2;
setBestCameraToTarget(Geometry3D.ProtobufTransform3d) - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional .wpi.proto.ProtobufTransform3d best_camera_to_target = 6;
setBestReprojErr(double) - Method in class org.photonvision.proto.Photon.ProtobufPNPResult
optional double best_reproj_err = 3;
setCalibError(double, double) - Method in class org.photonvision.simulation.SimCameraProperties
 
setCalibration(int, int, Rotation2d) - Method in class org.photonvision.simulation.SimCameraProperties
 
setCalibration(int, int, Matrix<N3, N3>, Matrix<N8, N1>) - Method in class org.photonvision.simulation.SimCameraProperties
 
setCaptureTimestampMicros(long) - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
optional int64 capture_timestamp_micros = 5;
setData(byte[]) - Method in class org.photonvision.common.dataflow.structures.Packet
Sets the packet data.
setDriverMode(boolean) - Method in class org.photonvision.PhotonCamera
Toggles driver mode.
setEstimatedPose(Photon.ProtobufPNPResult) - Method in class org.photonvision.proto.Photon.ProtobufMultiTargetPNPResult
optional .photonvision.proto.ProtobufPNPResult estimated_pose = 1;
setExposureTimeMs(double) - Method in class org.photonvision.simulation.SimCameraProperties
 
setFiducialId(int) - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional int32 fiducial_id = 5;
setFieldDimensionsMeters(double, double) - Static method in class org.photonvision.simulation.VideoSimUtil
Set the field dimensions that are used for drawing the field wireframe.
setFieldTags(AprilTagFieldLayout) - Method in class org.photonvision.PhotonPoseEstimator
Set the AprilTagFieldLayout being used by the PositionEstimator.
setFPS(double) - Method in class org.photonvision.simulation.SimCameraProperties
 
setLastPose(Pose2d) - Method in class org.photonvision.PhotonPoseEstimator
Update the stored last pose.
setLastPose(Pose3d) - Method in class org.photonvision.PhotonPoseEstimator
Update the stored last pose.
setLatencyMs(double) - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
Deprecated.
setLatencyStdDevMs(double) - Method in class org.photonvision.simulation.SimCameraProperties
 
setLED(VisionLEDMode) - Method in class org.photonvision.PhotonCamera
Sets the LED mode.
setMaxSightRange(double) - Method in class org.photonvision.simulation.PhotonCameraSim
Maximum distance at which the target is illuminated to your camera.
setMinTargetAreaPercent(double) - Method in class org.photonvision.simulation.PhotonCameraSim
The minimum percentage(0 - 100) a detected target must take up of the camera's image to be processed.
setMinTargetAreaPixels(double) - Method in class org.photonvision.simulation.PhotonCameraSim
The minimum number of pixels a detected target must take up in the camera's image to be processed.
setModel(TargetModel) - Method in class org.photonvision.simulation.VisionTargetSim
 
setMultiTagFallbackStrategy(PhotonPoseEstimator.PoseStrategy) - Method in class org.photonvision.PhotonPoseEstimator
Set the Position Estimation Strategy used in multi-tag mode when only one tag can be seen.
setMultiTargetResult(Photon.ProtobufMultiTargetPNPResult) - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
optional .photonvision.proto.ProtobufMultiTargetPNPResult multi_target_result = 3;
setNtPublishTimestampMicros(long) - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
optional int64 nt_publish_timestamp_micros = 6;
setObjDetectionConf(float) - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional float obj_detection_conf = 12;
setObjDetectionId(int) - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional int32 obj_detection_id = 11;
setPipelineIndex(int) - Method in class org.photonvision.PhotonCamera
Allows the user to select the active pipeline index.
setPitch(double) - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional double pitch = 2;
setPose(Pose3d) - Method in class org.photonvision.simulation.VisionTargetSim
 
setPoseAmbiguity(double) - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional double pose_ambiguity = 8;
setPrimaryStrategy(PhotonPoseEstimator.PoseStrategy) - Method in class org.photonvision.PhotonPoseEstimator
Set the Position Estimation Strategy used by the Position Estimator.
setRandomSeed(long) - Method in class org.photonvision.simulation.SimCameraProperties
 
setReferencePose(Pose2d) - Method in class org.photonvision.PhotonPoseEstimator
Update the stored reference pose for use when using the CLOSEST_TO_REFERENCE_POSE strategy.
setReferencePose(Pose3d) - Method in class org.photonvision.PhotonPoseEstimator
Update the stored reference pose for use when using the CLOSEST_TO_REFERENCE_POSE strategy.
setRobotToCameraTransform(Transform3d) - Method in class org.photonvision.PhotonPoseEstimator
Useful for pan and tilt mechanisms and such.
setSequenceId(long) - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
optional int64 sequence_id = 4;
setServer(String) - Method in class org.photonvision.jni.TimeSyncClient
 
setSkew(double) - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional double skew = 4;
setTagModel(TargetModel) - Method in class org.photonvision.PhotonPoseEstimator
Set the TargetModel representing the tags being detected.
setTargetSortMode(PhotonTargetSortMode) - Method in class org.photonvision.simulation.PhotonCameraSim
Defines the order the targets are sorted in the pipeline result.
setTimeSinceLastPongMicros(long) - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
optional int64 time_since_last_pong_micros = 7;
setVersionCheckEnabled(boolean) - Static method in class org.photonvision.PhotonCamera
 
setWireframeResolution(double) - Method in class org.photonvision.simulation.PhotonCameraSim
Sets the resolution of the drawn wireframe if enabled.
setX(double) - Method in class org.photonvision.proto.Photon.ProtobufTargetCorner
optional double x = 1;
setY(double) - Method in class org.photonvision.proto.Photon.ProtobufTargetCorner
optional double y = 2;
setYaw(double) - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
optional double yaw = 1;
SimCameraProperties - Class in org.photonvision.simulation
Calibration and performance values for this camera.
SimCameraProperties() - Constructor for class org.photonvision.simulation.SimCameraProperties
Default constructor which is the same as SimCameraProperties.PERFECT_90DEG()
SimCameraProperties(String, int, int) - Constructor for class org.photonvision.simulation.SimCameraProperties
Reads camera properties from a photonvision config.json file.
SimCameraProperties(Path, int, int) - Constructor for class org.photonvision.simulation.SimCameraProperties
Reads camera properties from a photonvision config.json file.
skew - Variable in class org.photonvision.targeting.PhotonTrackedTarget
 
Smallest - Enum constant in enum class org.photonvision.PhotonTargetSortMode
 
SOFT_MAX_ARRAY_LENGTH - Static variable in class org.photonvision.common.dataflow.structures.Packet
 
solvePNP_SQPNP(Matrix<N3, N3>, Matrix<N8, N1>, List<Translation3d>, Point[]) - Static method in class org.photonvision.estimation.OpenCVHelp
Finds the transformation that maps the camera's pose to the origin of the supplied object.
solvePNP_SQUARE(Matrix<N3, N3>, Matrix<N8, N1>, List<Translation3d>, Point[]) - Static method in class org.photonvision.estimation.OpenCVHelp
Finds the transformation(s) that map the camera's pose to the target's pose.
start() - Method in class org.photonvision.jni.TimeSyncServer
 
stop() - Method in class org.photonvision.jni.QueuedFileLogger
 
stop() - Method in class org.photonvision.jni.TimeSyncClient
 
stop() - Method in class org.photonvision.jni.TimeSyncServer
 
strategy - Variable in class org.photonvision.EstimatedRobotPose
The strategy actually used to produce this pose
submitProcessedFrame(PhotonPipelineResult) - Method in class org.photonvision.simulation.PhotonCameraSim
Simulate one processed frame of vision data, putting one result to NT at current timestamp.
submitProcessedFrame(PhotonPipelineResult, long) - Method in class org.photonvision.simulation.PhotonCameraSim
Simulate one processed frame of vision data, putting one result to NT.
subscriber - Variable in class org.photonvision.common.networktables.PacketSubscriber
 
subTable - Variable in class org.photonvision.common.networktables.NTTopicSet
 

T

takeInputSnapshot() - Method in class org.photonvision.PhotonCamera
Request the camera to save a new image file from the input camera stream with overlays.
takeOutputSnapshot() - Method in class org.photonvision.PhotonCamera
Request the camera to save a new image file from the output stream with overlays.
targetAreaEntry - Variable in class org.photonvision.common.networktables.NTTopicSet
 
TargetCorner - Class in org.photonvision.targeting
Represents a point in an image at the corner of the minimum-area bounding rectangle, in pixels.
TargetCorner() - Constructor for class org.photonvision.targeting.TargetCorner
 
TargetCorner(double, double) - Constructor for class org.photonvision.targeting.TargetCorner
 
TargetCornerProto - Class in org.photonvision.targeting.proto
 
TargetCornerProto() - Constructor for class org.photonvision.targeting.proto.TargetCornerProto
 
TargetCornerSerde - Class in org.photonvision.struct
Auto-generated serialization/deserialization helper for TargetCorner
TargetCornerSerde() - Constructor for class org.photonvision.struct.TargetCornerSerde
 
TargetModel - Class in org.photonvision.estimation
Describes the 3d model of a target.
TargetModel(double) - Constructor for class org.photonvision.estimation.TargetModel
Creates a spherical target model which has similar dimensions regardless of its rotation.
TargetModel(double, double) - Constructor for class org.photonvision.estimation.TargetModel
Creates a rectangular, planar target model given the width and height.
TargetModel(double, double, double) - Constructor for class org.photonvision.estimation.TargetModel
Creates a cuboid target model given the length, width, height.
TargetModel(List<Translation3d>) - Constructor for class org.photonvision.estimation.TargetModel
Creates a target model from arbitrary 3d vertices.
targetPitchEntry - Variable in class org.photonvision.common.networktables.NTTopicSet
 
targetPoseEntry - Variable in class org.photonvision.common.networktables.NTTopicSet
 
targets - Variable in class org.photonvision.targeting.PhotonPipelineResult
 
targetSkewEntry - Variable in class org.photonvision.common.networktables.NTTopicSet
 
targetsUsed - Variable in class org.photonvision.EstimatedRobotPose
A list of the targets used to compute this pose
targetYawEntry - Variable in class org.photonvision.common.networktables.NTTopicSet
 
targToCam - Variable in class org.photonvision.estimation.CameraTargetRelation
 
targToCamAngle - Variable in class org.photonvision.estimation.CameraTargetRelation
Angle from the target's relative x-axis
targToCamPitch - Variable in class org.photonvision.estimation.CameraTargetRelation
 
targToCamYaw - Variable in class org.photonvision.estimation.CameraTargetRelation
 
timeSinceLastPong - Variable in class org.photonvision.targeting.PhotonPipelineMetadata
 
timeSinceLastPong() - Method in class org.photonvision.jni.TimeSyncClient.PingMetadata
How long, in us, since we last heard back from the server
timestamp - Variable in class org.photonvision.common.networktables.PacketSubscriber.PacketResult
 
timestampSeconds - Variable in class org.photonvision.EstimatedRobotPose
The estimated time the frame used to derive the robot pose was taken
TimeSyncClient - Class in org.photonvision.jni
Send ping-pongs to estimate server time, relative to nt::Now.
TimeSyncClient(String, int, double) - Constructor for class org.photonvision.jni.TimeSyncClient
 
TimeSyncClient.PingMetadata - Class in org.photonvision.jni
 
TimeSyncServer - Class in org.photonvision.jni
 
TimeSyncServer(int) - Constructor for class org.photonvision.jni.TimeSyncServer
 
TimeSyncSingleton - Class in org.photonvision.timesync
Helper to hold a single TimeSyncServer instance with some default config
TimeSyncSingleton() - Constructor for class org.photonvision.timesync.TimeSyncSingleton
 
toString() - Method in enum class org.photonvision.common.hardware.VisionLEDMode
 
toString() - Method in class org.photonvision.jni.TimeSyncClient.PingMetadata
 
toString() - Method in record class org.photonvision.PhotonPoseEstimator.ConstrainedSolvepnpParams
Returns a string representation of this record class.
toString() - Method in class org.photonvision.targeting.MultiTargetPNPResult
 
toString() - Method in class org.photonvision.targeting.PhotonPipelineMetadata
 
toString() - Method in class org.photonvision.targeting.PhotonPipelineResult
 
toString() - Method in class org.photonvision.targeting.PhotonTrackedTarget
 
toString() - Method in class org.photonvision.targeting.PnpResult
 
toString() - Method in class org.photonvision.targeting.TargetCorner
 
TRANSFORM2D_BYTE_SIZE - Static variable in class org.photonvision.utils.PacketUtils
 
TRANSFORM3D_BYTE_SIZE - Static variable in class org.photonvision.utils.PacketUtils
 
TRANSLATION2D_BYTE_SIZE - Static variable in class org.photonvision.utils.PacketUtils
 
TRANSLATION3D_BYTE_SIZE - Static variable in class org.photonvision.utils.PacketUtils
 
translationToTvec(Translation3d...) - Static method in class org.photonvision.estimation.OpenCVHelp
Creates a new MatOfPoint3f with these 3d translations.
ts - Variable in class org.photonvision.simulation.PhotonCameraSim
 
tvecToTranslation(Mat) - Static method in class org.photonvision.estimation.OpenCVHelp
Returns a new 3d translation from this Mat.

U

undistortPoints(Matrix<N3, N3>, Matrix<N8, N1>, Point[]) - Static method in class org.photonvision.estimation.OpenCVHelp
Undistort 2d image points using a given camera's intrinsics and distortion.
UNKNOWN - Enum constant in enum class org.photonvision.common.hardware.Platform.OSType
 
UNKNOWN - Enum constant in enum class org.photonvision.common.hardware.Platform
 
unpack(Packet) - Method in interface org.photonvision.common.dataflow.structures.PacketSerde
 
unpack(Packet) - Method in class org.photonvision.struct.MultiTargetPNPResultSerde
 
unpack(Packet) - Method in class org.photonvision.struct.PhotonPipelineMetadataSerde
 
unpack(Packet) - Method in class org.photonvision.struct.PhotonPipelineResultSerde
 
unpack(Packet) - Method in class org.photonvision.struct.PhotonTrackedTargetSerde
 
unpack(Packet) - Method in class org.photonvision.struct.PnpResultSerde
 
unpack(Packet) - Method in class org.photonvision.struct.TargetCornerSerde
 
unpack(Photon.ProtobufMultiTargetPNPResult) - Method in class org.photonvision.targeting.proto.MultiTargetPNPResultProto
 
unpack(Photon.ProtobufPhotonPipelineResult) - Method in class org.photonvision.targeting.proto.PhotonPipelineResultProto
 
unpack(Photon.ProtobufPhotonTrackedTarget) - Method in class org.photonvision.targeting.proto.PhotonTrackedTargetProto
 
unpack(Photon.ProtobufPNPResult) - Method in class org.photonvision.targeting.proto.PNPResultProto
 
unpack(Photon.ProtobufTargetCorner) - Method in class org.photonvision.targeting.proto.TargetCornerProto
 
unpack(RepeatedMessage<Photon.ProtobufPhotonTrackedTarget>) - Method in class org.photonvision.targeting.proto.PhotonTrackedTargetProto
 
unpack(RepeatedMessage<Photon.ProtobufTargetCorner>) - Method in class org.photonvision.targeting.proto.TargetCornerProto
 
unpackPose2d(Packet) - Static method in class org.photonvision.utils.PacketUtils
 
unpackPose3d(Packet) - Static method in class org.photonvision.utils.PacketUtils
 
unpackQuaternion(Packet) - Static method in class org.photonvision.utils.PacketUtils
 
unpackRotation2d(Packet) - Static method in class org.photonvision.utils.PacketUtils
 
unpackRotation3d(Packet) - Static method in class org.photonvision.utils.PacketUtils
 
unpackTransform2d(Packet) - Static method in class org.photonvision.utils.PacketUtils
 
unpackTransform3d(Packet) - Static method in class org.photonvision.utils.PacketUtils
 
unpackTranslation2d(Packet) - Static method in class org.photonvision.utils.PacketUtils
 
unpackTranslation3d(Packet) - Static method in class org.photonvision.utils.PacketUtils
 
update(Pose2d) - Method in class org.photonvision.simulation.VisionSystemSim
Periodic update.
update(Pose3d) - Method in class org.photonvision.simulation.VisionSystemSim
Periodic update.
update(PhotonPipelineResult) - Method in class org.photonvision.PhotonPoseEstimator
Updates the estimated position of the robot, assuming no camera calibration is required for the selected strategy.
update(PhotonPipelineResult, Optional<Matrix<N3, N3>>, Optional<Matrix<N8, N1>>) - Method in class org.photonvision.PhotonPoseEstimator
Updates the estimated position of the robot.
update(PhotonPipelineResult, Optional<Matrix<N3, N3>>, Optional<Matrix<N8, N1>>, Optional<PhotonPoseEstimator.ConstrainedSolvepnpParams>) - Method in class org.photonvision.PhotonPoseEstimator
Updates the estimated position of the robot.
updateEntries() - Method in class org.photonvision.common.networktables.NTTopicSet
 
updateVideoProp(CvSource, SimCameraProperties) - Static method in class org.photonvision.simulation.VideoSimUtil
Updates the properties of this CvSource video stream with the given camera properties.

V

value - Variable in enum class org.photonvision.common.hardware.VisionLEDMode
 
value - Variable in class org.photonvision.common.networktables.PacketSubscriber.PacketResult
 
valueOf(String) - Static method in enum class org.photonvision.common.hardware.Platform.OSType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.photonvision.common.hardware.Platform
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.photonvision.common.hardware.VisionLEDMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.photonvision.PhotonPoseEstimator.PoseStrategy
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.photonvision.PhotonTargetSortMode
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.photonvision.common.hardware.Platform.OSType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.photonvision.common.hardware.Platform
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.photonvision.common.hardware.VisionLEDMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.photonvision.PhotonPoseEstimator.PoseStrategy
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.photonvision.PhotonTargetSortMode
Returns an array containing the constants of this enum class, in the order they are declared.
verifyDependencies() - Static method in class org.photonvision.PhotonCamera
 
vertices - Variable in class org.photonvision.estimation.TargetModel
Translations of this target's vertices relative to its pose.
VideoSimUtil - Class in org.photonvision.simulation
 
VideoSimUtil() - Constructor for class org.photonvision.simulation.VideoSimUtil
 
VisionEstimation - Class in org.photonvision.estimation
 
VisionEstimation() - Constructor for class org.photonvision.estimation.VisionEstimation
 
VisionLEDMode - Enum Class in org.photonvision.common.hardware
 
VisionSystemSim - Class in org.photonvision.simulation
A simulated vision system involving a camera(s) and coprocessor(s) mounted on a mobile robot running PhotonVision, detecting targets placed on the field.
VisionSystemSim(String) - Constructor for class org.photonvision.simulation.VisionSystemSim
A simulated vision system involving a camera(s) and coprocessor(s) mounted on a mobile robot running PhotonVision, detecting targets placed on the field.
VisionTargetSim - Class in org.photonvision.simulation
Describes a vision target located somewhere on the field that your vision system can detect.
VisionTargetSim(Pose3d, TargetModel) - Constructor for class org.photonvision.simulation.VisionTargetSim
Describes a vision target located somewhere on the field that your vision system can detect.
VisionTargetSim(Pose3d, TargetModel, int) - Constructor for class org.photonvision.simulation.VisionTargetSim
Describes a fiducial tag located somewhere on the field that your vision system can detect.

W

warp36h11TagImage(int, Point[], boolean, Mat) - Static method in class org.photonvision.simulation.VideoSimUtil
Warps the image of a specific 36h11 AprilTag onto the destination image at the given points.
WINDOWS - Enum constant in enum class org.photonvision.common.hardware.Platform.OSType
 
WINDOWS_32 - Enum constant in enum class org.photonvision.common.hardware.Platform
 
WINDOWS_64 - Enum constant in enum class org.photonvision.common.hardware.Platform
 
WpilibLoader - Class in org.photonvision.jni
 
WpilibLoader() - Constructor for class org.photonvision.jni.WpilibLoader
 
wrapRawFrame(long) - Static method in class org.photonvision.jni.CscoreExtras
Wrap the data owned by a RawFrame in a cv::Mat
writeTo(JsonSink) - Method in class org.photonvision.proto.Photon.ProtobufMultiTargetPNPResult
 
writeTo(JsonSink) - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
 
writeTo(JsonSink) - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
 
writeTo(JsonSink) - Method in class org.photonvision.proto.Photon.ProtobufPNPResult
 
writeTo(JsonSink) - Method in class org.photonvision.proto.Photon.ProtobufTargetCorner
 
writeTo(ProtoSink) - Method in class org.photonvision.proto.Photon.ProtobufMultiTargetPNPResult
 
writeTo(ProtoSink) - Method in class org.photonvision.proto.Photon.ProtobufPhotonPipelineResult
 
writeTo(ProtoSink) - Method in class org.photonvision.proto.Photon.ProtobufPhotonTrackedTarget
 
writeTo(ProtoSink) - Method in class org.photonvision.proto.Photon.ProtobufPNPResult
 
writeTo(ProtoSink) - Method in class org.photonvision.proto.Photon.ProtobufTargetCorner
 

X

x - Variable in class org.photonvision.targeting.TargetCorner
 

Y

y - Variable in class org.photonvision.targeting.TargetCorner
 
yaw - Variable in class org.photonvision.targeting.PhotonTrackedTarget
 
A B C D E F G H I K L M N O P Q R S T U V W X Y 
All Classes and Interfaces|All Packages|Constant Field Values