yes, I have this code:
Quote:
import viz
import hand
viz.go()
viz.MainView.translate(0,0.02,-0.4)
viz.clearcolor(viz.GRAY)
PORT_5DT_USB = 0
sensor = viz.add ('5dt.dls')
glove = hand.add(sensor,hand.GLOVE_5DT)
polhemus = viz.add('polhemus.dle')
patriot = polhemus.addPatriot()
viz.link(glove,patriot)
|
but if I press F5 for starting, vizard write:
** ERROR: Failed to load plug-in: 'polhemus.dle'
Traceback (most recent call last):
File "<string>", line 11, in ?
File "Vizard2.py", line 14, in ?
patriot = polhemus.addPatriot()
AttributeError: 'VizExtension' object has no attribute 'addPatriot'
** Load Time: 0.48 seconds
and I don't know, what is a problem. But if I play another application, all is OK.
yes, this work is for me.