WorldViz User Forum  

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

Reply
 
Thread Tools Rating: Thread Rating: 8 votes, 5.00 average. Display Modes
  #1  
Old 07-05-2005, 06:51 PM
sdiverdi sdiverdi is offline
Member
 
Join Date: Jul 2005
Posts: 3
VRPN info

I'm having some trouble getting VRPN working. I'm trying to use the basic vrpn_print_messages client from the standard VRPN package for linux, and I can't seem to get a connection to work at all. At first, no UDP packets were making it through, but I realized the PPT machine had a firewall on - once I disabled it, I was able to communicate with the PPT computer, but there was no VRPN server active on the regular port (3883). Which port does PPT's VRPN server run on? Also, once I can get a VRPN connection established, what's the tracker's name - e.g. Tracker0, PPT0, or something else? If you've gotten VRPN to work successfully, please let me know. Thanks, I appreciate it very much!
Reply With Quote
  #2  
Old 07-05-2005, 11:41 PM
tobin tobin is offline
WorldViz Team Member
 
Join Date: Feb 2003
Posts: 251
You connect to the VRPN server generated by PPT as:

PPT0@yourmachine

Capitalization matters, so be sure the three letters PPT are upper-case. The fourth is the number zero.

I'll have to check on the port number and see if it's something other than 3883.
Reply With Quote
  #3  
Old 07-06-2005, 02:31 PM
tobin tobin is offline
WorldViz Team Member
 
Join Date: Feb 2003
Posts: 251
We use what we understand to be the VRPN default port of 39684. If you're still having trouble please let us know.
Reply With Quote
  #4  
Old 07-06-2005, 09:02 PM
sdiverdi sdiverdi is offline
Member
 
Join Date: Jul 2005
Posts: 3
Quote:
Originally posted by tobin
We use what we understand to be the VRPN default port of 39684. If you're still having trouble please let us know.
Thanks for the info! I ended up finding the port thanks to an nmap port scan. =) However, I still can't get it to work! With this information, I can successfully connect to the PPT VRPN server, but then I don't receive any Tracker updates. I've looked with tcpdump and there's definitely steady traffic, but I don't see any activity with the various Remote types (Tracker, Analog, Dial and Button).

A few pieces of info - the VRPN code I'm using reports version 6.06, while the PPT VRPN server reports 6.04. Also, this is PPT version 2.02. I've made sure VRPN is selected in the configuration dialog, and that the streaming mode has been entered when I've tested.

Here's the output of one of the test clients included with the VRPN linux code:

Code:
sdiverdi@reality [7:05pm] ~/research/fogscreen/ppt/vrpn/client_src/pc_linux
94 > ./vrpn_print_messages 192.168.1.100:39684
vrpn_Log::open_log:  Log file "vrpn_temp.deleteme" already exists.
Writing to /tmp/vrpn_emergency_log instead.
vrpn_Connection: VRPN Note: minor version number doesn't match: (prefer 'vrpn: v
er. 06.06', got 'vrpn: ver. 06.04  0').  This is not normally a problem.
Time: 1120691890:854763, Sender: PPT0, Type vrpn_Tracker Pos_Quat, Length 64
Time: 1120691890:858413, Sender: clockServer, Type vrpn_Clock reply, Length 28
Time: 1120701919:124231, Sender: clockServer, Type vrpn_Clock reply, Length 28
Time: 1120701920:158619, Sender: clockServer, Type vrpn_Clock reply, Length 28
Time: 1120701921:192961, Sender: clockServer, Type vrpn_Clock reply, Length 28
Time: 1120701922:127538, Sender: clockServer, Type vrpn_Clock reply, Length 28
Time: 1120701923:161938, Sender: clockServer, Type vrpn_Clock reply, Length 28
The vrpn_Clock messages keep coming, but never anything else from vrpn_Tracker.

So, any ideas what's up? Anything I can check / try out? Thanks again!
Reply With Quote
  #5  
Old 07-06-2005, 09:09 PM
sdiverdi sdiverdi is offline
Member
 
Join Date: Jul 2005
Posts: 3
Quote:
Originally posted by tobin
We use what we understand to be the VRPN default port of 39684. If you're still having trouble please let us know.
Oh, one other quick comment - according to the code I got from http://www.cs.unc.edu/Research/vrpn/index.html the VRPN protocol was assigned port 3883 by IANA in October 2003. Apparently 39684 was used before the IANA registration occurred, but after there was a conflict over VRPN's original port, 4500, with Microsoft. *shrug*
Reply With Quote
  #6  
Old 01-16-2011, 12:00 PM
jordan jordan is offline
Member
 
Join Date: Jan 2011
Posts: 1
java_vrpn

Hi,

I want to use java_vrpn in an android application. If i try to generate the fichier.so using the JNI method I have the following error: java_vrpn.o.d:1: *** target pattern contains no `%'. Stop.
I have the tools and API eclipse cygwin and NDK.

do you have any ideas?
Thank you for your reply!

Jordan
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 09:05 AM.


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