summaryrefslogtreecommitdiff
path: root/src/main/java/frc/robot/Robot.java
diff options
context:
space:
mode:
authorkartofen <mladenovnasko0@gmail.com>2024-03-07 06:05:41 +0200
committerkartofen <mladenovnasko0@gmail.com>2024-03-07 06:05:41 +0200
commit4452529be059c5fbe4aaf9190f25cfc734715f01 (patch)
tree9483caad7d9316dc06c1e61eceaeb8172b74577d /src/main/java/frc/robot/Robot.java
parent1ceb7c4d5ff83eca3009a0197a431d9c1441bef7 (diff)
orks
Diffstat (limited to 'src/main/java/frc/robot/Robot.java')
-rw-r--r--src/main/java/frc/robot/Robot.java3
1 files changed, 3 insertions, 0 deletions
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();
}