Package frc.robot
Class Constants.VisionConstants.AlgaeParams
java.lang.Object
frc.robot.Constants.VisionConstants.AlgaeParams
- Enclosing class:
- Constants.VisionConstants
Algae object detection parameters.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final doubleAllowed angular error to match targets as the same (in radians).static final intNumber of undetected frames before target is no longer tracked.static final doubleMinimum PROPORTIONAL distance error to match targets as the same.static final intRange in pixels for which bounding boxes are considered cut off (Maybe deprecated)static final doubleRange in which tracked targets are marked for deletion if not seen.static final doubleThe maximum range for following targetsstatic final doubleMinimum width : height ratio for which a bounding box is considered not cut off.static final doubleAllowed ABSOLUTE positional error to match targets as the same.static final doubleAlgae width in meters.static final doubleTime until targets are no longer tracked after not being seen -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
EXPECTED_RANGE
public static final double EXPECTED_RANGERange in which tracked targets are marked for deletion if not seen. -
TARGET_WIDTH
public static final double TARGET_WIDTHAlgae width in meters. -
EDGE_TOLERANCE
public static final int EDGE_TOLERANCERange in pixels for which bounding boxes are considered cut off (Maybe deprecated)- See Also:
-
MIN_BOUNDING_RATIO
public static final double MIN_BOUNDING_RATIOMinimum 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_DISTANCEThe maximum range for following targets- See Also:
-
TRACKING_TIMEOUT
public static final double TRACKING_TIMEOUTTime until targets are no longer tracked after not being seen- See Also:
-
DETECTION_LIMIT
public static final int DETECTION_LIMITNumber of undetected frames before target is no longer tracked.- See Also:
-
ANGULAR_TOLERANCE
public static final double ANGULAR_TOLERANCEAllowed angular error to match targets as the same (in radians).- See Also:
-
DISTANCE_TOLERANCE
public static final double DISTANCE_TOLERANCEMinimum 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_TOLERANCEAllowed ABSOLUTE positional error to match targets as the same.- See Also:
-
-
Constructor Details
-
AlgaeParams
public AlgaeParams()
-