WorldViz User Forum  

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

Reply
 
Thread Tools Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
  #1  
Old 05-07-2008, 07:08 AM
Wytze Wytze is offline
Member
 
Join Date: May 2008
Posts: 6
VRPN won't update

After a period (a few months) of not using the WorldViz PPT system ( 4 camera's) i wanted to use it again. But to my supprise my renderingsoftware wasn't working anymore. After some bug chasing i found that when i push the TALK button, the position of the trackers doesn't update anymore. On the WorldViz console the x,y,z positions do not change. The result is that on my VRPN i once get a change in postion (the initial position) and all next positions are equal to the previous position, so my change_position_callback isn't notified. As soon as i press the talk button again (stopping the vrpn connection), all trackers update correct again. On the ethernet i see the communication packages in normal rate , so there communication between server and client.

So basically starting the VRPN connection stops the update of the trackerpositions. Any ideas why this happens or what the cause of this problem is.

Thanks,


Wytze
Reply With Quote
  #2  
Old 05-07-2008, 02:18 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
I've actually witnessed this behavior before, but it randomly fixed itself before I could track down the cause of it. While PPT is talking is the marker trail being updated with the new position values, or are those frozen as well?
Reply With Quote
  #3  
Old 05-08-2008, 12:23 AM
Wytze Wytze is offline
Member
 
Join Date: May 2008
Posts: 6
Nothing is updated, If you take another window (notepad or whatever) and move this window over the GUI the camera windows will go blank (blue) and are not updated, which indicates me that there is no update from the camera. But the window self is redrawn, which indicates that the program is still running but there is no update from the camera's.
Also the communication with the PPT is still working there are ethernetpackages at 60 Hz on the line and if you stop the TALK the vrpn client immediatly responds with a "cannnot contact server error", pressing TALK again solves this again.

So in my opnion the program keeps running its mainloop but the camera's are not updated.
Reply With Quote
  #4  
Old 05-08-2008, 12:50 AM
Wytze Wytze is offline
Member
 
Join Date: May 2008
Posts: 6
I'm sorry my statement "Nothing is updated" is not true. The trace window is correct updated, i can see the correct traces of the LED's. This means that the camera's are working and the position is correct updated in the trace window. Makes it even stranger.
Reply With Quote
  #5  
Old 05-08-2008, 08:41 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
PPT 2.0 would intentionally not render the camera images and certain other UI elements while talking. That behavior is normal. However, it should still draw the marker trails in the center grid. If that is being updated then I believe you are seeing the same problem I did. As I said I was unable to find the cause of the problem and haven't experienced it again. Have you tried restarting the PPT computer?
Reply With Quote
  #6  
Old 05-09-2008, 01:04 AM
Wytze Wytze is offline
Member
 
Join Date: May 2008
Posts: 6
I have restarted the computer a few times, switched off the camera's etc. no change in behaviour.

It is new for me that the position values in the GUI don't update while TALK pressed (is this really true, i never noticed it)

I also tested something else: While TALK pressed, i started the TestPPNLights demo, which is in Vizard, and this demo runs fine. The balls are tracking the LED's correct (while VRPN running and not updating).
Reply With Quote
  #7  
Old 05-28-2008, 05:59 AM
Wytze Wytze is offline
Member
 
Join Date: May 2008
Posts: 6
After a few days of searching, the problem remains and it doesn't "randomly fixed itself". So i'm getting desperate right now.

Farshizzo you should try this system, the problem remains.

Is there a new version of the PPT software i can try or ................
Reply With Quote
  #8  
Old 05-28-2008, 07:15 AM
Wytze Wytze is offline
Member
 
Join Date: May 2008
Posts: 6
The problem is solved.

Serial VRPN -> works fine. sending over a serial line no problems. (the program from the download area)

This means there is something wrong in the Ethernet version. So i traced all the packets on the ethernet and there i found something strange:
TCP connection is between 192.168.0.200 and 192.168.0.203 (which are the correct ethernetaddresses for the server and the client)

but the UDP update packets are send from 192.168.0.200 (the server) to 169.162.1.100 (???????)

This is an unkown ethernet address to me and therefore no updates are received by the client. The reason for this strange address is that the client machine has a few (3) ethernetcards and two are getting their ethernetaddress from a DHCP-server. But these two are not connected at the moment, this means their ethernetaddress is bogus. VRPN somehow uses one of the bogus ethernetaddresses to send the UDP info.

When i disable these two connections, there is one one valid ethernetaddress/card and the software runs fine.
This means that the VRPN-software picks the wrong ethernetcard for the UDP-connection, but the correct for the TCP-IP. Very strange. I don't know enough of the internals of VRPN to explain this behaviour, but i'm sure this is the reason.


But at least it works and the problem is identified.
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
Bluetooth VRPN Hodge1620 Precision Position Tracker (PPT) 4 09-24-2012 11:40 AM
VRPN info sdiverdi Precision Position Tracker (PPT) 5 01-16-2011 12:00 PM
HiBall with vizard via VRPN? fdurgin1 Vizard 1 08-15-2007 09:47 AM
The Wanda in VRPN kgarr Vizard 1 02-02-2006 10:07 PM
Spaceball VRPN help Dbuckland Vizard 10 06-21-2005 12:26 PM


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


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