WorldViz User Forum  

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

Thread Tools Rate Thread Display Modes
Old 04-09-2013, 11:05 PM
piyush piyush is offline
Join Date: Jan 2013
Posts: 7
passing coordinates

how to pass the coordinates of position of sensor from
PPT to vizard file.?
Reply With Quote
Old 04-10-2013, 11:16 AM
Jeff Jeff is offline
WorldViz Team Member
Join Date: Aug 2008
Posts: 2,471
First get a handle to the PPT tracker in Vizard via VRPN:
vrpn = viz.add('vrpn7.dle')
tracker = vrpn.addTracker('PPT0@hostname',0)
Then you can print the position data every frame or write it to a text file:
def printPPTData():
	print tracker.getPosition()
Reply With Quote

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
Haptic touch texture coordinates yth Vizard 0 06-02-2012 03:40 AM
How do coordinates in IS900 thransform into coordinates in vizard's world jacky Vizard 1 08-11-2011 10:44 AM
Avatar passing through room walls Mike@vrs Vizard 1 07-21-2010 04:07 PM
child-objects in VRML-file all have the same coordinates Sven Vizard 4 06-09-2010 02:07 AM
viz.vertex coordinates lilio Vizard 6 05-16-2009 04:36 PM

All times are GMT -7. The time now is 07:09 AM.

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