Skip to content

techytoes/GSOC-VRPN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VRPN

This repo contains all my work that I did related to the GSOC project.

Installing VRPN

  • MacOS
$ brew install vrpn

To run the example

$ g++ test.cpp -lvrpn -lpthread
$ ./a.out
  • Linux

Download VRPN source (version 7.33):

wget https://github.com/vrpn/vrpn/releases/download/v07.33/vrpn_07_33.zip

Extract source archive:

unzip vrpn_07_33.zip

We don't need the archive anymore. So let's delete it:

rm -f vrpn_07_33.zip

Change to source directory:

cd vrpn

Create a build directory and go into it:

mkdir build && cd build

Generate build environment using cmake:

cmake ..

Build project:

make

Install VRPN:

sudo make install

QtCreator

cmake

CMAKE-GUI Configuration

cmake

How to Use ServerCommunication VRPN

Receiver

<ServerCommunicationVRPN name="vrpn1" job="receiver" address="localhost"/>
<CommunicationSubscriber name="sub1" communication="@vrpn1" subject="testing" target="@light1" datas="cutoff"/>

Sender

<ServerCommunicationVRPN name="vrpn1" job="sender" address="localhost"/>
<CommunicationSubscriber name="sub1" communication="@vrpn1" subject="testing" target="@light1" datas="cutoff"/>

About

Google Summer of Code 2018 at Sofa-framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published