Class AprilTagPoseEstimator.Config

java.lang.Object
edu.wpi.first.apriltag.AprilTagPoseEstimator.Config
Enclosing class:
AprilTagPoseEstimator

public static class AprilTagPoseEstimator.Config
extends Object
Configuration for the pose estimator.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    double cx
    Camera horizontal focal center, in pixels.
    double cy
    Camera vertical focal center, in pixels.
    double fx
    Camera horizontal focal length, in pixels.
    double fy
    Camera vertical focal length, in pixels.
    double tagSize
    Tag size, in meters.
  • Constructor Summary

    Constructors 
    Constructor Description
    Config​(double tagSize, double fx, double fy, double cx, double cy)
    Creates a pose estimator configuration.
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(Object obj)  
    int hashCode()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • tagSize

      public double tagSize
      Tag size, in meters.
    • fx

      public double fx
      Camera horizontal focal length, in pixels.
    • fy

      public double fy
      Camera vertical focal length, in pixels.
    • cx

      public double cx
      Camera horizontal focal center, in pixels.
    • cy

      public double cy
      Camera vertical focal center, in pixels.
  • Constructor Details

    • Config

      public Config​(double tagSize, double fx, double fy, double cx, double cy)
      Creates a pose estimator configuration.
      Parameters:
      tagSize - tag size, in meters
      fx - camera horizontal focal length, in pixels
      fy - camera vertical focal length, in pixels
      cx - camera horizontal focal center, in pixels
      cy - camera vertical focal center, in pixels
  • Method Details