WorldViz User Forum  

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

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-20-2015, 04: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, 04: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, 10: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

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

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


All times are GMT -7. The time now is 09:47 AM.


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