PDA

View Full Version : Including eMagin DLS - viz.link?


msong
03-10-2009, 11:59 PM
Hello,

I am trying to use eMagin HMD in Vizard and it says

** WARNING: viz.tracker will be deprecated in future versions of Vizard, use viz.link instead

My code is currently

#Add the emagin tracker
tracker = viz.add('emagin.dls')
viz.tracker()
tracker.reset()

Can anyone help me update the code?

Thank you.

farshizzo
03-11-2009, 08:56 PM
Which version of Vizard are you using? You posted this question in the Vizard 2.5 forum, but that warning message should only appear in Vizard 3.0. If you are running Vizard 3.0, then you need to use the viz.link command. There are plenty of examples in the documentation for using this command. In this case you would do:viz.link(tracker,viz.MainView)