WorldViz User Forum

WorldViz User Forum (
-   Vizard (
-   -   vizconnect optotrak sensors to avatar (

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,'' )

body = opto.getBody(0) for m in opto.getBodyList():
ball = viz.add('white_ball.wrl',color=viz.RED,cache=viz.C ACHE_CLONE),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?

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)
(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?


import viz

opto = viz.add('optotrak.dle',0,'' )

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?

Jeff 03-14-2016 07:26 AM

Please contact and we'll help troubleshoot further.

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

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