WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-05-2016, 07:48 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
The powerwall setting I'm referring to is in the Dtrack software. This determines the coordinate system of the data that's streamed out and is unrelated to any powerwall options in vizconnect.

The data still needs to be converted to match Vizard's coordinate system. In the trackers section of the vizconnect file you have trackers named 'dtrack' and 'dtrack2'. You can apply the conversions in the postInit section of the vizconnect file. So it will look like this:

Code:
def postInit():
	"""Add any code here which should be called after all of the initialization of this configuration is complete.
	Returned values can be obtained by calling getPostInitResult for this file's vizconnect.Configuration instance."""
	
	vizconnect.getTracker('dtrack').getRaw().swapPos([1,2,-3])
	vizconnect.getTracker('dtrack').getRaw().swapQuat([-1,-2,3,4])
	vizconnect.getTracker('dtrack2').getRaw().swapPos([1,2,-3])
	vizconnect.getTracker('dtrack2').getRaw().swapQuat([-1,-2,3,4])
	
	return None
Reply With Quote
Reply

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
synching video camera recording with vizard billjarrold Vizard 0 12-15-2009 11:43 PM
Vizard tech tip: Using the Python Imaging Library (PIL) Jeff Vizard 0 03-23-2009 11:13 AM
Connecting vizard to a camera dan12345 Vizard 1 11-11-2008 03:09 PM
vizard 2.5 compatability issue shai Vizard 3 08-10-2005 04:35 PM


All times are GMT -7. The time now is 05:58 AM.


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