Package org.photonvision.common.util
Class TestUtils
java.lang.Object
org.photonvision.common.util.TestUtils
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
static enum
static enum
static enum
static enum
static enum
static enum
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionget2019LifeCamCoeffs
(boolean testMode) get2020LifeCamCoeffs
(boolean testMode) get2023LifeCamCoeffs
(boolean testMode) static Path
getApriltagImagePath
(TestUtils.ApriltagTestImages image, boolean testMode) static Path
getCalibrationPath
(boolean testMode) static Path
static Path
getConfigDirectoriesPath
(boolean testMode) static File
static Path
getPolygonImagePath
(TestUtils.PolygonTestImages image, boolean testMode) static Path
getPowercellImagePath
(TestUtils.PowercellTestImages image, boolean testMode) static Path
getPowercellPath
(boolean testMode) static Path
getResourcesFolderPath
(boolean testMode) static Path
static Path
getTestImagesPath
(boolean testMode) static Path
static Path
static Path
static Path
static Path
static Path
getWPIImagePath
(TestUtils.WPI2019Image image, boolean testMode) static Path
getWPIImagePath
(TestUtils.WPI2020Image image, boolean testMode) static boolean
static void
showImage
(org.opencv.core.Mat frame) static void
showImage
(org.opencv.core.Mat frame, int timeoutMs) static void
static void
-
Field Details
-
LIFECAM_1280P_CAL_FILE
- See Also:
-
LIMELIGHT_480P_CAL_FILE
- See Also:
-
-
Constructor Details
-
TestUtils
public TestUtils()
-
-
Method Details
-
loadLibraries
public static boolean loadLibraries() -
getResourcesFolderPath
-
getTestMode2019ImagePath
-
getTestMode2020ImagePath
-
getTestMode2022ImagePath
-
getTestModeApriltagPath
-
getTestImagesPath
-
getCalibrationPath
-
getPowercellPath
-
getWPIImagePath
-
getWPIImagePath
-
getPolygonImagePath
-
getApriltagImagePath
-
getPowercellImagePath
-
getSquaresBoardImagesPath
-
getCharucoBoardImagesPath
-
getHardwareConfigJson
-
getCoeffs
-
get2019LifeCamCoeffs
-
get2020LifeCamCoeffs
-
get2023LifeCamCoeffs
-
getLaptop
-
showImage
-
showImage
public static void showImage(org.opencv.core.Mat frame, int timeoutMs) -
showImage
-
showImage
public static void showImage(org.opencv.core.Mat frame) -
getTestMode2023ImagePath
-
getConfigDirectoriesPath
-