Class VisionEstimation

java.lang.Object
org.photonvision.estimation.VisionEstimation

public class VisionEstimation extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static PNPResult
    estimateCamPosePNP(edu.wpi.first.math.Matrix<edu.wpi.first.math.numbers.N3,edu.wpi.first.math.numbers.N3> cameraMatrix, edu.wpi.first.math.Matrix<edu.wpi.first.math.numbers.N8,edu.wpi.first.math.numbers.N1> distCoeffs, List<PhotonTrackedTarget> visTags, edu.wpi.first.apriltag.AprilTagFieldLayout tagLayout, TargetModel tagModel)
    Performs solvePNP using 3d-2d point correspondences of visible AprilTags to estimate the field-to-camera transformation.
    static List<edu.wpi.first.apriltag.AprilTag>
    getVisibleLayoutTags(List<PhotonTrackedTarget> visTags, edu.wpi.first.apriltag.AprilTagFieldLayout tagLayout)
    Get the visible AprilTags which are in the tag layout using the visible tag IDs.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait