Skip to content

Commit

Permalink
Update src/main/java/frc/robot/subsystems/vision/VisionSubsystem.java
Browse files Browse the repository at this point in the history
Jacks change

Co-authored-by: Jack <85963782+JacksonElia@users.noreply.github.com>
  • Loading branch information
Ishan1522 and JacksonElia authored Jul 29, 2024
1 parent 17013ae commit d969077
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit d969077

Please sign in to comment.