Skip to content

fix: one euro filter return none#135

Merged
RedHawk989 merged 2 commits intoEyeTrackVR:v2.0-beta-feature-branchfrom
Fracas42:v2.0-fix-one-euro-filter-return-none
Apr 2, 2025
Merged

fix: one euro filter return none#135
RedHawk989 merged 2 commits intoEyeTrackVR:v2.0-beta-feature-branchfrom
Fracas42:v2.0-fix-one-euro-filter-return-none

Conversation

@Fracas42
Copy link
Contributor

@Fracas42 Fracas42 commented Feb 20, 2025

Description

Fix for an issue where when the time diff was equal to 0 and made it impossible to smooth, the function returned None.
This causes LEAP to crash. This was mitigated by sending back the given array as a fallback value
I also took the opportunity to remove the redundant "OneEuroFilter values must be a legal number." messages

Checklist

  • I accept the CLA.

@RedHawk989 RedHawk989 merged commit 151c38b into EyeTrackVR:v2.0-beta-feature-branch Apr 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants