WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 06-19-2011, 11:58 PM
chris_user chris_user is offline
Join Date: Feb 2011
Posts: 20
get tracker position and euler


hope somebody knows a more simple solution to get the coordinates of the tracker and the orientation from the intersense.

my actual solution is to load the and use getPosition and getEuler form headpos and headori; to get that working I needed to modyfy the and set the first five lines of the createCustomComposite as a global. actually it is working but i'm quiet shure there must be a more elegant solution to this task. tips and hints are welcome.


Reply With Quote
Old 06-24-2011, 10:29 AM
Jeff Jeff is offline
WorldViz Team Member
Join Date: Aug 2008
Posts: 2,471
Does the following work for you?
import viz
import viztracker
import vizact


tracker = viztracker.get('input0')

def printTrackerData():
	print tracker.getEuler()
	print tracker.getPosition()
Reply With Quote
Old 07-01-2011, 01:31 AM
chris_user chris_user is offline
Join Date: Feb 2011
Posts: 20
Thanks Jeff!

That's exactly what I needed.
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
display the position and euler coords of the main view Josh Vizard 1 03-22-2010 10:48 AM
euler problems in Vizard 3.0 v-clizzin Vizard 3 08-16-2007 06:10 PM

All times are GMT -7. The time now is 02:42 PM.

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