Interface Vision.VisionMeasurementConsumer

Enclosing class:
Vision
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Vision.VisionMeasurementConsumer
A functional interface for consuming vision measurements.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(Pose2d visionPose, double timestamp, Matrix<N3,N1> stdDevs)
    Accepts a new vision measurement for processing.
  • Method Details

    • accept

      void accept(Pose2d visionPose, double timestamp, Matrix<N3,N1> stdDevs)
      Accepts a new vision measurement for processing.
      Parameters:
      visionPose - The estimated pose from the vision system.
      timestamp - The timestamp of the measurement.
      stdDevs - A 3x1 matrix containing the standard deviations for x, y, and rotation.