View Single Post
  #1  
Old 07-29-2008, 08:11 AM
michaelrepucci michaelrepucci is offline
Member
 
Join Date: Jul 2008
Posts: 53
swapPos and swapQuat with VRPN

If I understand correctly, when you load a VRPN tracker it has all the same methods as any position sensor (e.g., getPosition, getData, getEuler), and additionally provides the methods swapPos and swapQuat. How are these latter two methods different than the same-named methods of a link object?

Specifically, if I add my VRPN tracker

vrpn = viz.add('vrpn7.dle')
tracker = vrpn.addTracker('Tracker0@hiball')

and link it to the main view

trackerLink = viz.link(tracker,viz.MainView)

is tracker.swapPos the same as trackerLink.swapPos (and also swapQuat)?

Thanks for your help!
Reply With Quote