This page is a great starting point to learn about VRPN.
http://www.vrgeeks.org/vrpn/tutorial---use-vrpn#TOC-Adding-Buttons-and-Trackers
Of course, this page is the official VRPN page.
http://www.cs.unc.edu/Research/vrpn/
Open the vrpn.sln, and compile vrpn_server (for server side), and vrpn_print_devices (for client side).
Before running, copy vrpn.cfg to the vrpn_server directory, and edit it (uncomment Mouse0 part).
Then, run the server first, and then client. Move your mouse, and you will get results.
If you happen to confront the following message, then you didn't uncomment devices yet.
VRPN Error
(10) from Tracker0: No response from server for >= 10 seconds
VRPN Error
(10) from Mouse0: No response from server for >= 10 seconds
Please note
.\VRPN\vrpn_07_28\server_src\vrpn.cfg
client_and_server.C could a good staring point to understand how to implement server/client.
and this page. (http://www.cs.unc.edu/Research/vrpn/Servers.html)
Create a new project, and add the file client_and_server.cpp, and edit a bit.
#include "./../../vrpn_Tracker.h"
and add vrpn.lib (which was at C:\Program Files (x86)\vrpn_07_28\pc_win32\Debug)
// VRPN example **//
http://openvibe.inria.fr/documentation/unstable/Doc_VRApplicationAndVRPN.html
// Issues **//
glutMainLoop & VRPN loop
http://lists.unc.edu/read/messages?id=5271031
testimager_client.C (testimager_client)
directshow_video_server example is also useful
what is this about? I'm looking for resolve for my "No response from server for >= 10 seconds" error. But this is some bullshit...
ReplyDeleteThat means you are not getting any signal from the server. Please check your server.
Delete