Skip to main content
Up and Coming
March 30, 2013

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

    4 replies

    Participant
    April 8, 2013
    They are using Python for the scripts and it outputs at 60hz
    kingtutAuthor
    Up and Coming
    April 8, 2013
    Ouch! Thanks for the reply - looks like when it gets to that stage I'll just write my own.

    Ian
    Participant
    April 9, 2013
    I 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.
    Up and Coming
    October 10, 2013
    64hz 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