[IGSTK-Users] Still problems with MicronTracker

Boettcher, Dr. Peter Boettcher at kleintierklinik.uni-leipzig.de
Wed Jul 2 17:14:25 EDT 2008


Andinet
 
I checkt for the right template file and managed to load it into igstk. When I run the skript I do not get errors anymore, but there are no transformation data available too. Unfortunately when I run the skirp in DEBUG mode I get errors all the time. 
 
I am sorry causing trouble but I have still probmems to use the MicronTRacker with igstk.
 
I attched the source code I am using and the logger-file. I had to modify the skripz as I only have the sPTr tool at the moment.
 
int igstkMicronTrackerTest( int argc, char * argv[] )

{

igstk::RealTimeClock::Initialize();

typedef igstk::Object::LoggerType LoggerType;

typedef itk::StdStreamLogOutput LogOutputType;

MicronTrackerTrackerTestCommand::Pointer 

my_command = MicronTrackerTrackerTestCommand::New();

/*if( argc < 5 )

{

std::cerr << " Usage: " << argv[0] << "\t" 

<< "MicronTracker_Camera_Calibration_file_directory" << "\t"

<< "MicronTracker_initialization_file" << "\t"

<< "Marker_template_directory " << "\t"

<< "Logger_Output_filename" << std::endl;

return EXIT_FAILURE;

}

*/

std::string filename = "logger.txt";

std::cout << "Logger output saved here:\n";

std::cout << filename << "\n"; 

std::ofstream loggerFile;

loggerFile.open( filename.c_str() );

LoggerType::Pointer logger = LoggerType::New();

LogOutputType::Pointer logOutput = LogOutputType::New(); 

logOutput->SetStream( loggerFile );

logger->AddLogOutput( logOutput );

logger->SetPriorityLevel( itk::Logger::DEBUG);

typedef igstk::TransformObserver ObserverType;

igstk::MicronTracker::Pointer tracker;

tracker = igstk::MicronTracker::New();

tracker->AddObserver( itk::AnyEvent(), my_command);

tracker->SetLogger( logger );

// Set necessary parameters of the tracker

std::string calibrationFilesDirectory = "C:\\cygwin\\home\\Administrator\\igt-tutorial\\IGSTKSandbox-build\\bin\\debug";

tracker->SetCameraCalibrationFilesDirectory( 

calibrationFilesDirectory );

std::string initializationFile = "MicronTracker.ini";

tracker->SetInitializationFile( initializationFile );

std::string markerTemplateDirectory = "C:\\Marker";

tracker->SetMarkerTemplatesDirectory( markerTemplateDirectory );

// Start communication

tracker->RequestOpen();

// Add tracker tools

typedef igstk::MicronTrackerTool TrackerToolType;

TrackerToolType::Pointer trackerTool = TrackerToolType::New();

trackerTool->SetLogger( logger );

std::string markerNameTT = "sPtr";

trackerTool->RequestSetMarkerName( markerNameTT ); 

trackerTool->RequestConfigure();

trackerTool->RequestAttachToTracker( tracker );

trackerTool->AddObserver( itk::AnyEvent(), my_command);

//Add observer to listen to transform events 

ObserverType::Pointer coordSystemAObserver = ObserverType::New();

coordSystemAObserver->ObserveTransformEventsFrom( trackerTool );

//start tracking 

tracker->RequestStartTracking();

typedef igstk::Transform TransformType;

typedef ::itk::Vector<double, 3> VectorType;

typedef ::itk::Versor<double> VersorType;

for(unsigned int i=0; i<5; i++)

{

igstk::PulseGenerator::CheckTimeouts(); 

TransformType transform;

VectorType position;

coordSystemAObserver->Clear();

trackerTool->RequestGetTransformToParent();

if (coordSystemAObserver->GotTransform())

{

transform = coordSystemAObserver->GetTransform();

if ( transform.IsValidNow() )

{

position = transform.GetTranslation();

std::cout << "Trackertool :" 

<< trackerTool->GetTrackerToolIdentifier() 

<< "\t\t Position = (" << position[0]

<< "," << position[1] << "," << position[2]

<< ")" << std::endl;

}

}

}

std::cout << "RequestStopTracking()" << std::endl;

tracker->RequestStopTracking();

//Remove one of the tracker tools and restart tracking

std::cout << "Detach the tracker tool from the tracker" << std::endl;

trackerTool->RequestDetachFromTracker( );

std::cout << "RequestClose()" << std::endl;

tracker->RequestClose();

std::cout << "[PASSED]" << std::endl;

return EXIT_SUCCESS;

}

 

 

