Forum Discussion
kingtut
13 years agoHonored Guest
FreePIE latency?
Hi all,
I'm looking at writing some very basic code to support hydra + YEI 3-space + hillcrest + rift sensors - providing a very simple low latency interface to allow you to configure and store settings out of game, and then use it in whichever game. I've encountered FreePIE before, which promises much, but I've never used it. I'm worried about it being C# (I love the language, and would write apps using it, but not sure about libraries for native code to call into), and overall what impact on latency there is.
I've searched but haven't found any details, other than anecdotal 'it's not bad' or 'it's not noticeable'. Does anyone have any actual data on how much latency using FreePIE would add when using UDK or similar? If it's low, then it won't be worthwhile my writing my library. However if there's lots of room for improvement, then I may give it a stab.
Ian
I'm looking at writing some very basic code to support hydra + YEI 3-space + hillcrest + rift sensors - providing a very simple low latency interface to allow you to configure and store settings out of game, and then use it in whichever game. I've encountered FreePIE before, which promises much, but I've never used it. I'm worried about it being C# (I love the language, and would write apps using it, but not sure about libraries for native code to call into), and overall what impact on latency there is.
I've searched but haven't found any details, other than anecdotal 'it's not bad' or 'it's not noticeable'. Does anyone have any actual data on how much latency using FreePIE would add when using UDK or similar? If it's low, then it won't be worthwhile my writing my library. However if there's lots of room for improvement, then I may give it a stab.
Ian
4 Replies
- NamielusHonored GuestThey are using Python for the scripts and it outputs at 60hz
- kingtutHonored GuestOuch! Thanks for the reply - looks like when it gets to that stage I'll just write my own.
Ian - brantlewAdventurerI don't think the speed is clamped. It runs a polling loop as fast as possible but I do believe it has a sleep(0) call so there is a thread context switch which is limited by the OS.
- CyberVillainHonored Guest64hz which is the default system clock is plenty enough for most needs. But now (From version 1.3.422) you can enable the scripts in FreePIE to run at 1000hz. Check out the site for change log and details
http://andersmalmgren.github.io/FreePIE
More details about this change here
http://www.mtbs3d.com/phpBB/viewtopic.php?f=139&t=18724
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 years ago
- 12 years ago
- 13 years ago
- 13 years ago