Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure identity index is set on default pose #17

Merged
merged 1 commit into from
Dec 15, 2023

Conversation

glopesdev
Copy link
Member

@glopesdev glopesdev commented Dec 15, 2023

This PR ensures that identity index is set to an invalid value of -1 when GetMaximumConfidencePoseIdentity fails to find the specified identity in the collection. This is consistent with the behavior in PredictPoseIdentities and will avoid confusion when logging this numeric field.

Fixes #16

@glopesdev glopesdev added the fix Pull request that fixes an issue label Dec 15, 2023
@glopesdev glopesdev merged commit b27e171 into bonsai-rx:main Dec 15, 2023
@glopesdev glopesdev deleted the issue-16 branch December 15, 2023 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Pull request that fixes an issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IdentityIndex should be set to invalid value when emitting default pose identities
1 participant