WorldViz User Forum  

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

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 02-25-2008, 12:31 PM
Brandyn Brandyn is offline
Member
 
Join Date: Feb 2008
Posts: 4
Basic solution

I'm just replying to this so no one else has to. The viz.add call on the vizppt.dls will return a function call on (-1) when called inappropriately. You could probably parse this if you wanted to; I just did a comparison of the three co-ordinate input to zero values to determine if the sensor was real or phantom. I have yet to test this out, and there's an obvious loophole should anyone ever manage to have a sensor at absolute zero, but this is a statistical improbability.

The tracker will throw errors if you add too many LEDs, so I had a maximum check in there as well, though with the zero check I have yet to have it used.
Reply With Quote
 


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


All times are GMT -7. The time now is 10:31 PM.


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