WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Kinect (https://forum.worldviz.com/showthread.php?t=5124)

roobert 08-05-2014 03:08 PM

Kinect
 
Hi, I have a kinect of the Microsoft, I like would connect with Vizard how a tracker, Is it possible?
I need to do

:rolleyes:

roobert 08-05-2014 04:10 PM

I found the link http://kb.worldviz.com/articles/1584
but I have a error and I don't understand.

" check_vrpn_cookie(): VRPN Note: minor version number doesn't match: (prefer 'vrpn: ver. 07.30', got 'vrpn: ver. 07.29 0'). This is not normally a problem. "

Jeff 08-05-2014 04:18 PM

That message is not a problem. Is the example script working for you or are you getting other error messages?

roobert 08-05-2014 04:40 PM

I want work the kinect with Avatar but I am a beginner and got this example to start testing.
Quote:

import viz
import vizshape

viz.go()
grid = vizshape.addGrid()

"""
Kinect Tracker object ID's
These are not actually being using in the script but are to
help anyone who wants to get access to a specific bodypart.
For example to just get a handle to tracking data for the head use:
myHead = vrpn.addTracker( 'Tracker0@localhost', HEAD).
"""
HEAD = 0
NECK = 1
TORSO = 2
WAIST = 3
LEFTCOLLOR = 4
LEFTSHOULDER = 5
LEFTELBOW = 6
LEFTWRIST = 7
LEFTHAND = 8
LEFTFINGERTIP = 9
RIGHTCOLLAR = 10
RIGHTSHOULDER = 11
RIGHTELBOW = 12
RIGHTWRIST = 13
RIGHTHAND = 14
RIGHTFINGERTIP = 15
LEFTHIP = 16
LEFTKNEE = 17
LEFTANGLE = 18
LEFTFOOT = 19
RIGHTHIP = 20
RIGHTKNEE = 21
RIGHTANKLE = 22
RIGHTFOOT = 23

#store trackers, links, and vizshape objects
trackers = []
links = []
shapes = []

#start vrpn
vrpn = viz.addExtension('vrpn7.dle')

#now add all trackers and link a shape to it
for i in range(0, 24):
t = vrpn.addTracker( 'Tracker0@localhost',i )
s = vizshape.addSphere(radius=.1)
l = viz.link(t,s)
trackers.append(t)
links.append(l)
shapes.append(s)
and running the code, I return this.
check_vrpn_cookie(): VRPN Note: minor version number doesn't match: (prefer 'vrpn: ver. 07.30', got 'vrpn: ver. 07.29 0'). This is not normally a problem.

Jeff 08-08-2014 01:56 PM

Vizard 4 does not have a built-in library to map trackers to an avatar, and animate the avatar. There is a supported workflow using Motionbuilder software and Live Characters. Vizard 5 includes basic avatar IK support which can be configured using vizconnect. Take a look at the vizconnect tutorials for more on this.


All times are GMT -7. The time now is 10:42 AM.

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