WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 11-06-2014, 09:03 AM
rmcconnell11 rmcconnell11 is offline
Member
 
Join Date: Mar 2013
Posts: 28
5DT Glove Two Hands

Hey guys, having trouble getting my two gloves connected at the same time on my vizsetupcfg script. However they seem to work ok when I added an extra glove to the example script for the 5DT Glove.

I just cannot figure out where I am going wrong in the main setup script, I've played about with everything I can think of.

I have attached the two scripts as PDF documents, so hopefully someone can read through it for me!
Attached Files
File Type: pdf two_5dt_gloves.pdf (7.7 KB, 895 views)
File Type: pdf vizsetupcfg_5DTOculus5DT.pdf (26.0 KB, 1270 views)
Reply With Quote
  #2  
Old 11-10-2014, 03:35 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
There's several locations in the setup file where it attempts to connect to the gloves. Try removing all the 5DT related code except from within the createCustomComposite function.

If you're using Vizard 5, I would recommend using Vizconnect to create a configuration file.
Reply With Quote
  #3  
Old 11-11-2014, 04:19 AM
rmcconnell11 rmcconnell11 is offline
Member
 
Join Date: Mar 2013
Posts: 28
Hi Jeff,

Thanks for the reply. I will try your suggestions after lunch Although I have tried using vizconnect, the problem I seem to be having is that Vizard doesn't recognize the two gloves separately.

For example, I connect the right hand on it's own and the fingers move as mine move. I connect the left hand on it's own and the fingers move as mine move. I connect both together and depending on the last port defined both hands move together. I don't even change the USB Ports that were defined for the individual gloves, and if I use the tutorial for the 5DT glove then they will move separately.
Reply With Quote
  #4  
Old 11-11-2014, 06:32 AM
rmcconnell11 rmcconnell11 is offline
Member
 
Join Date: Mar 2013
Posts: 28
Hey, got it working!! Played about with the setup file and the information you gave me. In the end I just needed to define the ports and add the 5dt file outside of the createcomposite, I was just defining the ports.

Although it'd be nice to do the same on the vizconnect, but it's not a major concern!
Reply With Quote
  #5  
Old 11-11-2014, 03:52 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Try adding two 5dt data glove inputs in Vizconnect and save the configuration file. It's fine if only one shows a connection at this time. Close down Vizconnect and open the config file in the Vizard GUI and find the initInputs section. You'll see code for data_glove and data_glove2. In the data_glove2 section change:

Code:
__main__.PORT_5DT_USB = 0
to:

Code:
__main__.PORT_5DT_USB = 1
Then run the config file and see if both gloves connect.
Reply With Quote
  #6  
Old 11-12-2014, 03:14 AM
rmcconnell11 rmcconnell11 is offline
Member
 
Join Date: Mar 2013
Posts: 28
Hey Jeff, Thanks I got it working!!
Reply With Quote
  #7  
Old 11-13-2014, 06:44 AM
rmcconnell11 rmcconnell11 is offline
Member
 
Join Date: Mar 2013
Posts: 28
Ok back to having the same/similar problem.....


So gloves work perfect on the vizsetup file. To create my virtual world I use viztracker, which then uses vizsetup.... without changing any thing if i run the script...it won't connect to the gloves

** ERROR: Failed to connect to 5DT glove on COM1

Then if I put the port definitions and glove additions into the create composite command in vizsetup, same error

** ERROR: Failed to connect to 5DT glove on COM1

So now i have tried defining the ports and adding the gloves in the main script, but for some reason it has went back to reading only one glove for both hands
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
animate an object using 5dt data glove 5 ultra agrima Vizard 3 07-01-2014 11:17 AM
intersense with 5DT glove sjp Vizard 2 04-06-2009 07:22 AM
data glove navigation arielasso Vizard 6 10-24-2007 02:15 PM
Use of 5DT Ultra left handed glove pattie Vizard 1 08-26-2006 12:59 PM
5DT Data Glove 5 Ultra Problem bjgold Vizard 1 08-08-2006 04:08 PM


All times are GMT -7. The time now is 12:29 PM.


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