Package org.photonvision
Class EstimatedRobotPose
java.lang.Object
org.photonvision.EstimatedRobotPose
An estimated pose based on pipeline result
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Pose3dThe estimated poseThe strategy actually used to produce this posefinal List<PhotonTrackedTarget>A list of the targets used to compute this posefinal doubleThe estimated time the frame used to derive the robot pose was taken -
Constructor Summary
ConstructorsConstructorDescriptionEstimatedRobotPose(Pose3d estimatedPose, double timestampSeconds, List<PhotonTrackedTarget> targetsUsed, PhotonPoseEstimator.PoseStrategy strategy) Constructs an EstimatedRobotPose -
Method Summary
-
Field Details
-
estimatedPose
The estimated pose -
timestampSeconds
The 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
-