[IGSTK-Users] Using Virtual ROM files with Aurora

Jon Eubank joneubank at gmail.com
Mon May 25 11:05:43 EDT 2009


Patrick,

That did the trick.  Using your modified AuroraTracker code my software
loads virtual ROM files now and successfully enables and tracks the the
tools.  Thank you very much, that was tremendously helpful.

Jon


On Fri, May 22, 2009 at 2:41 PM, Patrick Cheng <cheng at isis.georgetown.edu>wrote:

> Hi Jon,
>
> Version 2.0.1 is probably too old. I recommend you to update to V4.0 or the
> V4.2 that will come out soon.
>
> I think the problem here is that: your tool doesn't have any SROM infor, so
> a PVWR should be called to load the virtual SROM first. So that the PINIT
> will be able to initialize port handles.
>
> I made a small change to the sequence of commands. I moved this line up
> before the PINIT is being called.
> this->LoadVirtualSROMs();
>
> Not sure if this will fix it. Give it a try and let's see how it goes.
>
> Note: This file is for 2.0.1 only. This bug doesn't apply to the latter
> version of IGSTK release.
>
> Patrick
>
> Jon Eubank wrote:
>
>> Hi,
>>
>> I am using IGSTK release 2.0.1 .
>>
>> I have logs from the serial communication and aurora tracker attached.  I
>> did a bit of sleuthing and found that PVWR is not being called because the
>> tools are failing to initialize when PINIT() is called in
>> AuroraTracker::EnableToolPorts(), thus AuroraTracker::LoadVirtualSROMs() is
>> not being called and so no PVWR command is being issued.  The aurora tracker
>> log shows "(WARNING) Aurora Error 0x13: Unable to initialize Tool-in-Port"
>> for both tools plugged into the tracker (note that I am using dual 5DoF
>> sensors plugged into a single port, I don't know if this will change the way
>> I need to be setting up the port).
>>
>> Thanks,
>> Jon
>>
>> On Thu, May 21, 2009 at 5:21 PM, Patrick Cheng <cheng at isis.georgetown.edu<mailto:
>> cheng at isis.georgetown.edu>> wrote:
>>
>>    Hi Jon,
>>
>>    What version of IGSTK you are using?
>>
>>    If you have specified a SROM file. It should issue a serial command
>>    of PVWR to load it, but I don't see it in the log file.
>>
>>    Can you send us the code snippet where you configure your tracker?
>>    Also, can you add the logger to the AuroraTracker object, run the
>>    application, and send us the log?
>>
>>    Thank you,
>>
>>    Patrick
>>
>>    Jon Eubank wrote:
>>
>>        Hi,
>>
>>        I am trying to track a tool using the Aurora system without
>>        hardcoding a .rom file onto the tool's SROM chip.  This seems to
>>        be a standard and well defined process that is handled when the
>>        tracker initializes.  I have provided the tracker object the
>>        filename for the .rom I want to use, and this file is read from
>>        when LoadVirtualSROMs() is called during initialization.
>>         However, once the tracker is initialized and running the
>>        port/channel that the tool is attached to has not been enabled
>>        and the tool will not track.  Is there a trick to doing this
>>        that I am missing?
>>
>>        If anyone has experience tracking tools with the Aurora system
>>        using virtual ROMs not hardcoded onto the tool's SROM chip, any
>>        advice you can spare would be greatly appreciated.  If you have
>>        any ideas I can provide more information about my the process I
>>        am using to help work out the solution.
>>
>>        Thanks,
>>        Jon Eubank
>>        Working with Mike Daly and GTxEyes team at Princess Margaret
>>        Hospital in Toronto
>>
>>
>>
>>  ------------------------------------------------------------------------
>>
>>        _______________________________________________
>>        Powered by www.kitware.com <http://www.kitware.com>
>>
>>        Visit other Kitware open-source projects at
>>        http://www.kitware.com/opensource/opensource.html
>>
>>        Follow this link to subscribe/unsubscribe:
>>        http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/igstk-users/attachments/20090525/a61bdf36/attachment-0001.html>


More information about the IGSTK-Users mailing list