From dominique-maier at hotmail.com Tue Jan 20 10:27:57 2015 From: dominique-maier at hotmail.com (Dominique Maier) Date: Tue, 20 Jan 2015 16:27:57 +0100 Subject: [IGSTK-Users] TrackerConfiguration-Example is only working with vicraConfiguration Message-ID: Hello! 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: terminate called after throwing an instance of 'igstk::TrackerConfigurationXMLFileReaderBase::UnexpectedTrackerTypeException' what(): std::exceptionAborted I debugged the TrackerConfiguration-Example, and also tried some code-modifications. Here are my findings: 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. 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. System Configuration:* IGSTK 5.2* VTK 5.10.1* ITK 4.2.0(OS: Ubuntu 10.04.4) 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? Best regards,Dominique -------------- next part -------------- An HTML attachment was scrubbed... URL: