This commit is contained in:
EdwardFaucher 2023-03-21 19:54:58 -04:00
parent 65e89a338b
commit 3b22a181cc
2 changed files with 2 additions and 3 deletions

View File

@ -3,7 +3,7 @@
// the WPILib BSD license file in the root directory of this project. // the WPILib BSD license file in the root directory of this project.
package frc.robot.commands; package frc.robot.commands;
import edu.wpi.first.wpilibj.shuffleboard.Shuffleboard;
import edu.wpi.first.wpilibj2.command.CommandBase; import edu.wpi.first.wpilibj2.command.CommandBase;
import frc.robot.subsystems.Gratte; import frc.robot.subsystems.Gratte;

View File

@ -4,7 +4,6 @@
package frc.robot.subsystems; package frc.robot.subsystems;
import edu.wpi.first.cameraserver.CameraServer;
import org.photonvision.PhotonCamera; import org.photonvision.PhotonCamera;
@ -20,7 +19,7 @@ public class Limelight extends SubsystemBase {
PhotonCamera limelight = new PhotonCamera("limelight"); PhotonCamera limelight = new PhotonCamera("limelight");
/** Creates a new Limelight. */ /** Creates a new Limelight. */
public Limelight() { public Limelight() {
CameraServer.startAutomaticCapture();
PortForwarder.add(5800, "photonvision.local", 5800); PortForwarder.add(5800, "photonvision.local", 5800);
} }