From 4452529be059c5fbe4aaf9190f25cfc734715f01 Mon Sep 17 00:00:00 2001 From: kartofen Date: Thu, 7 Mar 2024 06:05:41 +0200 Subject: orks --- src/main/java/frc/robot/Robot.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main/java/frc/robot/Robot.java') diff --git a/src/main/java/frc/robot/Robot.java b/src/main/java/frc/robot/Robot.java index 0a5123a..2fc88fa 100644 --- a/src/main/java/frc/robot/Robot.java +++ b/src/main/java/frc/robot/Robot.java @@ -8,6 +8,7 @@ import org.littletonrobotics.junction.LoggedRobot; import org.littletonrobotics.junction.Logger; import org.littletonrobotics.junction.networktables.NT4Publisher; +import edu.wpi.first.cameraserver.CameraServer; import edu.wpi.first.wpilibj2.command.Command; import edu.wpi.first.wpilibj2.command.CommandScheduler; @@ -21,6 +22,8 @@ public class Robot extends LoggedRobot { Logger.addDataReceiver(new NT4Publisher()); Logger.start(); + CameraServer.startAutomaticCapture(); + m_robotContainer = new RobotContainer(); } -- cgit v1.2.3