diff --git a/src/main/java/frc/robot/subsystems/vision/VisionSubsystem.java b/src/main/java/frc/robot/subsystems/vision/VisionSubsystem.java index f7778ed..4984fca 100644 --- a/src/main/java/frc/robot/subsystems/vision/VisionSubsystem.java +++ b/src/main/java/frc/robot/subsystems/vision/VisionSubsystem.java @@ -153,10 +153,7 @@ public PoseEstimate getMegaTag2PoseEstimate(int limelightNumber) { * @return true if the poses are within the field, false if not. */ public boolean isValidPoseEstimate(int limelightNumber) { - if (isMegaTag1Good(limelightNumber) && isMegaTag2Good(limelightNumber)) { - return true; - } - return false; + return isMegaTag1Good(limelightNumber) && isMegaTag2Good(limelightNumber); } /**