WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-30-2018, 12:34 PM
amir amir is offline
Member
 
Join Date: Apr 2018
Posts: 22
Mismatched Translation Between Real Motion and Display

I’m using Optotrak to capture motion to update the visual scene accordingly. However, I can’t get the scene to react properly to the marker motion. Below is how the first-person view in the scene changes when moving I move with the marker.
  • Marker turns to the left = scene turns to the left
  • Marker turns to the right = scene turns to the right
  • Marker moves forward = scene moves to the right
  • Marker moves backward = scene moves to the left
  • Marker moves left = scene moves forward
  • Marker moves right = scene moves backward

When we rotate left and right, the scene updates how we want. But as shown above, the 4 translations do not update the scene correctly. I performed my Optotrak alignment to match the XYZ coordinates of the pit.osgb model that Vizard provides, but the real-life motion still doesn’t update the visual scene correctly.

Am I approaching this wrong? Is there something I need to add to the script regarding the coordinate system?

Thanks!
Reply With Quote
  #2  
Old 05-30-2018, 03:37 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
It should not be necessary to make any modifications to the coordinate system in Vizard. Try testing with the following script after specifying the correct hostname:

Code:
import viz
viz.go()

viz.addChild('piazza.osgb')

opto = viz.add('optotrak.dle',0,'192.168.0.114') 
body = opto.getBody(0)

viz.link(body,viz.MainView)
This video tutorial is quite old but it may help with the optotrack setup.
Reply With Quote
  #3  
Old 05-31-2018, 07:17 AM
amir amir is offline
Member
 
Join Date: Apr 2018
Posts: 22
I repositioned the cameras while using the default Optotrak alignment and it now tracks properly.

Thanks!
Reply With Quote
Reply

Tags
motion capture, optotrak, tracker, trackers

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
Motion Builder Without Live Characters? lafortuj Precision Position Tracker (PPT) 2 07-30-2015 05:21 PM


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


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