<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font face="Arial, sans-serif" size="3">Hello!</font><div><font face="Arial, sans-serif" size="3"><br></font></div><div><font face="Arial, sans-serif" size="3">I have problems with the TrackerConfiguration-Example. It only works with Polaris Vicra configuration files. When I try to use it with another configuration file - i.e. with the auroraConfiguration.xml (IGSTK/Data/TrackerConfiguration) - I get the following error:</font></div><div><font face="Arial, sans-serif" size="3"><br></font></div><div><font face="Arial, sans-serif" size="3">terminate called after throwing an instance of 'igstk::TrackerConfigurationXMLFileReaderBase::UnexpectedTrackerTypeException'</font></div><div><font face="Arial, sans-serif" size="3"> what(): std::exception</font></div><div><font face="Arial, sans-serif" size="3">Aborted</font></div><div><font face="Arial, sans-serif" size="3"><br></font></div><div><font face="Arial, sans-serif" size="3">I debugged the TrackerConfiguration-Example, and also tried some code-modifications. Here are my findings: </font></div><div><font face="Arial, sans-serif" size="3">When I changed the order of the trackerConfigurationXMLReaders (first reader before: Vicra, first reader after: Aurora) in the TrackerConfigurationExample.cxx, I was able to run it with the auroraConfiguration successfully. </font></div><div><font face="Arial, sans-serif" size="3">So it is only working with configuration files suitable with the first declared reader --> otherwise there is a problem with the thrown exception. I do not know why the program aborts, because there is a try/catch-block in the igstktTrackerConfigurationFileReader.cxx for the exception but somehow it is not catching. I also tried to catch the exception at some other point, somewhere earlier in the stack-trace, which was working.</font></div><div><font face="Arial, sans-serif" size="3"><br></font></div><div><font face="Arial, sans-serif" size="3">System Configuration:</font></div><div><span id="docs-internal-guid-98e274b6-07c5-bb2a-8131-a491fab5f68f"><p dir="ltr" style="font-family: Arial, sans-serif; font-size: medium; line-height: 1.15; margin-top: 0pt; margin-bottom: 0pt;"><span style="vertical-align: baseline; white-space: pre-wrap;">* IGSTK 5.2</span></p><p dir="ltr" style="font-family: Arial, sans-serif; font-size: medium; line-height: 1.15; margin-top: 0pt; margin-bottom: 0pt;"><span style="vertical-align: baseline; white-space: pre-wrap;">* VTK 5.10.1</span></p><p dir="ltr" style="font-family: Arial, sans-serif; font-size: medium; line-height: 1.15; margin-top: 0pt; margin-bottom: 0pt;"><span style="vertical-align: baseline; white-space: pre-wrap;">* ITK 4.2.0</span></p><p dir="ltr" style="font-family: Arial, sans-serif; font-size: medium; line-height: 1.15; margin-top: 0pt; margin-bottom: 0pt;"><span style="vertical-align: baseline; white-space: pre-wrap;">(OS: Ubuntu 10.04.4)</span></p><p dir="ltr" style="font-family: Arial, sans-serif; font-size: medium; line-height: 1.15; margin-top: 0pt; margin-bottom: 0pt;"><span style="vertical-align: baseline; white-space: pre-wrap;"><br></span></p><p dir="ltr" style="margin-top: 0pt; margin-bottom: 0pt;"><span style="font-family: Arial, sans-serif; font-size: 12pt; line-height: 17.25px; white-space: pre-wrap;">Does someone know why there is a problem with the exception handling and how to fix it? Do I need another system configuration to get the example to work correctly?</span></p><font face="Arial, sans-serif" size="3"><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span style="vertical-align: baseline; white-space: pre-wrap;"><br></span></p><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span style="vertical-align: baseline; white-space: pre-wrap;">Best regards,</span></p><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><span style="vertical-align: baseline; white-space: pre-wrap;">Dominique</span></p><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;"><br></p></font></span></div><div><br></div> </div></body>
</html>