Thread: Kinect
View Single Post
  #2  
Old 08-13-2014, 09:53 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Is the user tracked and showing up in FAAST? If so, are you getting position and orientation data when you run the following:

Code:
import viz
import vizshape
import vizact

viz.go()
grid = vizshape.addGrid()

vrpn = viz.addExtension('vrpn7.dle')
t = vrpn.addTracker( 'Tracker0@localhost',8)
s = vizshape.addSphere(radius=.1)

l=viz.link(t,s)

def printData():
	print 'position', t.getPosition()
	print 'euler', t.getEuler()
	
vizact.ontimer(1,printData)
Reply With Quote