|FreeVR: Virtual Reality Integration Library|
VRPNTESTSection: FreeVR Commands (1FV)
Updated: 19 September 2013
Index Return to Main Contents
The vrpntest program is used to interface with devices connected via the VRPN protocol via the vrpn_server program. A vrpn_server will often be configured to interface with multiple devices and will make each of these available to clients interested in obtaining data from one or more of the devices.
Once communication with the server is established, vrpntest will output information about what devices and information vrpn_server is serving. This will be followed by a stream of information about all the input activity relayed from the server - unless the -nodata switch is given.
The opening data includes a list of devices that VRPN is serving. In general the first "device" on the list will be VRPN Control, and the last "device" will be vrpn_Forwarder_Brain. All the devices between these are the actual physical devices to which vrpn_server is interfacing. This list is then followed by a list of the type of information messages that might be sent by the server to the client - not all of these will be relevant to the devices of interest.
List all VRPN I/O devices and messages served by the "localhost" on the standard VRPN port (3883):
Report inputs from the VRPN server on host "cave.university.edu" (assuming VRPN is configured to use the standard port):
Report inputs from VRPN server host "caravaggio" on non-standard port 5000:
Report inputs on the localhost (default) on the standard port:
Using environment variables to alter the defaults (so they don't have to be entered on the command line each time):
joytest(1FV), eviotest(1FV), vruiddtest(1FV), dtracktest(1FV), fobtest(1FV), freevr(7FV)
The VRPN web site:
The source code for vrpntest is in the "vr_input.vrpn.c" file, which also handles the VRPN input interface to the FreeVR library.
To build vrpntest, use the simple command:
Copyright 2013, Bill Sherman, All rights reserved.
This document was created by man2html, using the manual pages.
Time: 20:05:17 GMT, December 13, 2013