#1
|
|||
|
|||
vizconnect optotrak sensors to avatar
I'm managing to connect to optotrak in a script by:
opto = viz.add('optotrak.dle',0,'192.168.1.1' ) body = opto.getBody(0) for m in opto.getBodyList(): ball = viz.add('white_ball.wrl',color=viz.RED,cache=viz.C ACHE_CLONE) optolink1=viz.link(m,ball) This provides me with two balls that follow the optotrak rigid bodies but when I try to connect to optotrack through vizconnect with the same parameters I get: ** ERROR: Failed to load plug-in: 'optotrack.dle' ** WARNING: can't connect to Northern Digital Optotrack with index 0. It's likely that not enough sensors are connected. Any idea why? My goal is to connect an avatar's hands to the optotrak sensors and use reverse kinematics, the simplest way seemed to be through vizconnect. Is there any other way I could do this? Thanks Sarah |
#2
|
|||
|
|||
Can you attach your vizconnect configuration file here?
|
#3
|
|||
|
|||
attached in zip format
thanks
(the forum wouldn't allow .py files) |
#4
|
|||
|
|||
Do you get any errors when you run the following code?
Code:
import viz viz.go() opto = viz.add('optotrak.dle',0,'192.168.1.1' ) body1 = opto.getBody(0) body2 = opto.getBody(1) |
#5
|
|||
|
|||
this runs fine.
|
#6
|
|||
|
|||
Attached is your configuration file modified to look for sensors 0 and 1. Run the file, go to the advanced configuration menu, and click on the trackers tab. Are both trackers showing a connection there? If not, is one of them connecting?
|
#7
|
|||
|
|||
Thanks, I'll only have access to the lab on monday again. I'll keep you updated
|
#8
|
|||
|
|||
none of the 2 trackers are showing a connection
any other ideas?
Thanks Sarah |
#9
|
|||
|
|||
Please contact support@worldviz.com and we'll help troubleshoot further.
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Unexpected Avatar lookAt() behavior when using yield statements | chris2307 | Vizard | 2 | 12-17-2013 03:58 AM |
Avatar & Motion Capture Interface | Angie | Vizard | 1 | 08-05-2010 07:17 PM |
Collision of an avatar with a quad | Frank Verberne | Vizard | 8 | 06-04-2008 10:44 AM |
Looking through the eyes of an avatar | Frank Verberne | Vizard | 2 | 04-01-2008 06:52 AM |
How to make avatar's eyes to blink when speaking | michelcm3 | Vizard | 12 | 01-15-2008 09:48 AM |