public class VisionManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.List<org.firstinspires.ftc.robotcore.external.navigation.VuforiaTrackable> |
allTrackables |
private static org.firstinspires.ftc.robotcore.external.navigation.VuforiaLocalizer.CameraDirection |
CAMERA_CHOICE |
private com.disnodeteam.dogecv.detectors.roverrukus.GoldAlignDetector |
goldDetector |
private org.firstinspires.ftc.robotcore.external.matrices.OpenGLMatrix |
lastLocation |
private static float |
mmFTCFieldWidth |
private static float |
mmPerInch |
private static float |
mmTargetHeight |
private com.disnodeteam.dogecv.detectors.roverrukus.SamplingOrderDetector |
sampleDetector |
(package private) boolean |
targetVisible |
private com.disnodeteam.dogecv.Dogeforia |
vuforia |
Constructor and Description |
---|
VisionManager() |
Modifier and Type | Method and Description |
---|---|
void |
getCubeDetails() |
com.disnodeteam.dogecv.detectors.roverrukus.SamplingOrderDetector.GoldLocation |
getGoldLocation()
Get the current order of Gold cube using DogeCV.
|
double |
getGoldPosX() |
com.disnodeteam.dogecv.detectors.roverrukus.SamplingOrderDetector.GoldLocation |
getLastGoldOrder()
Get the last known order of Gold cube using DogeCV.
|
void |
goldAlignInit(com.qualcomm.robotcore.hardware.HardwareMap hwMap)
Gold Align methods.
|
void |
goldAlignStop() |
boolean |
isGoldAligned() |
void |
samplingInit(com.qualcomm.robotcore.hardware.HardwareMap hwMap)
Sampling methods.
|
void |
samplingStop() |
void |
vuforiaInit(com.qualcomm.robotcore.hardware.HardwareMap hwMap)
Vuforia methods.
|
void |
vuforiaStop() |
private com.disnodeteam.dogecv.detectors.roverrukus.SamplingOrderDetector sampleDetector
private com.disnodeteam.dogecv.detectors.roverrukus.GoldAlignDetector goldDetector
private com.disnodeteam.dogecv.Dogeforia vuforia
private java.util.List<org.firstinspires.ftc.robotcore.external.navigation.VuforiaTrackable> allTrackables
private static final org.firstinspires.ftc.robotcore.external.navigation.VuforiaLocalizer.CameraDirection CAMERA_CHOICE
private static final float mmPerInch
private static final float mmFTCFieldWidth
private static final float mmTargetHeight
boolean targetVisible
private org.firstinspires.ftc.robotcore.external.matrices.OpenGLMatrix lastLocation
public void samplingInit(com.qualcomm.robotcore.hardware.HardwareMap hwMap)
public com.disnodeteam.dogecv.detectors.roverrukus.SamplingOrderDetector.GoldLocation getGoldLocation()
public com.disnodeteam.dogecv.detectors.roverrukus.SamplingOrderDetector.GoldLocation getLastGoldOrder()
public void samplingStop()
public void goldAlignInit(com.qualcomm.robotcore.hardware.HardwareMap hwMap)
public boolean isGoldAligned()
public double getGoldPosX()
public void goldAlignStop()
public void vuforiaInit(com.qualcomm.robotcore.hardware.HardwareMap hwMap)
public void vuforiaStop()
public void getCubeDetails()