24503980087.13726  :    (DEBUG) igstk::Tracker::RequestOpen called...
24503980087.137398  :    (DEBUG) State transition is being made : MicronTracker  PointerID 05A4C710 IdleState(1)  with EstablishCommunicationInput(11) ---> AttemptingToEstablishCommunicationState(2).
24503980087.137478  :    (DEBUG) igstk::Tracker::AttemptToOpenProcessing called ...
24503980087.137531  :    (DEBUG) igstk::MicronTracker::InternalOpen called ...
24503980087.1376  :    (DEBUG) igstk::MicronTracker::LoadMarkerTemplate called..
24503980087.152935  :    (DEBUG) igstk::MicronTracker::Initialize called ...
24503980087.153481  :    (DEBUG) State transition is being made : MicronTracker  PointerID 05A4C710 AttemptingToEstablishCommunicationState(2)  with SuccessInput(19) ---> CommunicationEstablishedState(4).
24503980087.153553  :    (DEBUG) igstk::Tracker::CommunicationEstablishmentSuccessProcessing called ...
24503980087.163616  :    (DEBUG) igstk::MicronTrackerTool::RequestSetMarkerName called ...
24503980087.163723  :    (DEBUG) State transition is being made : MicronTrackerTool  PointerID 05A5A2D8 IdleState(101)  with ValidMarkerNameInput(103) ---> MarkerNameSpecifiedState(102).
24503980087.163792  :    (DEBUG) igstk::MicronTrackerTool::SetMarkerNameProcessing called ...
24503980087.163845  :    (DEBUG) igstk::TrackerTool::SetTrackerToolIdentifier called...
24503980087.163898  :    (DEBUG) igstk::TrackerTool::RequestConfigure called...
24503980087.164013  :    (DEBUG) State transition is being made : MicronTrackerTool  PointerID 05A5A2D8 IdleState(62)  with ConfigureToolInput(49) ---> AttemptingToConfigureTrackerToolState(63).
24503980087.164085  :    (DEBUG) igstk::TrackerTool::AttemptToConfigureProcessing called ...
24503980087.16415  :    (DEBUG) igstk::PolarisTrackerTool::CheckIfTrackerToolIsConfigured called...
24503980087.164253  :    (DEBUG) State transition is being made : MicronTrackerTool  PointerID 05A5A2D8 AttemptingToConfigureTrackerToolState(63)  with ToolConfigurationSuccessInput(50) ---> ConfiguredState(64).
24503980087.164326  :    (DEBUG) igstk::TrackerTool::TrackerToolConfigurationSuccessProcessing called ...
24503980087.164383  :    (DEBUG) igstk::TrackerTool::RequestAttachToTracker called...
24503980087.164482  :    (DEBUG) State transition is being made : MicronTrackerTool  PointerID 05A5A2D8 ConfiguredState(64)  with AttachToolToTrackerInput(52) ---> AttemptingToAttachTrackerToolToTrackerState(65).
24503980087.164555  :    (DEBUG) igstk::TrackerTool::AttemptToAttachTrackerToolToTracker called ...
24503980087.164612  :    (DEBUG) igstk::Tracker::RequestAttachTool called ...
24503980087.164715  :    (DEBUG) State transition is being made : MicronTracker  PointerID 05A4C710 CommunicationEstablishedState(4)  with AttachTrackerToolInput(13) ---> AttemptingToAttachTrackerToolState(5).
24503980087.164783  :    (DEBUG) igstk::Tracker::AttemptToAttachTrackerToolProcessing called ...
24503980087.164841  :    (DEBUG) igstk::MicronTracker::VerifyTrackerToolInformation called ...
24503980087.164967  :    (DEBUG) State transition is being made : MicronTracker  PointerID 05A4C710 AttemptingToAttachTrackerToolState(5)  with SuccessInput(19) ---> TrackerToolAttachedState(6).
24503980087.165047  :    (DEBUG) igstk::Tracker::AttachingTrackerToolSuccessProcessing called ...
24503980087.165112  :    (DEBUG) igstk::TrackerTool::GetTrackerToolIdentifier called...
24503980087.165176  :    (DEBUG) igstk::TrackerTool::ReportSuccessfulTrackerToolAttachment called ...
24503980087.165283  :    (DEBUG) State transition is being made : MicronTrackerTool  PointerID 05A5A2D8 AttemptingToAttachTrackerToolToTrackerState(65)  with AttachmentToTrackerSuccessInput(58) ---> AttachedState(66).
24503980087.165356  :    (DEBUG) igstk::TrackerTool::TrackerToolAttachmentToTrackerSuccessiProcessing called ...
24503980087.165417  :    (DEBUG) igstk::MicronTracker::RemoveTrackerToolFromInternalDataContainers called ...
24503980087.165474  :    (DEBUG) igstk::TrackerTool::GetTrackerToolIdentifier called...
24503980087.165634  :    (DEBUG) igstk::Tracker::RequestStartTracking called ...
24503980087.165905  :    (DEBUG) State transition is being made : MicronTracker  PointerID 05A4C710 TrackerToolAttachedState(6)  with StartTrackingInput(12) ---> AttemptingToTrackState(7).
24503980087.165989  :    (DEBUG) igstk::Tracker::AttemptToStartTrackingProcessing  called ...
24503980087.166042  :    (DEBUG) igstk::MicronTracker::InternalStartTracking called ...
24503980087.166092  :    (DEBUG) igstk::MicronTracker::SetUpCameras called ...
24503980087.622841  :    (DEBUG) State transition is being made : MicronTracker  PointerID 05A4C710 AttemptingToTrackState(7)  with SuccessInput(19) ---> TrackingState(8).
24503980087.622932  :    (DEBUG) igstk::Tracker::StartTrackingSuccessProcessing called ...
24503980087.62299  :    (DEBUG) igstk::TrackerTool::RequestReportTrackingStarted called...
24503980087.623093  :    (DEBUG) State transition is being made : MicronTrackerTool  PointerID 05A5A2D8 AttachedState(66)  with TrackingStartedInput(53) ---> NotAvailableState(68).
24503980087.623161  :    (DEBUG) igstk::TrackerTool::ReportTrackingStarted called ...
24503980087.624367  :    (DEBUG) igstk::Tracker::EnterTrackingStateProcessing called ...
24503980087.624695  :    (DEBUG) igstk::MicronTracker::InternalThreadedUpdateStatus called ...
24503980087.631382  :    (DEBUG) igstk::Tracker::RequestStopTracking called ...
24503980087.631527  :    (DEBUG) State transition is being made : MicronTracker  PointerID 05A4C710 TrackingState(8)  with StopTrackingInput(15) ---> AttemptingToStopTrackingState(10).
24503980087.631599  :    (DEBUG) igstk::Tracker::AttemptToStopTrackingProcessing called ...
24503980087.631657  :    (DEBUG) igstk::Tracker::ExitTrackingStateProcessing called ...
24503980087.631714  :    (DEBUG) igstk::Tracker::ExitTrackingTerminatingTrackingThread called ...
24503980087.678612  :    (DEBUG) TrackingThreadFunction was terminated, 1 errors out of 1updates.
24503980087.679214  :    (DEBUG) igstk::MicronTracker::InternalStopTracking called ...
24503980087.685684  :    (DEBUG) State transition is being made : MicronTracker  PointerID 05A4C710 AttemptingToStopTrackingState(10)  with SuccessInput(19) ---> CommunicationEstablishedState(4).
24503980087.685787  :    (DEBUG) igstk::Tracker::StopTrackingSuccessProcessing called ...
24503980087.685852  :    (DEBUG) igstk::TrackerTool::RequestReportTrackingStopped called...
24503980087.685974  :    (DEBUG) State transition is being made : MicronTrackerTool  PointerID 05A5A2D8 NotAvailableState(68)  with TrackingStoppedInput(54) ---> AttachedState(66).
24503980087.68605  :    (DEBUG) igstk::TrackerTool::ReportTrackingStopped called ...
24503980087.691566  :    (DEBUG) igstk::TrackerTool::RequestDetachFromTracker called...
24503980087.691685  :    (DEBUG) State transition is being made : MicronTrackerTool  PointerID 05A5A2D8 AttachedState(66)  with DetachTrackerToolFromTrackerInput(57) ---> AttemptingToDetachTrackerToolFromTrackerState(67).
24503980087.691769  :    (DEBUG) igstk::TrackerTool::AttemptToAttachTrackerToolToTracker called ...
24503980087.691822  :    (DEBUG) igstk::TrackerTool::GetTrackerToolIdentifier called...
24503980087.691891  :    (DEBUG) igstk::MicronTracker::RemoveTrackerToolFromInternalDataContainers called ...
24503980087.691944  :    (DEBUG) igstk::TrackerTool::GetTrackerToolIdentifier called...
24503980087.692074  :    (DEBUG) State transition is being made : MicronTrackerTool  PointerID 05A5A2D8 AttemptingToDetachTrackerToolFromTrackerState(67)  with DetachmentFromTrackerSuccessInput(60) ---> IdleState(62).
24503980087.692146  :    (DEBUG) igstk::TrackerTool::TrackerToolDetachmentFromTrackerSuccessProcessing called ...
24503980087.697262  :    (DEBUG) igstk::Tracker::RequestClose called ...
24503980087.697388  :    (DEBUG) State transition is being made : MicronTracker  PointerID 05A4C710 CommunicationEstablishedState(4)  with CloseCommunicationInput(17) ---> AttemptingToCloseCommunicationState(3).
24503980087.697468  :    (DEBUG) igstk::Tracker::CloseFromCommunicatingStateProcessing called ...
24503980087.697525  :    (DEBUG) igstk::MicronTracker::InternalClose called ...
24503980087.697689  :    (DEBUG) State transition is being made : MicronTracker  PointerID 05A4C710 AttemptingToCloseCommunicationState(3)  with SuccessInput(19) ---> IdleState(1).
24503980087.697758  :    (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


________________________________

Von: Andinet Enquobahrie [mailto:andinet.enqu at kitware.com]
Gesendet: Mi 02.07.2008 21:40
An: Boettcher, Dr. Peter
Cc: igstk-users at public.kitware.com
Betreff: Re: AW: [IGSTK-Users] MicronTracker_initialization_file



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




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/igstk-users/attachments/20080702/79251edb/attachment.html>


More information about the IGSTK-Users mailing list