java.lang.Object
frc.alotobots.library.subsystems.vision.photonvision.objectdetection.constants.ObjectDetectionConstants

public class ObjectDetectionConstants extends Object
  • Field Details

    • CAMERA_CONFIGS

      public static final CameraConfig[] CAMERA_CONFIGS
    • NOTE

      public static final GameElement NOTE
    • GAME_ELEMENTS

      public static final GameElement[] GAME_ELEMENTS
    • HISTORY_LENGTH

      public static final int HISTORY_LENGTH
      The number of detections to save in history, the smaller the better, but still needs to be enough to ensure we have a good detection. Remember, the loop time is about 20ms 1s = 50 frames
      See Also:
    • REQUIRED_DETECTIONS

      public static final int REQUIRED_DETECTIONS
      Number of detections in history that need to be detected with that object for it to be considered stable
      See Also:
    • MISSING_FRAMES_THRESHOLD

      public static final int MISSING_FRAMES_THRESHOLD
      Number of missed detections IN A ROW of a stable object for it to be removed from the stable list
      See Also:
    • SCALE_FACTOR

      public static final double SCALE_FACTOR
      Scale Factor. Tune this if the ObjectDetection is consistently under/over reporting
      See Also:
  • Constructor Details

    • ObjectDetectionConstants

      public ObjectDetectionConstants()