Skip to content

Commit

Permalink
Kill deprecated things (#1311)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcm001 authored Apr 27, 2024
1 parent 0106880 commit c9a6962
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 531 deletions.
13 changes: 0 additions & 13 deletions photon-lib/src/main/java/org/photonvision/PhotonCamera.java
Original file line number Diff line number Diff line change
Expand Up @@ -273,19 +273,6 @@ public void setLED(VisionLEDMode led) {
ledModeRequest.set(led.value);
}

/**
* Returns whether the latest target result has targets.
*
* <p>This method is deprecated; {@link PhotonPipelineResult#hasTargets()} should be used instead.
*
* @deprecated This method should be replaced with {@link PhotonPipelineResult#hasTargets()}
* @return Whether the latest target result has targets.
*/
@Deprecated
public boolean hasTargets() {
return getLatestResult().hasTargets();
}

/**
* Returns the name of the camera. This will return the same value that was given to the
* constructor as cameraName.
Expand Down

This file was deleted.

Loading

0 comments on commit c9a6962

Please sign in to comment.