From 50ea32c82d03fb68cb8c5d333f0790a665c2779e Mon Sep 17 00:00:00 2001 From: Jade Date: Thu, 29 Aug 2024 13:20:03 +0800 Subject: [PATCH] Fix getTarget docs (#1404) --- .../java/org/photonvision/targeting/PhotonPipelineResult.java | 2 ++ .../main/native/include/photon/targeting/PhotonPipelineResult.h | 1 + 2 files changed, 3 insertions(+) diff --git a/photon-targeting/src/main/java/org/photonvision/targeting/PhotonPipelineResult.java b/photon-targeting/src/main/java/org/photonvision/targeting/PhotonPipelineResult.java index 1b75f96c7b..f5fa80f8c6 100644 --- a/photon-targeting/src/main/java/org/photonvision/targeting/PhotonPipelineResult.java +++ b/photon-targeting/src/main/java/org/photonvision/targeting/PhotonPipelineResult.java @@ -180,6 +180,8 @@ public boolean hasTargets() { /** * Returns a copy of the vector of targets. * + *

Returned in the order set by target sort mode. + * * @return A copy of the vector of targets. */ public List getTargets() { diff --git a/photon-targeting/src/main/native/include/photon/targeting/PhotonPipelineResult.h b/photon-targeting/src/main/native/include/photon/targeting/PhotonPipelineResult.h index a34d1df6fb..462f3eafca 100644 --- a/photon-targeting/src/main/native/include/photon/targeting/PhotonPipelineResult.h +++ b/photon-targeting/src/main/native/include/photon/targeting/PhotonPipelineResult.h @@ -120,6 +120,7 @@ class PhotonPipelineResult { /** * Returns a reference to the vector of targets. + *

Returned in the order set by target sort mode.

* @return A reference to the vector of targets. */ const std::span GetTargets() const {