From 84c07e3cc91c6779fdf852927dc598a356722427 Mon Sep 17 00:00:00 2001 From: Jade Turner Date: Thu, 29 Aug 2024 12:21:01 +0800 Subject: [PATCH] Fix getTarget docs Resolves https://github.com/PhotonVision/photonvision/issues/1403 --- .../java/org/photonvision/targeting/PhotonPipelineResult.java | 1 + .../main/native/include/photon/targeting/PhotonPipelineResult.h | 1 + 2 files changed, 2 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..f2cfbf0cb8 100644 --- a/photon-targeting/src/main/java/org/photonvision/targeting/PhotonPipelineResult.java +++ b/photon-targeting/src/main/java/org/photonvision/targeting/PhotonPipelineResult.java @@ -179,6 +179,7 @@ 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. */ 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 {