Interface QuestNavSubsystem.QuestNavConsumer
- Enclosing class:
- QuestNavSubsystem
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface for components that consume QuestNav vision measurements.
Typically implemented by subsystems that handle pose estimation/odometry.
-
Method Summary
-
Method Details
-
accept
void accept(SwerveDriveSubsystem.VisionSource source, Pose2d visionRobotPoseMeters, double timestampSeconds, Matrix<N3, N1> visionMeasurementStdDevs) Accepts a vision measurement from the QuestNav subsystem.- Parameters:
source- Vision source identifiervisionRobotPoseMeters- Field-relative pose of the robot in meterstimestampSeconds- Timestamp when the measurement was taken, in secondsvisionMeasurementStdDevs- Standard deviations for the measurement (x, y, theta)
-