• Welcome to PiBoSo Official Forum. Please login or sign up.
 
April 19, 2024, 07:19:58 AM

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Level

1
https://www.youtube.com/v/WnF3A6AphEo

Hi, I had an idea to control the bike with the trackir or free alternative as opentrack, control is very natural and immersive, the tackir to make it work as joystick needs a program called FreePIE http://andersmalmgren.github.io/FreePIE/ ,with a script that I let down and vjoy http://vjoystick.sourceforge.net/site/index.php/download-a-install/download ,have set the direction of the bike and the position of the pilot stand up or shrink.

script:(is not mine, just to change it, only necessary for trackir )
Quotedef update():
        x = filters.mapRange(trackIR.x, -90, 90, -vJoy[0].axisMax, vJoy[0].axisMax)
        y = filters.mapRange(trackIR.y, -90, 90, -vJoy[0].axisMax, vJoy[0].axisMax)
        vJoy[0].rx = x
        vJoy[0].ry = y
if starting:
        trackIR.update += update
first open gpbikes, and then run script.