#1
|
|||
|
|||
Exposing an intersense cube via VRPN
Hi,
I'm trying to set up PPT's MoCap plugin, but I'm a bit confused. The way we are setup is that we have two machines, call them A and B - one with the Intersense cube attached to it (well, the cube is on a helmet attached to the machine) and the other running PPT Studio. The two machines are connected via ethernet. As far as I understand, I need to have a VRPN server running on machine A so that the VRPN Input plugin on machine B can read from it. Is this correct? If so, how do I expose this functionality? Machine B does have Vizard, if I'm missing something there. Otherwise, I have tried to download the actual VRPN server from here: http://www.cs.unc.edu/Research/vrpn/ but I've found a dearth of data on how to configure that server so as to expose the Intersense cube. Does anybody here know? Thank you. |
#2
|
|||
|
|||
With the VRPN plug-in in Vizard you can create a server to stream the Intersense data:
Code:
#Add VRPN extension vrpn = viz.add('vrpn7.dle') #Create a server server = vrpn.addTrackerServer('VizardTracker') #Get the Intersense tracker isense = viz.add('intersense.dle') tracker = isense.addTracker() #Set tracker that server uses server.setTracker(tracker) Code:
VizardTracker@Render-PC If the script is not running and streaming data you'll see error messages in PPT Studio when the VRPN Input plug-in is added. |
#3
|
|||
|
|||
Thank you very much, that solved the problem.
Is there any way I can run this server "in the background", so that I don't get errors on the ppt machine whenever my main script isn't running? Currently, it looks like worldviz can only run one script at a time. |
#4
|
|||
|
|||
If the error message is showing up in PPT Studio before running the script it's not a problem. You probably want to clear the message after the script starts so you can see if anything happens while it's running.
|
#5
|
|||
|
|||
Well, no, the error showing up is that it's not receiving intersense input - not surprising.
Doesn't that hurt the initial calibration I did in MoCap if the server keeps going on and off? |
#6
|
|||
|
|||
That should be fine. The initial mocap calibration will not be affected if the stream is interrupted.
|
Thread Tools | |
Display Modes | Rate This Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
intersense addTracker | krimble | Vizard | 4 | 04-02-2012 09:57 AM |
VRPN quaternion conversion from PPT from Intersense InertiaCube | willemsn | Precision Position Tracker (PPT) | 0 | 07-20-2011 01:59 PM |
Properly aligning the intersense with the PPT Systems Z Axis | shivanangel | Precision Position Tracker (PPT) | 0 | 11-10-2009 11:35 AM |
world is tilting - intersense or code problem? | billjarrold | Vizard | 2 | 11-06-2009 08:03 AM |
intersense with 5DT glove | sjp | Vizard | 2 | 04-06-2009 07:22 AM |