|
#1
|
|||
|
|||
PPT markers off in Vive?
Hi,
In our lab, we are trying to run the Vive lighthouse tracking system in the same space as the Worldviz PPT system, to have extra trackers for our projects. We noticed that from the Vive pre headset, the vive handcontrollers are tracked perfectly, but the PPT markers are off by quite a bit. The offset changes as we move or rotate the PPT markers around. For example, along the X axis, an the markers are offset by around -0.15m. Any thoughts on what can fix it? Thanks! |
#2
|
|||
|
|||
A gentle reminder to anyone who responds to the queries on this forum ..
Thank you in advance for your help! |
#3
|
|||
|
|||
This has been moved over to the support system.
|
#4
|
|||
|
|||
I may also want to use the PPT together with our Vive (the room is a little large for the lighthouse system, according to its specs anyway). So such discussions are interesting to me (before i try). Could some info/experiences be shared here?
Thanks! |
#5
|
|||
|
|||
You will need to account for any origin and heading offset between the PPT and Vive. It maybe easiest to calibrate the Vive trackers to PPT coordinates since the PPT origin and orientation is clearly defined. You can place a Vive controller at the PPT origin and get an idea of the position offset.
Here's some example code to perform the alignment. Orient the HMD and Vive controller so they're facing PPT north and apply the resets: Code:
import viz import vizact import vizshape import steamvr viz.go() # Offset when placing Vive tracker at PPT Origin OFFSET = [0,0,0] hmd = steamvr.HMD() headTracker = hmd.getSensor() viewLink = viz.link(headTracker, viz.MainView) viveHandControllerList = steamvr.getControllerList() viveController = viveHandControllerList[0] vrpn = viz.add('vrpn7.dle') pptMarker = vrpn.addTracker('PPT0@localhost',1) pptSphere = vizshape.addSphere(radius=0.02) pptSphere.color(viz.RED) viveSphere = vizshape.addSphere(radius=0.02) viveSphere.color(viz.CYAN) pptLink = viz.link(pptMarker, pptSphere) viveLink = viz.link(viveController, viveSphere) # Orient both HMD and controller to PPT North before calling reset function def resetVive(): viewLink.reset(viz.RESET_ORI_HEADING) viveLink.reset(viz.RESET_ORI_HEADING) viewLink.setOffset(OFFSET) viveLink.setOffset(OFFSET) vizact.onkeydown('r',resetVive) |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
detect ppt markers state from vizard script | pitbool | Precision Position Tracker (PPT) | 0 | 02-15-2016 08:23 PM |
Five markers play digital video | anjemalo | Vizard | 2 | 10-29-2014 05:04 AM |
Changing PPT markers from H mode to X | daamato | Precision Position Tracker (PPT) | 1 | 06-16-2012 08:10 PM |
question on linking markers in Vicon | llqqff | Vizard | 5 | 04-13-2010 10:36 AM |
maximum number of markers | tavaksai | Precision Position Tracker (PPT) | 1 | 02-02-2006 10:09 PM |