WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-19-2012, 04:31 AM
amaze12 amaze12 is offline
Member
 
Join Date: Feb 2012
Posts: 7
I want to use vizard(python) to show the data. But why it cannot? The code is here.

import viz
import vizact
import hand
PORT_5DT_USB = 0
glove = viz.add('5dt.dls')
data = glove.getData()
print data

But the data printed is only one line
[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]

What should I do?
Reply With Quote
Reply

Tags
5dt dataglove

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


All times are GMT -7. The time now is 08:56 PM.


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