Package frc.robot.subsystems.vision
Class Vision.VisionFieldPoseEstimate
java.lang.Object
frc.robot.subsystems.vision.Vision.VisionFieldPoseEstimate
- Enclosing class:
- Vision
A pose estimate bundled with the timestamp and std-devs that
SwerveDrivePoseEstimator.addVisionMeasurement() expects.-
Constructor Summary
ConstructorsConstructorDescriptionVisionFieldPoseEstimate(Pose2d visionRobotPoseMeters, double timestampSeconds, Matrix<N3, N1> visionMeasurementStdDevs, int numTags) -
Method Summary
Modifier and TypeMethodDescriptionintdoubleCapture time already converted out of the FPGA clock, in seconds.Std-devs for[x, y, theta].
-
Constructor Details
-
VisionFieldPoseEstimate
-
-
Method Details
-
getVisionRobotPoseMeters
-
getTimestampSeconds
public double getTimestampSeconds()Capture time already converted out of the FPGA clock, in seconds. -
getVisionMeasurementStdDevs
Std-devs for[x, y, theta]. Larger values mean less trust in that dimension. -
getNumTags
public int getNumTags()
-