PDA

View Full Version : VRPN info


sdiverdi
07-05-2005, 06:51 PM
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!

tobin
07-05-2005, 11:41 PM
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.

tobin
07-06-2005, 02:31 PM
We use what we understand to be the VRPN default port of 39684. If you're still having trouble please let us know.

sdiverdi
07-06-2005, 09:02 PM
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:


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!

sdiverdi
07-06-2005, 09:09 PM
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*

jordan
01-16-2011, 01:00 PM
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