Skip to content
Snippets Groups Projects
Commit ded23781 authored by Victor's avatar Victor
Browse files

Bug fix in `AprilTagDetector` where the final averaged pose is null

parent e4a9d627
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## 1.0.4 - 2025-07-05
### Fixed
- Bug fix in `AprilTagDetector` where the final averaged pose is null.
## 1.0.3 - 2025-07-04
### Changed
......
......@@ -129,14 +129,14 @@ namespace Hyper.PCAAprilTag
}
_detectedTags.Clear();
OnTagsDetected?.Invoke(AvgDetectedTags());
if (!isContinuous && _tagPoseSizeDict.First().Value.Count >= numAveragedPoses)
{
Deactivate();
if (playSuccessSound) _doneAudioSource.Play();
_tagPoseSizeDict.Clear();
}
OnTagsDetected?.Invoke(AvgDetectedTags());
}
if (!isActivated || !_webCamTextureManager.WebCamTexture ||
......
{
"name": "de.tu-dresden.hyper.pca-apriltag",
"version": "1.0.3",
"version": "1.0.4",
"displayName": "HYPER PCA AprilTag",
"description": "This package provides AprilTag detection using Passthrough Camera API.",
"unity": "6000.0",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment