WorldViz User Forum  

Go Back   WorldViz User Forum > Precision Position Tracker (PPT)

 
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-23-2009, 12:57 PM
mjabon mjabon is offline
Member
 
Join Date: Jul 2007
Posts: 63
simple VRPN question

Hello. We have a problem doing the most simple thing with VRPN, which is tracking just one light on the head to move you through the world. In our old code we simply wrote:

Code:
viz.go(viz.PROMPT | (viz.HMD + viz.STEREO + viz.TRACKER))
if viz.get(viz.TRACKER):
	PORT_PPT = 1
	viz.cursor(viz.OFF)
	viz.mouse(viz.OFF)
	ppt = viz.add('vizppt.dls')
	#Average over 5 samples
	ppt.command(5,'',5)
	isense = viz.add('intersense.dls')
	viz.tracker()
	#Set eyeheight to zero since we are getting it from the tracker
	viz.eyeheight(1.9)
That is all we had to do.

I tried replacing it with this:

Code:
vrpn = viz.add('vrpn7.dle')
ppt = vrpn.addTracker('PPT0@HOSTNAME', 0)
Where hostname is the ip of our PPT machine. However, nothing tracks - ie the person does not move through the world. We don't get errors, the person just does not move.

Any ideas?
Maria
Reply With Quote
 


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
VRPN info sdiverdi Precision Position Tracker (PPT) 5 01-16-2011 12:00 PM
simple question? Boombay Vizard 1 07-06-2009 10:51 AM
swapPos and swapQuat with VRPN michaelrepucci Vizard 1 07-29-2008 11:27 AM
VRPN won't update Wytze Precision Position Tracker (PPT) 7 05-28-2008 07:15 AM
General question and question regarding arrays dan12345 Vizard 1 01-15-2008 10:15 AM


All times are GMT -7. The time now is 06:46 PM.


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