Package org.photonvision
Class EstimatedRobotPose
java.lang.Object
org.photonvision.EstimatedRobotPose
An estimated pose based on pipeline result
-
Field Summary
Modifier and TypeFieldDescriptionfinal Pose3d
The estimated poseThe strategy actually used to produce this posefinal List<PhotonTrackedTarget>
A list of the targets used to compute this posefinal double
The estimated time the frame used to derive the robot pose was taken -
Constructor Summary
ConstructorDescriptionEstimatedRobotPose
(Pose3d estimatedPose, double timestampSeconds, List<PhotonTrackedTarget> targetsUsed, PhotonPoseEstimator.PoseStrategy strategy) Constructs an EstimatedRobotPose -
Method Summary
-
Field Details
-
estimatedPose
The estimated pose -
timestampSeconds
public final double timestampSecondsThe estimated time the frame used to derive the robot pose was taken -
targetsUsed
A list of the targets used to compute this pose -
strategy
The strategy actually used to produce this pose
-
-
Constructor Details
-
EstimatedRobotPose
public EstimatedRobotPose(Pose3d estimatedPose, double timestampSeconds, List<PhotonTrackedTarget> targetsUsed, PhotonPoseEstimator.PoseStrategy strategy) Constructs an EstimatedRobotPose- Parameters:
estimatedPose
- estimated posetimestampSeconds
- timestamp of the estimate
-