From 6523adde717dfb05dbcd1893b6b03f69b0782093 Mon Sep 17 00:00:00 2001 From: Matt Date: Sat, 30 Sep 2023 14:42:41 -0400 Subject: [PATCH] Update PhotonPipelineResult.h --- .../src/main/native/include/photonlib/PhotonPipelineResult.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/photon-lib/src/main/native/include/photonlib/PhotonPipelineResult.h b/photon-lib/src/main/native/include/photonlib/PhotonPipelineResult.h index 7679a8d46b..8370702b3b 100644 --- a/photon-lib/src/main/native/include/photonlib/PhotonPipelineResult.h +++ b/photon-lib/src/main/native/include/photonlib/PhotonPipelineResult.h @@ -88,6 +88,11 @@ class PhotonPipelineResult { */ units::second_t GetTimestamp() const { return timestamp; } + /** + * Return the latest mulit-target result, as calculated on your coprocessor. + * Be sure to check getMultiTagResult().estimatedPose.isValid before using the + * pose estimate! + */ const MultiTargetPnpResult& MultiTagResult() const { return m_pnpResults; } /**