Package ftclib.vision
Class FtcVisionAprilTag.Parameters
java.lang.Object
ftclib.vision.FtcVisionAprilTag.Parameters
- Enclosing class:
- FtcVisionAprilTag
This class encapsulates all the parameters for creating the AprilTag vision processor. If this is not used,
all default parameters will be applied.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) org.firstinspires.ftc.robotcore.external.navigation.AngleUnit
(package private) org.firstinspires.ftc.robotcore.external.navigation.DistanceUnit
(package private) boolean
(package private) boolean
(package private) boolean
(package private) boolean
(package private) double[]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsetDrawAxesEnabled
(boolean enabled) setDrawCubeProjectionEnabled
(boolean enabled) setDrawTagIdEnabled
(boolean enabled) setDrawTagOutlineEnabled
(boolean enabled) setLensIntrinsics
(double fx, double fy, double cx, double cy) setOutputUnits
(org.firstinspires.ftc.robotcore.external.navigation.DistanceUnit distanceUnit, org.firstinspires.ftc.robotcore.external.navigation.AngleUnit angleUnit)
-
Field Details
-
drawTagId
boolean drawTagId -
drawTagOutline
boolean drawTagOutline -
drawAxes
boolean drawAxes -
drawCubeProjection
boolean drawCubeProjection -
lensIntrinsics
double[] lensIntrinsics -
distanceUnit
org.firstinspires.ftc.robotcore.external.navigation.DistanceUnit distanceUnit -
angleUnit
org.firstinspires.ftc.robotcore.external.navigation.AngleUnit angleUnit
-
-
Constructor Details
-
Parameters
public Parameters()
-
-
Method Details
-
setDrawTagIdEnabled
-
setDrawTagOutlineEnabled
-
setDrawAxesEnabled
-
setDrawCubeProjectionEnabled
-
setLensIntrinsics
-