diff --git a/src/main/java/frc/robot/Robot.java b/src/main/java/frc/robot/Robot.java index f7ed128..ad3215a 100644 --- a/src/main/java/frc/robot/Robot.java +++ b/src/main/java/frc/robot/Robot.java @@ -63,9 +63,6 @@ public class Robot extends TimedRobot { if (isSimulation()) { DriverStation.silenceJoystickConnectionWarning(true); } - - table = NetworkTableInstance.getDefault().getTable(Constants.LimeLight.LIMELIGHT_NAME); - distanceFromLimelight = Shuffleboard.getTab("Programming").add("Distance from Limelight", 0).getEntry(); } /** @@ -92,8 +89,6 @@ public class Robot extends TimedRobot { // Constants.ShooterConstants.getRampAndIndexerMotorSpeed(); Constants.IntakeConstants.getIntakeWheelsSpeed(); Constants.ShooterConstants.getShooterVelocity(); - Constants.LimeLight.LIMELIGHT_TY = table.getEntry("ty").getDouble(0); - // distanceFromLimelight.setDouble(TargetingSubsystems.getDistanceFromAprilTag()); TargetingSubsystems.updateRobotPose(Constants.TargetingConstants.ORANGE_PHOTON_CAM, Constants.TargetingConstants.ORANGE_PHOTON_ESTIMATOR, m_robotContainer.getSwerveDrive()); TargetingSubsystems.updateRobotPose(Constants.TargetingConstants.BLACK_PHOTON_CAM,