mirror of
https://github.com/EyeTrackVR/EyeTrackVR.git
synced 2025-11-04 14:39:42 +08:00
feat: leap velocity blink avg tweak
This commit is contained in:
parent
b7958ce59b
commit
e6ab12e30e
@ -309,7 +309,7 @@ class LEAP_C(object):
|
||||
print(self.total_velocity_new)
|
||||
self.total_velocity_avg = (self.total_velocity_new + self.total_velocity_old) / 2
|
||||
self.total_velocity_old = self.total_velocity_new
|
||||
if self.total_velocity_avg > 1.7:
|
||||
if self.total_velocity_avg > 1.5:
|
||||
per = 0.0
|
||||
# this should be tuned, i could make this auto calib based on min from a list of per values.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user