Class EstimatedRobotPose

java.lang.Object
org.photonvision.EstimatedRobotPose

public class EstimatedRobotPose extends Object
An estimated pose based on pipeline result
  • Field Details

  • Constructor Details

    • EstimatedRobotPose

      public EstimatedRobotPose(org.wpilib.math.geometry.Pose3d estimatedPose, double timestampSeconds, List<PhotonTrackedTarget> targetsUsed)
      Constructs an EstimatedRobotPose
      Parameters:
      estimatedPose - estimated pose
      timestampSeconds - timestamp of the estimate
      targetsUsed - list of targets used
    • EstimatedRobotPose

      public EstimatedRobotPose(org.wpilib.math.geometry.Pose3d estimatedPose, double timestampSeconds, List<PhotonTrackedTarget> targetsUsed, PhotonPoseEstimator.PoseStrategy strategy)
      Constructs an EstimatedRobotPose
      Parameters:
      estimatedPose - estimated pose
      timestampSeconds - timestamp of the estimate
      targetsUsed - targets used to compute the pose
      strategy - the strategy used to compute the pose