Added dashboard to project and commented out a class that doesn't exist (yet)
This commit is contained in:
@ -23,7 +23,17 @@ android {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
repositories {
|
||||||
|
maven {
|
||||||
|
url = 'https://maven.brott.dev/'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation project(':FtcRobotController')
|
implementation project(':FtcRobotController')
|
||||||
annotationProcessor files('lib/OpModeAnnotationProcessor.jar')
|
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"
|
||||||
}
|
}
|
||||||
|
@ -29,7 +29,7 @@ public class CometBotsOpenCVTest extends LinearOpMode {
|
|||||||
controlHubCam = OpenCvCameraFactory.getInstance().createWebcam(
|
controlHubCam = OpenCvCameraFactory.getInstance().createWebcam(
|
||||||
hardwareMap.get(WebcamName.class, "Webcam 1"), cameraMonitorViewId);
|
hardwareMap.get(WebcamName.class, "Webcam 1"), cameraMonitorViewId);
|
||||||
|
|
||||||
controlHubCam.setPipeline(new YellowBlobDetectionPipeline());
|
// controlHubCam.setPipeline(new YellowBlobDetectionPipeline());
|
||||||
|
|
||||||
controlHubCam.openCameraDevice();
|
controlHubCam.openCameraDevice();
|
||||||
controlHubCam.startStreaming(CAMERA_WIDTH, CAMERA_HEIGHT, OpenCvCameraRotation.UPRIGHT);
|
controlHubCam.startStreaming(CAMERA_WIDTH, CAMERA_HEIGHT, OpenCvCameraRotation.UPRIGHT);
|
||||||
|
Reference in New Issue
Block a user