[IGSTK-Users] Using Virtual ROM files with Aurora
Patrick Cheng
cheng at isis.georgetown.edu
Fri May 22 14:41:04 EDT 2009
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 --------------
A non-text attachment was scrubbed...
Name: igstkAuroraTracker.cxx
Type: text/x-c++src
Size: 24395 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/igstk-users/attachments/20090522/cefcd1c0/attachment-0002.cxx>
More information about the IGSTK-Users
mailing list