FreeVR: Virtual Reality Integration Library |
|
VRPNTESTSection: FreeVR Commands (1fv)Updated: 3 May 2021 Index Return to Main Contents NAMEvrpntest — test the setup of an input device connected via the VRPN device daemon. SYNOPSISvrpntest [-list | -nodata] [-once | -1] [-screen | -csv] [-gt | -govern_time] [-p <port>] [<host>] DESCRIPTIONThe 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. The program can be terminated by pressing the first two buttons of any of the devices that vrpn_server is serving, or by pressing the interrupt key (usually ^C). One of three different rendering styles can be chosen for displaying the incoming VRPN input data stream: Simple line, CSV, and Screen. The default rendering style is the Simple line-by-line output that prints out whatever information is passed, as it is parsed. The CSV (comma-separated value) rendering style outputs the data more compactly, and in a way that is more machine readable for post processing, such as for plotting tracking data. The Screen rendering style uses screen controls to output the data for each 6-dof position tracker in a column with moving characters that reflect the current status of the device. Other areas of the screen show the current states of all the button and valuator inputs. OPTIONS
ARGUMENTS
ENVIRONMENT VARIABLES
EXAMPLES
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 in the psuedo-graphical screen format:
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):
TODO
SEE ALSOjoytest(1fv), eviotest(1fv), vruiddtest(1fv), dtracktest(1fv), fobtest(1fv), freevr(7fv) The VRPN web site: LOCATIONThe 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:
COPYRIGHTCopyright 2024, Bill Sherman, All rights reserved.
Index
This document was created by man2html, using the manual pages. Time: 21:57:57 GMT, March 04, 2024 |