[IGSTK-Users] reg Polaris Spectra tracker

somi seesomi at gmail.com
Tue Nov 9 19:00:31 EST 2010


Hi Patrik,
I modified on of the example code for testing. I have also attached the
output (Track.log) for 300 iterations.
I am using Polaris spectra. The valid frames are after loop 155. The
difference (starttime - expirationtime)
varies from 36ms to 46 ms in this case. The tracking frequency was set to 60
Hz ( 16.67 ms)

Thanks,
somi

On Tue, Nov 9, 2010 at 1:11 PM, Patrick Cheng <cheng at isis.georgetown.edu>wrote:

> Hi Somi,
>
> Observation a) and b) are as expected.
>
> Observation c) is a little confusing, I will need to spend some time to
> understand this behavior. Could you send me your test code?
>
> To answer the second question:
>
> Tracker update is driven by the PulseEvent in the igtkPulseGenerator.
> PulseGenerator will try to evoke callbacks (Update tracker here) at
> scheduled frequency. Depending on computational intensity, it might be
> possible to miss a 'tick'. In another word, when you call
> SetTrackerUpdateFrequency(30), there is no guarantee for that level of
> performance.
>
> You can observe TrackerToolTransformUpdateEvent to calculate the actual
> update frequency. Eg. run the program for 1 minute and count how many update
> event occurred.
>
> Patrick
>
>
> On 11/9/10 11:11 AM, somi wrote:
>
>> b) I also notice the expiration time doesn't change for tools which were
>> not visible
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/igstk-users/attachments/20101109/1cccaaa2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PolarisTrackerTest.cxx
Type: text/x-c++src
Size: 5933 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/igstk-users/attachments/20101109/1cccaaa2/attachment-0002.cxx>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Track.log
Type: text/x-log
Size: 69858 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/igstk-users/attachments/20101109/1cccaaa2/attachment-0002.bin>


More information about the IGSTK-Users mailing list