From 3b22a181ccbb369e1f57774cf0c68a3425777a18 Mon Sep 17 00:00:00 2001 From: EdwardFaucher Date: Tue, 21 Mar 2023 19:54:58 -0400 Subject: [PATCH] c dfb --- src/main/java/frc/robot/commands/GratteBaisser.java | 2 +- src/main/java/frc/robot/subsystems/Limelight.java | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/frc/robot/commands/GratteBaisser.java b/src/main/java/frc/robot/commands/GratteBaisser.java index 5649059..b1fc1cd 100644 --- a/src/main/java/frc/robot/commands/GratteBaisser.java +++ b/src/main/java/frc/robot/commands/GratteBaisser.java @@ -3,7 +3,7 @@ // the WPILib BSD license file in the root directory of this project. package frc.robot.commands; -import edu.wpi.first.wpilibj.shuffleboard.Shuffleboard; + import edu.wpi.first.wpilibj2.command.CommandBase; import frc.robot.subsystems.Gratte; diff --git a/src/main/java/frc/robot/subsystems/Limelight.java b/src/main/java/frc/robot/subsystems/Limelight.java index 0417352..b869de3 100644 --- a/src/main/java/frc/robot/subsystems/Limelight.java +++ b/src/main/java/frc/robot/subsystems/Limelight.java @@ -4,7 +4,6 @@ package frc.robot.subsystems; -import edu.wpi.first.cameraserver.CameraServer; import org.photonvision.PhotonCamera; @@ -20,7 +19,7 @@ public class Limelight extends SubsystemBase { PhotonCamera limelight = new PhotonCamera("limelight"); /** Creates a new Limelight. */ public Limelight() { - CameraServer.startAutomaticCapture(); + PortForwarder.add(5800, "photonvision.local", 5800); }