Class PhotonCameraExtended

java.lang.Object
org.photonvision.PhotonCamera
org.photonvision.PhotonCameraExtended
All Implemented Interfaces:
AutoCloseable, DataFrameRefreshable

public class PhotonCameraExtended extends PhotonCamera implements DataFrameRefreshable
  • Constructor Details

    • PhotonCameraExtended

      public PhotonCameraExtended(org.wpilib.networktables.NetworkTableInstance instance, String cameraName, String prefix)
    • PhotonCameraExtended

      public PhotonCameraExtended(String cameraName, String prefix)
  • Method Details

    • getAllUnreadResults

      public List<PhotonPipelineResult> getAllUnreadResults()
      Overrides:
      getAllUnreadResults in class PhotonCamera
    • getCameraMatrixRaw

      public double[] getCameraMatrixRaw()
    • getDistCoeffsRaw

      public double[] getDistCoeffsRaw()
    • getCameraMatrix

      public Optional<org.wpilib.math.linalg.Matrix<org.wpilib.math.numbers.N3, org.wpilib.math.numbers.N3>> getCameraMatrix()
      Overrides:
      getCameraMatrix in class PhotonCamera
    • getDistCoeffs

      public Optional<org.wpilib.math.linalg.Matrix<org.wpilib.math.numbers.N8, org.wpilib.math.numbers.N1>> getDistCoeffs()
      Overrides:
      getDistCoeffs in class PhotonCamera
    • doesLibraryVersionMatchCoprocessorVersion

      public boolean doesLibraryVersionMatchCoprocessorVersion()
    • isConnectedAkitCompatible

      public boolean isConnectedAkitCompatible()
    • updateInputs

      public void updateInputs(PhotonCameraExtendedInputs inputs)
    • refreshDataFrame

      public void refreshDataFrame()
      Description copied from interface: DataFrameRefreshable
      Consumes and processes inputs from the device or subsystem.
      Specified by:
      refreshDataFrame in interface DataFrameRefreshable