Hello, I want to create an intersense tracker with vizard. This is my code:
Quote:
isense = viz.add('intersense.dle')
glasses = isense.addTracker(port=1,station=1)
wand = isense.addTracker(port=1,station=2)
while(1):
print("Glasses position")
print(glasses.getPosition())
print("Glasses Rotation")
print(glasses.getEuler())
print("Wand position")
print(wand.getPosition())
print("Wand analog")
print(wand.getJoystickPosition())
print '\n' * 14
time.sleep(0.01)
|
The thing is that all the information is the same everytime, even if I move the wand and the glasses. What am I doing wrong?
PS: I want to track position, euler and wand buttons and joystick
Thanks