Package org.photonvision
Class PhotonCameraExtended
java.lang.Object
org.photonvision.PhotonCamera
org.photonvision.PhotonCameraExtended
- All Implemented Interfaces:
AutoCloseable
,DataFrameRefreshable
-
Field Summary
Fields inherited from class org.photonvision.PhotonCamera
kTableName
-
Constructor Summary
ConstructorDescriptionPhotonCameraExtended
(NetworkTableInstance instance, String cameraName, String prefix) PhotonCameraExtended
(String cameraName, String prefix) -
Method Summary
Modifier and TypeMethodDescriptionboolean
double[]
double[]
boolean
void
Consumes and processes inputs from the device or subsystem.void
Methods inherited from class org.photonvision.PhotonCamera
close, getCameraTable, getDriverMode, getLatestResult, getLEDMode, getName, getPipelineIndex, isConnected, setDriverMode, setLED, setPipelineIndex, setVersionCheckEnabled, takeInputSnapshot, takeOutputSnapshot
-
Constructor Details
-
PhotonCameraExtended
-
PhotonCameraExtended
-
-
Method Details
-
getAllUnreadResults
- Overrides:
getAllUnreadResults
in classPhotonCamera
-
getCameraMatrixRaw
public double[] getCameraMatrixRaw() -
getDistCoeffsRaw
public double[] getDistCoeffsRaw() -
getCameraMatrix
- Overrides:
getCameraMatrix
in classPhotonCamera
-
getDistCoeffs
- Overrides:
getDistCoeffs
in classPhotonCamera
-
doesLibraryVersionMatchCoprocessorVersion
public boolean doesLibraryVersionMatchCoprocessorVersion() -
isConnectedAkitCompatible
public boolean isConnectedAkitCompatible() -
updateInputs
-
refreshDataFrame
public void refreshDataFrame()Description copied from interface:DataFrameRefreshable
Consumes and processes inputs from the device or subsystem.- Specified by:
refreshDataFrame
in interfaceDataFrameRefreshable
-