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  
    double cy  
    double fx  
    double fy  
    double tagSize  
  • 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

  • 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