diff --git a/photon-lib/py/photonlibpy/targeting/photonPipelineResult.py b/photon-lib/py/photonlibpy/targeting/photonPipelineResult.py index 24d5d709c0..6d0f68b3ec 100644 --- a/photon-lib/py/photonlibpy/targeting/photonPipelineResult.py +++ b/photon-lib/py/photonlibpy/targeting/photonPipelineResult.py @@ -11,8 +11,9 @@ @dataclass class PhotonPipelineMetadata: - # Image capture and NT publish timestamp, in microseconds and in the coprocessor timebase. As - # reported by WPIUtilJNI::now. + # Image capture and NT publish timestamp, in microseconds and in the Time Sync Server's + # timebase (wpi::nt::Now). The robot shall run a server, so this is FPGA-relative on a real + # robot. NTDataPublisher applies the time-sync offset before publishing. captureTimestampMicros: int = -1 publishTimestampMicros: int = -1 diff --git a/photon-targeting/src/main/java/org/photonvision/targeting/PhotonPipelineMetadata.java b/photon-targeting/src/main/java/org/photonvision/targeting/PhotonPipelineMetadata.java index e5687ca427..be4e73a31b 100644 --- a/photon-targeting/src/main/java/org/photonvision/targeting/PhotonPipelineMetadata.java +++ b/photon-targeting/src/main/java/org/photonvision/targeting/PhotonPipelineMetadata.java @@ -58,7 +58,9 @@ public double getLatencyMillis() { } /** - * The time that this image was captured, in the coprocessor's time base. + * The time that this image was captured, in microseconds and in the Time Sync Server's time base + * ({@code wpi::nt::Now}). The robot shall run a server, so this is FPGA-relative on a real robot. + * NTDataPublisher applies the time-sync offset before publishing. * * @return The time in microseconds */ @@ -67,7 +69,9 @@ public long getCaptureTimestampMicros() { } /** - * The time that this result was published to NT, in the coprocessor's time base. + * The time that this result was published to NT, in microseconds and in the Time Sync Server's + * time base ({@code wpi::nt::Now}). The robot shall run a server, so this is FPGA-relative on a + * real robot. NTDataPublisher applies the time-sync offset before publishing. * * @return The time in microseconds */