<html><body><div style="color:#000; background-color:#fff; font-family:tahoma, new york, times, serif;font-size:10pt"><div><span>Hi,<br></span></div><div style='color: rgb(0, 0, 0); font-size: 13px; font-family: "DejaVu Serif"; background-color: transparent; font-style: normal'><span><br></span></div><div style='color: rgb(0, 0, 0); font-size: 13px; background-color: transparent; font-style: normal; font-family: "DejaVu Serif"'><span>I wanted to run the class NDICertusTrackerTest.cxx to test optotrak tracker. But I don't get any transformations or rather positions from my tracker tool.  <br></span></div><div style='color: rgb(0, 0, 0); font-size: 13px; background-color: transparent; font-style: normal; font-family: "DejaVu Serif"'><span>I am sure that all my configurations are correct. Because the sample programs of optotrak already work properly or rather I get even exact positions of tracker tool, if I run these tests .</span></div><div
 style='color: rgb(0, 0, 0); font-size: 13px; background-color: transparent; font-style: normal; font-family: "DejaVu Serif"'><span>If I know correctly, the problem is in </span><span>the class igstkNDICertusTrackerTest.cxx in "SECOND IF" statement.  The program don't enters into second if statement, and thus jumps to else.  </span><span><br></span></div><div style='color: rgb(0, 0, 0); font-size: 13px; background-color: transparent; font-style: normal; font-family: "DejaVu Serif"'><span><br></span></div><div style='color: rgb(0, 0, 0); font-size: 13px; background-color: transparent; font-style: normal; font-family: "DejaVu Serif"'><span>What can be the reason for this?<br></span></div><div style='color: rgb(0, 0, 0); font-size: 13px; background-color: transparent; font-style: normal; font-family: "DejaVu Serif"'><span>  <br>for(unsigned int i=0; i<5000; i++)<br>    {<br>    igstk::PulseGenerator::CheckTimeouts();<br><br>    TransformType   
          transform;<br>    VectorType                position;<br><br>    coordSystemAObserver->Clear();<br>    trackerTool->RequestGetTransformToParent();</span></div><div style='color: rgb(0, 0, 0); font-size: 13px; background-color: transparent; font-style: normal; font-family: "DejaVu Serif"'><span><br>     cout<<"BEFORE FIRST IF"<<endl;<br>    if (coordSystemAObserver->GotTransform())<br>      {<br>       cout<<"IN FIRST IF"<<endl;<br>      transform = coordSystemAObserver->GetTransform();</span></div><div style='color: rgb(0, 0, 0); font-size: 13px; background-color: transparent; font-style: normal; font-family: "DejaVu Serif"'><span><br>      if ( transform.IsValidNow() ) <br>        {<br>  cout<<"IN SECOND IF"<<endl;<br>        position = transform.GetTranslation();<br>        std::cout << "Trackertool :" <br>                << trackerTool->GetTrackerToolIdentifier() <br>               
 << "\t\t  Position = (" << position[0]<br>                << "," << position[1] << "," << position[2]<br>                << ")" << std::endl;<br><br>        }<br>else{<br>     cout<<"IN ELSE"<<endl;<br> cout<<"Transform: "<< transform <<"\n"<<endl;<br>}<br>      }<br>}</span></div><div style='color: rgb(0, 0, 0); font-size: 13px; background-color: transparent; font-style: normal; font-family: "DejaVu Serif"'><span><br></span></div><div style='color: rgb(0, 0, 0); font-size: 13px; background-color: transparent; font-style: normal; font-family: "DejaVu Serif"'><span><br></span></div><div style='color: rgb(0, 0, 0); font-size: 13px; background-color: transparent; font-style: normal; font-family: "DejaVu Serif"'><span>Additional Informations:<br></span></div><div>I use OS-Linux (Fedora 16)</div><div>IGSTK version 5.0</div><div>The files "loggerOutput.txt" and
 execution-output of program "strace.txt" are in attachment</div><div><br></div><div>Thanks for any help.</div><div><br></div><div><br></div><div>Mit freundlichen Grüßen<br>Yusuf ÖZBEK</div></div></body></html>