We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b264279 commit 198a7a3Copy full SHA for 198a7a3
photon-lib/py/photonlibpy/simulation/photonCameraSim.py
@@ -423,9 +423,9 @@ def distance(target: VisionTargetSim):
423
now_micros = wpilib.Timer.getFPGATimestamp() * 1e6
424
return PhotonPipelineResult(
425
metadata=PhotonPipelineMetadata(
426
- self.heartbeatCounter,
427
int(now_micros - latency * 1e6),
428
int(now_micros),
+ self.heartbeatCounter,
429
# Pretend like we heard a pong recently
430
int(np.random.uniform(950, 1050)),
431
),
0 commit comments