WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 10-04-2012, 01:18 PM
mhead10 mhead10 is offline
Member
 
Join Date: Mar 2012
Posts: 40
For some reason, my firewire card (connected to phantom omni's from sensable) has to be plugged in (even though I'm not using the omni joystick) for my code to not produce the previous error. I'm not currently sure why they have to be plugged in since initially I was able to run the code without them being plugged in.

If I don't have the omni's plugged in, I get the following error:
Code:
** ERROR: Failed to connect to haptic device (Invalid value specified for a function that is attempting to set a value.)
** ERROR: Failed to create extension sensor with sensable3.dle
** ERROR: Flagged linkable failed (linkable is invalid)
Loading File: open_babcock.dae
** ERROR: Link failed (source linkable is invalid)
My device code is:
Code:
sensable = viz.add('sensable3.dle') 
device = sensable.addHapticDevice()
device.workspace.setScale([100,100,100])
device.workspace.setPosition([0,0,0])

marker = viz.add('open_babcock.dae', pos=[0, -15, 5], euler=[0,300,0],scale=[.8,.8,.8]) 
link_1 = viz.link(device,marker) 
link_2 = None
If I have my firewired card plugged into my laptop, then my code runs fine.

Last edited by mhead10; 10-04-2012 at 01:21 PM.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:45 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC