![]() |
#3
|
|||
|
|||
Missing DLL: That does not work, sorry...
Dear Gladsomebeast,
Thanks for your reply, but I checked and there was a PDI.DLL in Vizard30/bin. I put the PiCmdIF.dll there, too, but it didn't help. I' ve also put both of them together with the patriot.dls in vizard30/bin/lib, vizard30/bin/DLLs, vizard30/plug-ins, vizard30/resources, and also in the py's directory, but that didn't help, either: ** ERROR: Failed to load plug-in: 'patriot.dls'. What to do now? Greetings from Germany, Frank PS: Just to make sure that the code is ok, here the altered code from the automatic.py: ################################################## ############## # WorldViz Copyright 2002 # # This script demonstrates how perform head tracking. # # # ################################################## ############### import viz viz.go() import vizinfo vizinfo.add('This script demonstrates how to perform automatic head tracking.\nBy default this script will connect to an intersense.\nPress the \'r\' key to reset the tracker') #Add a ground plane viz.add('tut_ground.wrl') #Add the intersense tracker ########################### IMPORTANT ############################### # When using the intersense plugin, make sure the intersense server # # is not running in the system tray. It is known to cause problems # # with the intersense plugin for Vizard. # ################################################## ################### tracker = viz.add('patriot.dls') # FRANK: I CHANGED THAT FROM intersense.dls TO patriot.dls viz.tracker() tracker.reset() def mykeyboard(key): #If the R key is pressed, reset the head orientation if key in ['r','R']: tracker.reset() #Create a keyboard callback viz.callback(viz.KEYBOARD_EVENT,mykeyboard) -- Dipl.-Päd. Frank P. Schulte Abteilung für Kognitionspsychologie Institut für Kognition und Kommunikation Fakultät für Gesellschaftswissenschaften Universität Duisburg-Essen, Campus Duisburg Department for Cognitive Psychology Institute of Cognition and Communication Faculty of Social Sciences University Duisburg-Essen, Campus Duisburg, Germany frank.schulte@uni-duisburg-essen.de |
|
|