Package frc.robot

Class Constants.VisionConstants.AlgaeParams

java.lang.Object
frc.robot.Constants.VisionConstants.AlgaeParams
Enclosing class:
Constants.VisionConstants

public class Constants.VisionConstants.AlgaeParams extends Object
Algae object detection parameters.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final double
    Allowed angular error to match targets as the same (in radians).
    static final int
    Number of undetected frames before target is no longer tracked.
    static final double
    Minimum PROPORTIONAL distance error to match targets as the same.
    static final int
    Range in pixels for which bounding boxes are considered cut off (Maybe deprecated)
    static final double
    Range in which tracked targets are marked for deletion if not seen.
    static final double
    The maximum range for following targets
    static final double
    Minimum width : height ratio for which a bounding box is considered not cut off.
    static final double
    Allowed ABSOLUTE positional error to match targets as the same.
    static final double
    Algae width in meters.
    static final double
    Time until targets are no longer tracked after not being seen
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

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

    • EXPECTED_RANGE

      public static final double EXPECTED_RANGE
      Range in which tracked targets are marked for deletion if not seen.
    • TARGET_WIDTH

      public static final double TARGET_WIDTH
      Algae width in meters.
    • EDGE_TOLERANCE

      public static final int EDGE_TOLERANCE
      Range in pixels for which bounding boxes are considered cut off (Maybe deprecated)
      See Also:
    • MIN_BOUNDING_RATIO

      public static final double MIN_BOUNDING_RATIO
      Minimum width : height ratio for which a bounding box is considered not cut off. The reciprocal is also checked as the maximum ratio.
      See Also:
    • MAX_TRACKING_DISTANCE

      public static final double MAX_TRACKING_DISTANCE
      The maximum range for following targets
      See Also:
    • TRACKING_TIMEOUT

      public static final double TRACKING_TIMEOUT
      Time until targets are no longer tracked after not being seen
      See Also:
    • DETECTION_LIMIT

      public static final int DETECTION_LIMIT
      Number of undetected frames before target is no longer tracked.
      See Also:
    • ANGULAR_TOLERANCE

      public static final double ANGULAR_TOLERANCE
      Allowed angular error to match targets as the same (in radians).
      See Also:
    • DISTANCE_TOLERANCE

      public static final double DISTANCE_TOLERANCE
      Minimum PROPORTIONAL distance error to match targets as the same. The reciprocal is also checked as the maximum ratio.
      See Also:
    • POSITION_TOLERANCE

      public static final double POSITION_TOLERANCE
      Allowed ABSOLUTE positional error to match targets as the same.
      See Also:
  • Constructor Details

    • AlgaeParams

      public AlgaeParams()