PDA

View Full Version : 5DT glove ultra error 5dt.dls failed


kabk
05-04-2009, 01:38 PM
Why do I get an error message with this script
when using the 5dt glove ultra?

The error is:
** ERROR: Failed to load plug-in: '5dt.dls' ?




import viz
viz.go()

PORT_5DT_USB = 0
sensor = viz.add('5dt.dls')

import hand
h = hand.add(sensor)
h.setEuler(0,-90,0)
#h.leftHand()

tips = []
S = 0.01
for x in range(5):
tips.append( viz.add('white_ball.wrl',scale=(S,S,S),color=viz.B LUE) )

def UpdateFingerTips():
for x in xrange(5):
mat = h.getFingerTip(x)
tips[x].setPosition(mat.getPosition())
tips[x].setQuat(mat.getQuat())

vizact.ontimer(0,UpdateFingerTips)

import vizcam
cam = vizcam.PivotNavigate()
cam.setCenter(0,0,0)
cam.setDistance(0.5)

viz.clearcolor(viz.GRAY)

Jeff
05-04-2009, 06:47 PM
Have you tried other values for the PORT_5DT_USB variable?

farshizzo
05-05-2009, 12:43 PM
The error you are receiving means that the actual DLL failed to load. This means the DLL is missing or that one of its dependencies are missing. Make sure that the 5dt.dls is located in the Vizard/plug-ins folder and that fglove.dll is located in your Vizard/bin folder.