Forum Discussion
AndyOHart
12 years agoHonored Guest
Exponential Smoothing & HydraDeck
Hey there. I was wondering how could I go about implementing exponential smoothing for the Razer Hydras in Unity? I am having jitter issues and I heard implementing a smoothing algorithm like this...
cybereality
12 years agoGrand Champion
Smoothing can reduce jitter, but may also increase latency.
The simple solution is just to buffer a small number of values (i.e. the last 3 readings) and take the average of them. This will result is smoother motion at the cost of some lag.
In addition, you can put a high-pass filter that will disregard small changes in the readings. This can be tweaked to avoid jitter when your hand is relatively still, but may introduce problems when moving slowly or when starting or stopping movement.
Finally, I found the Hydra can get interference from other devices, in my case my ASUS 120Hz monitor. By turning the monitor off, the jitter went away. You can also test in different locations.
Hope that helps.
The simple solution is just to buffer a small number of values (i.e. the last 3 readings) and take the average of them. This will result is smoother motion at the cost of some lag.
In addition, you can put a high-pass filter that will disregard small changes in the readings. This can be tweaked to avoid jitter when your hand is relatively still, but may introduce problems when moving slowly or when starting or stopping movement.
Finally, I found the Hydra can get interference from other devices, in my case my ASUS 120Hz monitor. By turning the monitor off, the jitter went away. You can also test in different locations.
Hope that helps.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 11 months ago
- 9 months ago
- 12 years ago
- 6 years ago