[IGSTK-Users] MicronTracker_initialization_file

Andinet Enquobahrie andinet.enqu at kitware.com
Wed Jul 2 15:40:05 EDT 2008


Peter-

If you carefully look at your logger file, you will see the following

 >>24503973094.977234  :    (CRITICAL) Tracker tool template NOT 
FOUND24503973094.977364  :

Which means your tracker tool template file was not found...

Can you double check the directory you specified as your 
Marker_template_directory contains
the template file for bayonetPointer tracker tool...

I just checked my collection and I didn't say any template for this 
particular tool.

If you are running the igstkMicronTracker test as-is without 
modification then you should use
the sPointer and TTblock. Those are the types of tools instantiated in 
the test.

Let us know how it goes

Andinet

> I run the skript with all necessary files. But unfortunately no 
> connection is been established to the MicronTracker. The tracker works 
> fine as I can get data from the demo Claron ships with the software.
>  
> Same accounts for the MicronTrackerTollTest. The skript runs fine, but 
> I get no matrix data.
>  
> I am using the bayonetPointer Tool from Claron.
>  
> Peter
>  
> This is what the logger file looks like:
> 24503973094.949295  :    (DEBUG) igstk::Tracker::RequestOpen called...
> 24503973094.949429  :    (DEBUG) State transition is being made : 
> MicronTracker  PointerID 05A4C710 IdleState(1)  with 
> EstablishCommunicationInput(11) ---> 
> AttemptingToEstablishCommunicationState(2).
> 24503973094.949509  :    (DEBUG) 
> igstk::Tracker::AttemptToOpenProcessing called ...
> 24503973094.949562  :    (DEBUG) igstk::MicronTracker::InternalOpen 
> called ...
> 24503973094.949612  :    (DEBUG) 
> igstk::MicronTracker::LoadMarkerTemplate called..
> 24503973094.965019  :    (DEBUG) igstk::MicronTracker::Initialize 
> called ...
> 24503973094.965473  :    (DEBUG) State transition is being made : 
> MicronTracker  PointerID 05A4C710 
> AttemptingToEstablishCommunicationState(2)  with SuccessInput(19) ---> 
> CommunicationEstablishedState(4).
> 24503973094.965546  :    (DEBUG) 
> igstk::Tracker::CommunicationEstablishmentSuccessProcessing called ...
> 24503973094.975937  :    (DEBUG) 
> igstk::MicronTrackerTool::RequestSetMarkerName called ...
> 24503973094.976044  :    (DEBUG) State transition is being made : 
> MicronTrackerTool  PointerID 05A5A288 IdleState(101)  with 
> ValidMarkerNameInput(103) ---> MarkerNameSpecifiedState(102).
> 24503973094.976112  :    (DEBUG) 
> igstk::MicronTrackerTool::SetMarkerNameProcessing called ...
> 24503973094.976166  :    (DEBUG) 
> igstk::TrackerTool::SetTrackerToolIdentifier called...
> 24503973094.976219  :    (DEBUG) igstk::TrackerTool::RequestConfigure 
> called...
> 24503973094.976334  :    (DEBUG) State transition is being made : 
> MicronTrackerTool  PointerID 05A5A288 IdleState(62)  with 
> ConfigureToolInput(49) ---> AttemptingToConfigureTrackerToolState(63).
> 24503973094.97641  :    (DEBUG) 
> igstk::TrackerTool::AttemptToConfigureProcessing called ...
> 24503973094.976471  :    (DEBUG) 
> igstk::PolarisTrackerTool::CheckIfTrackerToolIsConfigured called...
> 24503973094.976582  :    (DEBUG) State transition is being made : 
> MicronTrackerTool  PointerID 05A5A288 
> AttemptingToConfigureTrackerToolState(63)  with 
> ToolConfigurationSuccessInput(50) ---> ConfiguredState(64).
> 24503973094.976654  :    (DEBUG) 
> igstk::TrackerTool::TrackerToolConfigurationSuccessProcessing called ...
> 24503973094.976715  :    (DEBUG) 
> igstk::TrackerTool::RequestAttachToTracker called...
> 24503973094.976814  :    (DEBUG) State transition is being made : 
> MicronTrackerTool  PointerID 05A5A288 ConfiguredState(64)  with 
> AttachToolToTrackerInput(52) ---> 
> AttemptingToAttachTrackerToolToTrackerState(65).
> 24503973094.976883  :    (DEBUG) 
> igstk::TrackerTool::AttemptToAttachTrackerToolToTracker called ...
> 24503973094.97694  :    (DEBUG) igstk::Tracker::RequestAttachTool 
> called ...
> 24503973094.977043  :    (DEBUG) State transition is being made : 
> MicronTracker  PointerID 05A4C710 CommunicationEstablishedState(4)  
> with AttachTrackerToolInput(13) ---> 
> AttemptingToAttachTrackerToolState(5).
> 24503973094.977112  :    (DEBUG) 
> igstk::Tracker::AttemptToAttachTrackerToolProcessing called ...
> 24503973094.977165  :    (DEBUG) 
> igstk::MicronTracker::VerifyTrackerToolInformation called ...
> 24503973094.977234  :    (CRITICAL) Tracker tool template NOT 
> FOUND24503973094.977364  :    (DEBUG) State transition is being made : 
> MicronTracker  PointerID 05A4C710 
> AttemptingToAttachTrackerToolState(5)  with FailureInput(20) ---> 
> CommunicationEstablishedState(4).
> 24503973094.977444  :    (DEBUG) 
> igstk::Tracker::AttachingTrackerToolFailureProcessing called ...
> 24503973094.977505  :    (DEBUG) 
> igstk::TrackerTool::ReportFailedTrackerToolAttachment called ...
> 24503973094.977619  :    (DEBUG) State transition is being made : 
> MicronTrackerTool  PointerID 05A5A288 
> AttemptingToAttachTrackerToolToTrackerState(65)  with 
> AttachmentToTrackerFailureInput(59) ---> ConfiguredState(64).
> 24503973094.977695  :    (DEBUG) 
> igstk::TrackerTool::TrackerToolConfigurationFailureProcessing called ...
> 24503973094.986126  :    (DEBUG) 
> igstk::MicronTrackerTool::RequestSetMarkerName called ...
> 24503973094.986248  :    (DEBUG) State transition is being made : 
> MicronTrackerTool  PointerID 05A618B0 IdleState(157)  with 
> ValidMarkerNameInput(159) ---> MarkerNameSpecifiedState(158).
> 24503973094.986324  :    (DEBUG) 
> igstk::MicronTrackerTool::SetMarkerNameProcessing called ...
> 24503973094.986549  :    (DEBUG) 
> igstk::TrackerTool::SetTrackerToolIdentifier called...
> 24503973094.98661  :    (DEBUG) igstk::TrackerTool::RequestConfigure 
> called...
> 24503973094.986721  :    (DEBUG) State transition is being made : 
> MicronTrackerTool  PointerID 05A618B0 IdleState(118)  with 
> ConfigureToolInput(105) ---> AttemptingToConfigureTrackerToolState(119).
> 24503973094.98679  :    (DEBUG) 
> igstk::TrackerTool::AttemptToConfigureProcessing called ...
> 24503973094.986843  :    (DEBUG) 
> igstk::PolarisTrackerTool::CheckIfTrackerToolIsConfigured called...
> 24503973094.986946  :    (DEBUG) State transition is being made : 
> MicronTrackerTool  PointerID 05A618B0 
> AttemptingToConfigureTrackerToolState(119)  with 
> ToolConfigurationSuccessInput(106) ---> ConfiguredState(120).
> 24503973094.987019  :    (DEBUG) 
> igstk::TrackerTool::TrackerToolConfigurationSuccessProcessing called ...
> 24503973094.987083  :    (DEBUG) 
> igstk::TrackerTool::RequestAttachToTracker called...
> 24503973094.987186  :    (DEBUG) State transition is being made : 
> MicronTrackerTool  PointerID 05A618B0 ConfiguredState(120)  with 
> AttachToolToTrackerInput(108) ---> 
> AttemptingToAttachTrackerToolToTrackerState(121).
> 24503973094.987255  :    (DEBUG) 
> igstk::TrackerTool::AttemptToAttachTrackerToolToTracker called ...
> 24503973094.987309  :    (DEBUG) igstk::Tracker::RequestAttachTool 
> called ...
> 24503973094.987411  :    (DEBUG) State transition is being made : 
> MicronTracker  PointerID 05A4C710 CommunicationEstablishedState(4)  
> with AttachTrackerToolInput(13) ---> 
> AttemptingToAttachTrackerToolState(5).
> 24503973094.98748  :    (DEBUG) 
> igstk::Tracker::AttemptToAttachTrackerToolProcessing called ...
> 24503973094.987534  :    (DEBUG) 
> igstk::MicronTracker::VerifyTrackerToolInformation called ...
> 24503973094.987595  :    (CRITICAL) Tracker tool template NOT 
> FOUND24503973094.987694  :    (DEBUG) State transition is being made : 
> MicronTracker  PointerID 05A4C710 
> AttemptingToAttachTrackerToolState(5)  with FailureInput(20) ---> 
> CommunicationEstablishedState(4).
> 24503973094.987762  :    (DEBUG) 
> igstk::Tracker::AttachingTrackerToolFailureProcessing called ...
> 24503973094.987816  :    (DEBUG) 
> igstk::TrackerTool::ReportFailedTrackerToolAttachment called ...
> 24503973094.987919  :    (DEBUG) State transition is being made : 
> MicronTrackerTool  PointerID 05A618B0 
> AttemptingToAttachTrackerToolToTrackerState(121)  with 
> AttachmentToTrackerFailureInput(115) ---> ConfiguredState(120).
> 24503973094.987991  :    (DEBUG) 
> igstk::TrackerTool::TrackerToolConfigurationFailureProcessing called ...
> 24503973094.988083  :    (DEBUG) igstk::Tracker::RequestStartTracking 
> called ...
> 24503973094.988194  :    (DEBUG) State transition is being made : 
> MicronTracker  PointerID 05A4C710 CommunicationEstablishedState(4)  
> with StartTrackingInput(12) ---> AttemptingToTrackState(7).
> 24503973094.98827  :    (DEBUG) 
> igstk::Tracker::AttemptToStartTrackingProcessing  called ...
> 24503973094.988323  :    (DEBUG) 
> igstk::MicronTracker::InternalStartTracking called ...
> 24503973094.988377  :    (DEBUG) igstk::MicronTracker::SetUpCameras 
> called ...
> 24503973095.298634  :    (CRITICAL)  No camera available or missing 
> calibration file in:  BumbleBee_6021046.calib24503973095.298729  :    
> (CRITICAL) MTC Error returned: Cannot open calibration file 
> BumbleBee_6021046.calib/BumbleBee_6021046.calib24503973095.298798  
> :    (CRITICAL) Error setting up cameras 24503973095.298927  :    
> (DEBUG) State transition is being made : MicronTracker  PointerID 
> 05A4C710 AttemptingToTrackState(7)  with FailureInput(20) ---> 
> CommunicationEstablishedState(4).
> 24503973095.299  :    (DEBUG) 
> igstk::Tracker::StartTrackingFailureProcessing called ...
> 24503973095.815952  :    (DEBUG) igstk::Tracker::RequestStopTracking 
> called ...
> 24503973095.816097  :    (DEBUG) State transition is being made : 
> MicronTracker  PointerID 05A4C710 CommunicationEstablishedState(4)  
> with StopTrackingInput(15) ---> CommunicationEstablishedState(4).
> 24503973095.816174  :    (DEBUG) 
> igstk::Tracker::ReportInvalidRequestProcessing called...
> 24503973095.819832  :    (DEBUG) 
> igstk::TrackerTool::RequestDetachFromTracker called...
> 24503973095.819942  :    (CRITICAL) In class MicronTrackerTool No 
> transitions have been defined for current state and input  State = 64 
> [ConfiguredState] Input = 57 [DetachTrackerToolFromTrackerInput]
> 24503973095.820019  :    (DEBUG) igstk::Tracker::RequestStartTracking 
> called ...
> 24503973095.820141  :    (DEBUG) State transition is being made : 
> MicronTracker  PointerID 05A4C710 CommunicationEstablishedState(4)  
> with StartTrackingInput(12) ---> AttemptingToTrackState(7).
> 24503973095.820213  :    (DEBUG) 
> igstk::Tracker::AttemptToStartTrackingProcessing  called ...
> 24503973095.820274  :    (DEBUG) 
> igstk::MicronTracker::InternalStartTracking called ...
> 24503973095.820328  :    (DEBUG) igstk::MicronTracker::SetUpCameras 
> called ...
> 24503973096.096931  :    (CRITICAL)  No camera available or missing 
> calibration file in:  BumbleBee_6021046.calib24503973096.097023  :    
> (CRITICAL) MTC Error returned: Cannot open calibration file 
> BumbleBee_6021046.calib/BumbleBee_6021046.calib24503973096.097088  
> :    (CRITICAL) Error setting up cameras 24503973096.097218  :    
> (DEBUG) State transition is being made : MicronTracker  PointerID 
> 05A4C710 AttemptingToTrackState(7)  with FailureInput(20) ---> 
> CommunicationEstablishedState(4).
> 24503973096.097298  :    (DEBUG) 
> igstk::Tracker::StartTrackingFailureProcessing called ...
> 24503973096.359978  :    (DEBUG) igstk::Tracker::RequestStopTracking 
> called ...
> 24503973096.360126  :    (DEBUG) State transition is being made : 
> MicronTracker  PointerID 05A4C710 CommunicationEstablishedState(4)  
> with StopTrackingInput(15) ---> CommunicationEstablishedState(4).
> 24503973096.360203  :    (DEBUG) 
> igstk::Tracker::ReportInvalidRequestProcessing called...
> 24503973096.362606  :    (DEBUG) igstk::Tracker::RequestClose called ...
> 24503973096.362728  :    (DEBUG) State transition is being made : 
> MicronTracker  PointerID 05A4C710 CommunicationEstablishedState(4)  
> with CloseCommunicationInput(17) ---> 
> AttemptingToCloseCommunicationState(3).
> 24503973096.362816  :    (DEBUG) 
> igstk::Tracker::CloseFromCommunicatingStateProcessing called ...
> 24503973096.362885  :    (DEBUG) igstk::MicronTracker::InternalClose 
> called ...
> 24503973096.362995  :    (DEBUG) State transition is being made : 
> MicronTracker  PointerID 05A4C710 
> AttemptingToCloseCommunicationState(3)  with SuccessInput(19) ---> 
> IdleState(1).
> 24503973096.363068  :    (DEBUG) 
> igstk::Tracker::CloseCommunicationSuccessProcessing called ...
>  
> ------------------------------------
> Peter Böttcher, Dr med vet, DipECVS
> European Veterinary Specialist in Surgery
> Fachtierarzt für Kleintierchirurgie
> Klinik für Kleintiere
> Universität Leipzig
> An den Tierkliniken 23
> D-04103 Leipzig (Germany)
> Tel: +49-341-9738700
> Fax: +49-341-9738799
> email: boettcher at kleintierklinik.uni-leipzig.de 
> <mailto:boettcher at kleintierklinik.uni-leipzig.de>
>
> ------------------------------------------------------------------------
> *Von:* Andinet Enquobahrie [mailto:andinet.enqu at kitware.com]
> *Gesendet:* Mi 02.07.2008 20:20
> *An:* Chris Heath
> *Cc:* Boettcher, Dr. Peter; igstk-users at public.kitware.com
> *Betreff:* Re: [IGSTK-Users] MicronTracker_initialization_file
>
>
> > The MicronTracker requires a text file that is used to initialize the
> > settings for the camera.  Luckily, igstkMicronTracker generates the
> > particulars for the file, so just create an empty text file with
> > extension .ini and specify it as the initialization file.
> Actually, igstkMicronTracker does not generate the information that
> needs to be
> specified in the file. During initialization phase, the tracker code
> uses the one that is specified
> by the user. The initialization file contains various camera and
> algorithm parameters.
>
> There is a sample initialization file in the Sandbox that you can use..
>
> Sandbox/Testing/Data/Input/MicronTracker.ini
>
> Let us know if you encounter any other problems...
>
> -Andinet
>
> >
> > Chris
> >
> > On Jul 2, 2008, at 12:52 PM, Boettcher, Dr. Peter wrote:
> >
> >> I try to setup igsth with MicronTracker. I build both igstk and
> >> igstkSandbox with MicronTracker ON - with success (after upgrading to
> >> 2.6 MTC)
> >> 
> >> Now i try to get some data from the tracker using MicronTrackerTest.
> >> But I do not know what the MicronTracker_initialization_file is.
> >> 
> >> Regards, Peter
> >> 
> >> 
> >> _______________________________________________
> >> IGSTK-Users mailing list
> >> IGSTK-Users at public.kitware.com <mailto:IGSTK-Users at public.kitware.com>
> >> http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > IGSTK-Users mailing list
> > IGSTK-Users at public.kitware.com
> > http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users
>
>
> --
> ==========================================================
> Andinet A. Enquobahrie, PhD
> R&D Engineer
> Kitware Inc.
>
> 28 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-371-3971 x124
> www.kitware.com
>
>


-- 
==========================================================
Andinet A. Enquobahrie, PhD
R&D Engineer
Kitware Inc.

28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x124
www.kitware.com





More information about the IGSTK-Users mailing list