Sending from trackir to opentrack using freepie
Posted: Sun Aug 14, 2016 11:21 am
Hello everyone , i am new here , and i have something i need help with , here is what i want:
1:-i have a simple code in freePIE , i took it from the internet (not mine)
2:-from the code you can see that this code takes the info from trackir and push it to freetrack.
3:-what i want is to push it to opentrack instead.
4:- i tried (smartly) changing (freeTrack) with (openTrack) but it gives me an error (trying to be a programmer but failed)
the problem is i am not a programmer at all , so please forgive me if i didn't understand your answers well.
thanks for anyone trying to help.
1:-i have a simple code in freePIE , i took it from the internet (not mine)
Code: Select all
def update():
yaw = trackIR.yaw
pitch = trackIR.pitch
if (enabled):
freeTrack.yaw = yaw
freeTrack.pitch = pitch
if starting:
enabled = False
trackIR.update += update
toggle = keyboard.getPressed(Key.Z)
if toggle:
enabled = not enabled
diagnostics.watch(freeTrack.yaw)
diagnostics.watch(freeTrack.pitch)
3:-what i want is to push it to opentrack instead.
4:- i tried (smartly) changing (freeTrack) with (openTrack) but it gives me an error (trying to be a programmer but failed)
the problem is i am not a programmer at all , so please forgive me if i didn't understand your answers well.
thanks for anyone trying to help.