[IGSTK-Users] NDI Polaris Spectra Problem

Fabian Torres fabian.trobles at gmail.com
Thu Mar 1 14:48:39 EST 2012


Hi IGSTK-USERS

We want to inform you about a problem that we found.

Our team has been working the last week with IGSTK and NDI Polaris Spectra
Tracker.

It has been difficult to get the tracker to work with IGSTK. The problem we
found using the igstkPolarisTrackerTest2 is that IGSTK do not connect to
the tracker.
When we run igstkPolarisTrackerTest2 in cmd with the proper inputs
(igstkTests.exe igstkPolarisTrackerTest2 Logger.txt 8700340.rom 3) we get
the next output on the terminal.

AC = 5
Logger output saved Here:
Logger.txt
SetCommunication()
RequestOpen()
InputOutputTimeoutEvent
TrakcerOpenEvent
Start Tracking...
TrackerStartTrackingErrorEvent
CoordinateSystemTransformToNullTargetEvent
.
.
.
.
CoordinateSystemTransformToNullTargetEvent
Stop Tracking
InvalidRequestErrorEvent
.
.
-
RequestClose()
TrackerCloseEvent

We realize that the problem comes in the RequestOpen() fnction. We use the
Polaris Terminal that comes with the toolkit software to probe the commands
send by IGSTK to the Tracker found in
the RecordedStreamByPolarisTrackerTest2.txt file. The commands are

24619552084.902691  :    (INFO) 1. command[10] INIT:E3A5\x0D
24619552086.135826  :    (INFO) 1. receive[10] RESETBE6F\x0D
24619552086.136169  :    (INFO) 2. command[10] VER:065EE\x0D
24619552086.339958  :    (INFO) 2. receive[172] Polaris Spectra Control
Firmware\x0ANDI S/N: P7-03608\x0ACharacterization Date: 12/12/10\x0AFreeze
Tag: Polaris Spectra Rev 007\x0AFreeze Date: 01/04/10\x0A(C) Northern
Digital Inc.\x0A632F\x0D
24619552086.340687  :    (INFO) 3. command[15] COMM:500000048\x0D
24619552086.386826  :    (INFO) 3. receive[9] OKAYA896\x0D
24619552086.418713  :    (INFO) 4. command[24] PHRQ:*********1****A4C1\x0D
24619552086.426838  :    (INFO) 4. receive[12] ERROR0C4E42\x0D
24619552086.430283  :    (INFO) 5. command[12] TSTART:5423\x0D
24619552086.439823  :    (INFO) 5. receive[12] ERROR0C4E42\x0D
24619552086.941097  :    (INFO) 6. command[12] TSTART:5423\x0D
24619552086.949764  :    (INFO) 6. receive[12] ERROR0C4E42\x0D
24619552087.059345  :    (INFO) 7. command[15] COMM:000000084\x0D
24619552087.065769  :    (INFO) 7. receive[9] OKAYA896\x0D

Using the Polaris terminal to send this commands manually to the Tracker we
found that when the tracker receives the command  PHRQ:*********1****A4C1
it returns an error and disconnects.

After some research we found this bug was reported about two years ago (
http://www.gccxml.org/Bug/print_bug_page.php?bug_id=11331 here is the link).
In this link we found that the solution is to add

m_CommandInterpreter->INIT();

at the end of the InternalOpen() function in igstkNDITracker.cxx

We try this solution and found that it work.

We have only probe this with one tool, we still have to do some tests with
more than one tool.

So, our questions are. Is this a real problem with all users or its some
isolated problem regarding our configuration? Do you knew about this
problem? Is there another solution to fix it?

We are using two different platforms and have the same result

Windows 7 32 bits on Mac Pro
IGSTK 4.4
VTK 5.6
ITK 3.2
FLTK 1.1
QT 4.7.4

MAC OS 10.7 Lion on Mac Pro
IGSTK 4.4
VTK 5.8
ITK 3.2
QT 4.7.4

Thanks



-- 
Fabián Torres Robles
Maestria en Ciencias en Ingeniería Electrónica
Ingeniería en Sistemas Electrónicos
tel. 58081280, 0445534661338
e-mail fabian.trobles at gmail.com, dae.wong at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/igstk-users/attachments/20120301/c0c78cbf/attachment-0001.html>


More information about the IGSTK-Users mailing list