c dfb
This commit is contained in:
parent
65e89a338b
commit
3b22a181cc
@ -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;
|
||||||
|
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user