WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   vizconnect optotrak sensors to avatar (https://forum.worldviz.com/showthread.php?t=5658)

shashkes 03-09-2016 02:19 AM

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

Jeff 03-09-2016 06:49 AM

Can you attach your vizconnect configuration file here?

shashkes 03-09-2016 07:24 AM

attached in zip format
 
1 Attachment(s)
thanks
(the forum wouldn't allow .py files)

Jeff 03-09-2016 08:20 PM

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)


shashkes 03-10-2016 05:33 AM

this runs fine.

Jeff 03-10-2016 11:48 PM

1 Attachment(s)
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?

shashkes 03-11-2016 02:12 AM

Thanks, I'll only have access to the lab on monday again. I'll keep you updated

shashkes 03-14-2016 05:01 AM

none of the 2 trackers are showing a connection
 
1 Attachment(s)
any other ideas?
Thanks
Sarah

Jeff 03-14-2016 07:26 AM

Please contact support@worldviz.com and we'll help troubleshoot further.


All times are GMT -7. The time now is 01:13 PM.

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