Added dashboard to project and commented out a class that doesn't exist (yet)

This commit is contained in:
2024-04-19 22:46:38 -07:00
parent 63158215d0
commit 832de95fc1
2 changed files with 11 additions and 1 deletions

View File

@ -23,7 +23,17 @@ android {
}
}
repositories {
maven {
url = 'https://maven.brott.dev/'
}
}
dependencies {
implementation project(':FtcRobotController')
annotationProcessor files('lib/OpModeAnnotationProcessor.jar')
implementation "com.acmerobotics.roadrunner:ftc:0.1.12"
implementation "com.acmerobotics.roadrunner:core:1.0.0-beta8"
implementation "com.acmerobotics.roadrunner:actions:1.0.0-beta8"
implementation "com.acmerobotics.dashboard:dashboard:0.4.14"
}

View File

@ -29,7 +29,7 @@ public class CometBotsOpenCVTest extends LinearOpMode {
controlHubCam = OpenCvCameraFactory.getInstance().createWebcam(
hardwareMap.get(WebcamName.class, "Webcam 1"), cameraMonitorViewId);
controlHubCam.setPipeline(new YellowBlobDetectionPipeline());
// controlHubCam.setPipeline(new YellowBlobDetectionPipeline());
controlHubCam.openCameraDevice();
controlHubCam.startStreaming(CAMERA_WIDTH, CAMERA_HEIGHT, OpenCvCameraRotation.UPRIGHT);