Skip to content

photonlibpy.targeting.photonPipelineResult

PhotonPipelineResult dataclass

getBestTarget()

Returns the best target in this pipeline result. If there are no targets, this method will return null. The best target is determined by the target sort mode in the PhotonVision UI.

getTimestampSeconds()

Returns the estimated time the frame was taken, in the Received system's time base. This is calculated as (NT Receive time (robot base) - (publish timestamp, coproc timebase - capture timestamp, coproc timebase))