diff --git a/src/main/java/frc/robot/subsystems/vision/VisionSubsystem.java b/src/main/java/frc/robot/subsystems/vision/VisionSubsystem.java index fce4787..ad04475 100644 --- a/src/main/java/frc/robot/subsystems/vision/VisionSubsystem.java +++ b/src/main/java/frc/robot/subsystems/vision/VisionSubsystem.java @@ -256,6 +256,8 @@ private void checkAndUpdatePose(int limelightNumber, double lastTX, double lastT return new double[]{currentTX, currentTY}; } + // default value if it can't get the offsets + return new double[]{0, 0}; } /**