Package org.photonvision.targeting
Class PhotonPipelineMetadata
java.lang.Object
org.photonvision.targeting.PhotonPipelineMetadata
- All Implemented Interfaces:
 PhotonStructSerializable<PhotonPipelineMetadata>
public class PhotonPipelineMetadata
extends Object
implements PhotonStructSerializable<PhotonPipelineMetadata>
- 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionPhotonPipelineMetadata(long captureTimestampMicros, long publishTimestampMicros, long sequenceID, long timeSinceLastPong)  - 
Method Summary
Modifier and TypeMethodDescriptionbooleanlongThe time that this image was captured, in the coprocessor's time base.doubleReturns the time between image capture and publish to NTlongThe time that this result was published to NT, in the coprocessor's time base.longThe number of non-empty frames processed by this camera since boot.getSerde()inthashCode()toString() 
- 
Field Details
- 
captureTimestampMicros
 - 
publishTimestampMicros
 - 
sequenceID
 - 
timeSinceLastPong
 - 
photonStruct
 
 - 
 - 
Constructor Details
- 
PhotonPipelineMetadata
public PhotonPipelineMetadata(long captureTimestampMicros, long publishTimestampMicros, long sequenceID, long timeSinceLastPong)  - 
PhotonPipelineMetadata
public PhotonPipelineMetadata() 
 - 
 - 
Method Details
- 
getLatencyMillis
Returns the time between image capture and publish to NT - 
getCaptureTimestampMicros
The time that this image was captured, in the coprocessor's time base. - 
getPublishTimestampMicros
The time that this result was published to NT, in the coprocessor's time base. - 
getSequenceID
The number of non-empty frames processed by this camera since boot. Useful to checking if a camera is alive. - 
toString
 - 
hashCode
 - 
equals
 - 
getSerde
- Specified by:
 getSerdein interfacePhotonStructSerializable<PhotonPipelineMetadata>
 
 -