[IGSTK-Users] MicronTracker Usage and Markers template directory

Andinet Enquobahrie andinet.enqu at kitware.com
Tue Mar 20 14:55:31 EDT 2012


Ann:

Glad to hear you were able to resolve the problem

Let us know if you encounter any other problems.

-Andinet

On Tue, Mar 20, 2012 at 2:53 PM, Anna Brounstein <abrou at ece.ubc.ca> wrote:
> Thank you for your help. The problem has been solved. It turns out the
> directory was input correctly, however, the example initializes the
> tracker before setting the directory, causing this critical message.
> The message is not actually a problem, however. I was concerned
> because I was not getting a display, but in the end it was because I
> was setting the calibration FILE (as the usage asks), not directory.
> It is working now, thank you.
>
> Anna B
>
> On Tue, Mar 20, 2012 at 10:34 AM, Andinet Enquobahrie
> <andinet.enqu at kitware.com> wrote:
>> What did you get from the print statement?
>>
>> "The marker template not properly set" error is generated when you
>> have some problem setting the directory path.
>>
>>
>> igstkMicronTracker.cxx
>>
>> // clear templates already loaded
>>  193   this->m_Markers->clearTemplates();
>>  194
>>  195   if( this->m_MarkerTemplatesDirectory == "" ||
>>  196     !itksys::SystemTools::FileExists(
>>  197      this->m_MarkerTemplatesDirectory.c_str() ) )
>>  198     {
>>  199     igstkLogMacro( CRITICAL, "Marker templates directory is not
>> properly set");
>>  200     return FAILURE;
>>  201     }
>>
>> If you are getting this error exactly, I am pretty sure you are not
>> setting the path correctly.
>>
>>
>>
>>
>>> Thank you for your reply. I had tried this, however, as far as I can
>>> tell, I am inputting the directory correctly. I have tried both the
>>> templates given by Claron and IGSTK.
>>>
>>> On Tue, Mar 20, 2012 at 6:36 AM, Andinet Enquobahrie
>>> <andinet.enqu at kitware.com> wrote:
>>>> Dear Ann
>>>>
>>>> It seems you are not correctly setting the markers template directory
>>>> name.  I would add a debugging print statement in the main program (
>>>> OneViewAndTrackingUsingMirconTracker.cxx ) to print out the template
>>>> directory name and then compile and run the application to see what
>>>> you are getting.
>>>>
>>>> Andinet
>>>>
>>>>
>>>>
>>>> On Mon, Mar 19, 2012 at 8:20 PM, Anna Brounstein <abrou at ece.ubc.ca> wrote:
>>>>> I am having difficulty using IGSTK and a MicronTracker 7300301. I am
>>>>> attempting to test the Examples included (either
>>>>> OneViewAndTrackingUsingMicronTracker.exe or
>>>>> OneViewAndTrackingUsingQTWidgetAndMicronTracker.exe) and can
>>>>> successfully compile and run both. My problem, however, is connecting
>>>>> and initializing the camera. In the logger, I get the message
>>>>> "(CRITICAL) Marker templates directory is not properly
>>>>> set24621192700.987051". I have included the Markers directory in the
>>>>> debug arguments (I am debugging through VSC++ 2010 express). I have
>>>>> tried using the templates provided by both IGSTK and Claron. I
>>>>> apologize if this is a trivial problem, however I have not been able
>>>>> to solve it myself.
>>>>>
>>>>> The camera connects succesfully with the Claron software, but not IGSTK.
>>>>>
>>>>> Thank you very much,
>>>>>
>>>>> --
>>>>> Anna B
>>>>> _______________________________________________
>>>>> Powered by 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
>>>>
>>>>
>>>>
>>>> --
>>>> Andinet Enquobahrie, Ph.D.
>>>> Technical Lead
>>>> Kitware, Inc.
>>>>
>>>> http://www.kitware.com
>>>> (919) 969-6990 x311
>>>
>>>
>>>
>>> --
>>> Anna Brounstein, M.A.Sc.
>>> Electrical & Computer Engineering
>>> The University of British Columbia
>>> Biomedical Signal & Image Computing Lab
>>> http://bisicl.ece.ubc.ca
>>
>>
>>
>> --
>> Andinet Enquobahrie, Ph.D.
>> Technical Lead
>> Kitware, Inc.
>>
>> http://www.kitware.com
>> (919) 969-6990 x311
>
>
>
> --
> Anna Brounstein, M.A.Sc.
> Electrical & Computer Engineering
> The University of British Columbia
> Biomedical Signal & Image Computing Lab
> http://bisicl.ece.ubc.ca



-- 
Andinet Enquobahrie, Ph.D.
Technical Lead
Kitware, Inc.

http://www.kitware.com
(919) 969-6990 x311



More information about the IGSTK-Users mailing list