|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
Using VRPN and INtersense to Connect Computer A with Computer B
Hello,
I have an IS-900 connected to Computer A and running Vizard. Computer B is not connected to IS-900 but does run Vizard. Is there a way (maybe through VRPN) that allows computer B to connect to the IS-900 which is connected to computer A? |
#2
|
|||
|
|||
Can you describe the setup and what you're trying to accomplish? You could send data from one Vizard app to another using a VRPN server or network commands but there will be added latency.
|
#3
|
|||
|
|||
Hi Jeff,
Computer A has the IS900, however I want Computer B to be able to connect to the tracker on the IS900 using VRPN. I know that you mentioned in other posts how to create the stream, but my question is: how do you actually obtain the data from the stream. If Computer A has the VRPN stream running, how would I get that data from the stream using computer B. Does that make sense? |
#4
|
|||
|
|||
Here's an example using a keyboard tracker.
Server Code: Code:
''' Press the wasd keys to move the tracker ''' import viz import vizcam import vizinfo import vizact viz.go() vizinfo.InfoPanel() vrpn = viz.add('vrpn7.dle') server = vrpn.addTrackerServer('VizardTracker') tracker = vizcam.addKeyboardPos() server.setTracker(tracker) def printData(): print tracker.getPosition() vizact.onupdate(0,printData) Code:
''' Press the wasd keys in the server window to move the axes model here in the client ''' import viz import vizshape import vizinfo viz.go() vizinfo.InfoPanel() viz.move([0,0,-6]) viz.addChild('sky_day.osgb') axes = vizshape.addAxes() vrpn = viz.add('vrpn7.dle') tracker = vrpn.addTracker('VizardTracker@localhost') viz.link(tracker,axes) |
#5
|
|||
|
|||
Thanks a lot, Jeff. Was able to make it work through a wired connection. Do you happen to know if I could try doing this via wireless connection? I tried doing it with the IP Address but that doesn't seem to help. I tried doing @IPADDRESS instead of @hostname.
|
#6
|
|||
|
|||
VRPN data can be sent over a wireless connection. The code should be the same for either a wired or wireless setup.
|
Tags |
intersense, vizard 4, vrpn |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Exposing an intersense cube via VRPN | nihohit | Precision Position Tracker (PPT) | 5 | 09-10-2012 05:00 PM |
intersense addTracker | krimble | Vizard | 4 | 04-02-2012 10:57 AM |
VRPN quaternion conversion from PPT from Intersense InertiaCube | willemsn | Precision Position Tracker (PPT) | 0 | 07-20-2011 02:59 PM |