Skip to content

Commit

Permalink
change format
Browse files Browse the repository at this point in the history
  • Loading branch information
penguinencounter committed Sep 9, 2024
1 parent cde3a87 commit 7dc5b4f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
import org.firstinspires.ftc.teamcode.hardware.HardwareName;

public class CameraHardware extends HardwareMapper {


@HardwareName("Webcam 1")
public WebcamName webcam;
public CameraHardware(HardwareMap map) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ public void runOpMode() throws InterruptedException {
VisionPortal portal = new VisionPortal.Builder()
.setCamera(hw.webcam)
.setCameraResolution(new Size(1920, 1080))
.setStreamFormat(VisionPortal.StreamFormat.MJPEG)
.addProcessor(proc)
.build();

Expand Down

0 comments on commit 7dc5b4f

Please sign in to comment.