WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #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
  #2  
Old 07-29-2008, 11:27 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
These methods do exactly the same thing. They were added to the VRPN objects for convenience since VRPN does not enforce a single reference frame.
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


All times are GMT -7. The time now is 08:00 PM.


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