Implementation of a multiplayer (TCP / UDP) pingpong game played with haptic device (Novint Falcon).
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
In order to excute this code you will need the following packages:
CHAID library http://www.chai3d.org/download/releases
This code has been only tested on windows 7 using visual studio 2011
*To run this code you need to start the server file first *Next change the ip in the client'script to the server ip *Run the clients, move the device's handles
If you have any improvement's suggestions, please contact me.
This code is aimed essentially as a testing for sockets with chai3d. It can be used to show the the superior performance delivered by udp sockets comparing to tcp when it comes to haptic features. The performance provided by these 2 examples is unfornately buggy and relatively slow. A better alternative is the use multi-threading.
Please refer to CHAI3D license: http://www.chai3d.org/download/license
- LMT chair at the TUM
- various online ressources