WorldViz User Forum  

Go Back   WorldViz User Forum > Precision Position Tracker (PPT)

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 09-06-2012, 11:36 AM
nihohit nihohit is offline
Member
 
Join Date: Nov 2011
Posts: 16
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.
Reply With Quote
  #2  
Old 09-07-2012, 04:10 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
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)
In PPT, specify the VRPN server when you configure the VRPN input plug-in. Here that would be:
Code:
VizardTracker@Render-PC
where Render-PC is the name of the machine running Vizard.

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.
Reply With Quote
  #3  
Old 09-09-2012, 02:26 AM
nihohit nihohit is offline
Member
 
Join Date: Nov 2011
Posts: 16
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.
Reply With Quote
  #4  
Old 09-09-2012, 11:20 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
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.
Reply With Quote
  #5  
Old 09-09-2012, 01:17 PM
nihohit nihohit is offline
Member
 
Join Date: Nov 2011
Posts: 16
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?
Reply With Quote
  #6  
Old 09-10-2012, 04:00 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
That should be fine. The initial mocap calibration will not be affected if the stream is interrupted.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -7. The time now is 02:48 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC