WorldViz User Forum  

Go Back   WorldViz User Forum > Precision Position Tracker (PPT)

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-20-2015, 05:37 PM
Aric Aric is offline
Member
 
Join Date: Jan 2015
Posts: 2
Finding button info over VRPN

I am installing 3rd party software on a system that already has PPT and Vizard installed. I have gotten the head and wand position tracking connected over VRPN but I cannot obtain the status of the buttons. The buttons work in Vizard. What are the correct VRPN client settings to get the button info, or where can I find the VRPN server information for this?
Reply With Quote
  #2  
Old 01-22-2015, 05:28 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
On the VRPN client side, you need to specify the marker ID number assigned to the Wand in PPT, the PPT IP address or name, and port 8945. You must specify port 8945 since the Wand data is sent through a different port than the default VRPN port. For example, if the wand is marker ID '3' and the machine name is 'PPT_MACHINE' the following would be used in Vizard to get the data via VRPN:

Code:
joystick = vrpn.addAnalog('PPT_WAND3@PPT_MACHINE:8945')
button = vrpn.addButton('PPT_WAND3@PPT_MACHINE:8945')
Reply With Quote
  #3  
Old 02-03-2015, 11:00 PM
Aric Aric is offline
Member
 
Join Date: Jan 2015
Posts: 2
Thanks, I was able to get it working with your help. I'm not sure why but the wand tracking was PPT0@PPT_MACHINE while the buttons are PPT_WAND3@PPT_MACHINE:8945
Reply With Quote
Reply

Tags
ppt, vrpn


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem reading VRPN info from ZSpace davev Vizard 2 10-24-2012 01:45 PM
VRPN info sdiverdi Precision Position Tracker (PPT) 5 01-16-2011 01:00 PM
Create Button or Text Chrissy2009 Vizard 1 07-15-2009 06:34 PM
Turning info boxes on and off Karla Vizard 2 12-17-2007 04:13 PM
button problems cade_mccall Vizard 3 02-22-2007 10:48 AM


All times are GMT -7. The time now is 10:19 PM.


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