Interface PoseVisionConsumer

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 interface PoseVisionConsumer
Functional interface for consuming pose updates from the fusion system.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(Pose2d pose, double timestampSeconds, Matrix<N3,N1> stdDevs)
    Accepts a new pose update from the fusion system.
  • Method Details

    • accept

      void accept(Pose2d pose, double timestampSeconds, Matrix<N3,N1> stdDevs)
      Accepts a new pose update from the fusion system.
      Parameters:
      pose - The current robot pose in field coordinates
      timestampSeconds - The timestamp when this pose was measured
      stdDevs - Standard deviations for x, y, and rotation measurements