FreePieIO sensor output

Home Forums Developers FreePieIO sensor output

This topic contains 4 replies, has 2 voices, and was last updated by  glaucobacchi 11 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #5123

    glaucobacchi
    Participant

    I am trying to interface with Trinus sensor output within my own code. FreePie redirect works ok but I would prefer interfacing through the freepie_io.dll by using the FreePieIO Sensor choice in the advanced Trinus options so I do not need to have FreePie running. When I try this my calls to the dll respond with zero values, suggesting that Trinus is not outputting sensor values to the dll.

    Some old posts suggest FreePieIO output was once working. A recent post suggests that this no longer works. What is the actual status? Is there an old version of Trinus where this works?

    #5124
    loxai
    loxai
    Keymaster

    Hi, can you tell me a bit more about your project? Is the Unity library not suitable?

    #5129

    glaucobacchi
    Participant

    Hello. My project is a game I have been working on for a long time using the old Panda3d Engine. That engine is scripted in Python so for me, adding support for Trinus is easy via some Python calls to the FreePieIO.dll.
    It is just a hobby project intended only for PCs and so I cannot be bothered porting to Unity and I do not expect you to devote time to sorting it out. I was really just wondering if it may just be a configuration issue or a question of putting the .dll where Trinus is looking for it.
    Glauco

    #5133
    loxai
    loxai
    Keymaster

    Don’t really have much time to look into it, found a related bug, see if it fixes it: http://trinusvr.com/server/pre-release.zip
    If it doesn’t, I’ll have a deeper look when I can.
    Otherwise, you can try the Freepie redirect, which sends sensor data via udp at current sensor port + 1 (5556 by default).

    #5272

    glaucobacchi
    Participant

    Well FreePIE_IO does work. I was wrong. Sorry. I was using an earlier version of the server software because I was messing about on my XP machine and in that version there is a fault somewhere I think but I have now tried the latest server download on a Win 7 machine and the FreePie_IO works fine. I am amazed, I get acceptable VR (using USB tethering) with about 10 lines of code added to my Python project. Fantastic work Mr Ioxai.

    PS I have also tested it on Win 8.1 and that was great too.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.