#1
|
|||
|
|||
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! |
#2
|
|||
|
|||
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.
|
Thread Tools | |
Display Modes | Rate This Thread |
|
|