#1
|
|||
|
|||
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! |
#2
|
|||
|
|||
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. |
#3
|
|||
|
|||
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. |
#4
|
|||
|
|||
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! |
#5
|
|||
|
|||
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 Code:
__main__.PORT_5DT_USB = 1 |
#6
|
|||
|
|||
Hey Jeff, Thanks I got it working!!
|
#7
|
|||
|
|||
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 |
|
|
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 |