<html><body><div style="color:#000; background-color:#fff; font-family:tahoma, new york, times, serif;font-size:10pt"><div id="yiv1081076314"><div><div style='color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 10pt; font-family: "tahoma", "new york", "times", serif'><div id="yiv1081076314"><div id="yiv1081076314yui_3_7_2_16_1359721483315_89"><div style='color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 10pt; font-family: "tahoma", "new york", "times", serif' class="yiv1081076314yui_3_7_2_16_1359721483315_49" id="yiv1081076314yui_3_7_2_16_1359721483315_88"><div id="yiv1081076314yui_3_7_2_17_1359715331065_49"><span id="yiv1081076314yui_3_7_2_17_1359715331065_92">Hi, Özgür</span></div><div><span><br></span></div><div><span>Sorry for late response.<br></span></div><div style='color: rgb(0, 0, 0); font-size: 13px; background-color: transparent; font-style: normal; font-family: "DejaVu Serif"'
 id="yiv1081076314yui_3_7_2_17_1359715331065_103" class="yiv1081076314yui_3_7_2_16_1359721483315_50"><span id="yiv1081076314yui_3_7_2_17_1359715331065_105"><br></span></div><div id="yiv1081076314yui_3_7_2_17_1359715331065_97" style='color: rgb(0, 0, 0); font-size: 13px; background-color: transparent; font-style: normal; font-family: "DejaVu Serif"' class="yiv1081076314yui_3_7_2_16_1359721483315_51"><span id="yiv1081076314yui_3_7_2_17_1359715331065_95">I have the OPTOTRAK System values in file "</span><span id="yiv1081076314yui_3_7_2_17_1359715331065_95">optotrak.ini</span><span id="yiv1081076314yui_3_7_2_17_1359715331065_95">" ​​changed but unfortunately it has no effect for the error and I have no idea what it is and what will happen next.<br></span></div><div class="yiv1081076314yui_3_7_2_16_1359721483315_51" style='color: rgb(0, 0, 0); font-size: 13px; background-color: transparent; font-style: normal; font-family: "DejaVu
 Serif"'><span><br></span></div><div class="yiv1081076314yui_3_7_2_16_1359721483315_51 yui_3_7_2_16_1359721831355_54" style='color:rgb(0, 0, 0);font-size:13px;background-color:transparent;font-style:normal;font-family:"DejaVu Serif";'><span>I run the test </span><span>following:</span><span><br></span></div><div class="yiv1081076314yui_3_7_2_16_1359721483315_51" style='color: rgb(0, 0, 0); font-size: 13px; background-color: transparent; font-style: normal; font-family: "DejaVu Serif"' id="yiv1081076314yui_3_7_2_16_1359721483315_99"><span id="yiv1081076314yui_3_7_2_16_1359721483315_96">./igstkTests igstkNDICertusTrackerTest /home/yusuf/workspace/NDICertusTrackerTests/loggerOutput.txt /usr/NDIoapi/ndigital/rigid/smart_01.rig /usr/NDIoapi/ndigital/settings/optotrak.ini <br><br></span></div><div class="yiv1081076314yui_3_7_2_16_1359721483315_51" style='color: rgb(0, 0, 0); font-size: 13px; background-color: transparent; font-style: normal; font-family:
 "DejaVu Serif"'><span id="yiv1081076314yui_3_7_2_16_1359721483315_93">Actually my optotrak,.ini file look like this:<br></span></div><div class="yiv1081076314yui_3_7_2_16_1359721483315_51 yui_3_7_2_16_1359721831355_55" style='color:rgb(0, 0, 0);font-size:13px;background-color:transparent;font-style:normal;font-family:"DejaVu Serif";'><span><br></span></div><div class="yiv1081076314yui_3_7_2_16_1359721483315_51 yui_3_7_2_16_1359721831355_55" style='color:rgb(0, 0, 0);font-size:13px;background-color:transparent;font-style:normal;font-family:"DejaVu Serif";'><span>[TLD Info]<br>realtime =drealtim.tld<br>admin    =dadmin.tld<br>sensor   =dsensor.tld<br>oscope   =oscope2.tld<br><br>[OPTOTRAK System]<br>NumberOfMarkers         =4<br>FrameFrequency          =30.000000<br>MarkerFrequency         =3500.000000<br>DutyCycle               =0.500000<br>StroberVoltage          =8.000000<br>CollectionTime          =30.000000<br>ExternalTrigger        
 =FALSE<br>ExternalClock           =FALSE<br>StreamData              =1<br>Buffer3dFlag            =FALSE<br>ExternalSyncFlag        =FALSE<br>ExternalTriggerFlag     =FALSE<br>MarkerType              =1<br>WavelengthType          =0<br>ModelType               =0<br>ResetTimeout           =1500<br>PropagationTimeout       =5000<br>#LinkDriver              = /usr/NDIoapi/ndigital/etherlink.so<br>LinkDriver                = /usr/NDIoapi/ndigital/usblink.so<br><br># Update the LinkDriver path according to your install.<br># If using usb interface use usblink.so<br># If using scsi interface use scsilink.so<br># if using pci interface use pcilink.so<br><br>[SCSI]<br>ScsiPath          = /dev/sg0<br># If using scsilink update the ScsiPath according to your install.<br><br>[Ethernet Options]<br>Server Address=sscu-03040<br><br># Server address is the IP address for the Optotrak<br># System Control Unit. Edit the server address<br># according to your network.<br><br>Control Port    = 9999<br>Data Port       =
 10000<br>Data Timeout    = 10000<br>Reset Delay    = 10000<br></span></div><div class="yiv1081076314yui_3_7_2_16_1359721483315_51 yui_3_7_2_16_1359721831355_56" style='color:rgb(0, 0, 0);font-size:13px;background-color:transparent;font-style:normal;font-family:"DejaVu Serif";'><span><br></span></div><div class="yiv1081076314yui_3_7_2_16_1359721483315_51 yui_3_7_2_16_1359721831355_56" style='color:rgb(0, 0, 0);font-size:13px;background-color:transparent;font-style:normal;font-family:"DejaVu Serif";'><span>As I said with the same settings/configurations, the sample programs already works.<br></span></div><div class="yiv1081076314yui_3_7_2_16_1359721483315_51" style='color: rgb(0, 0, 0); font-size: 13px; background-color: transparent; font-style: normal; font-family: "DejaVu Serif"' id="yiv1081076314yui_3_7_2_16_1359721483315_87"><span id="yiv1081076314yui_3_7_2_16_1359721483315_85"><br></span></div><div id="yiv1081076314yui_3_7_2_17_1359715331065_51">Thank
 you!</div><div><br></div><div><br></div><div>Mit freundlichen Grüßen<br id="yiv1081076314yui_3_7_2_17_1359715331065_54">Yusuf ÖZBEK<br id="yiv1081076314yui_3_7_2_17_1359715331065_57"></div>  <div style='font-size: 10pt; font-family: "tahoma", "new york", "times", serif' id="yiv1081076314yui_3_7_2_17_1359715331065_60" class="yiv1081076314yui_3_7_2_17_1359715331065_59 yiv1081076314yui_3_7_2_16_1359721483315_52"> <div style='font-size: 12pt; font-family: "times new roman", "new york", "times", serif' class="yiv1081076314yui_3_7_2_17_1359715331065_69 yiv1081076314yui_3_7_2_16_1359721483315_53"> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">Von:</span></b> Özgür Güler
 <ozgur.guler.phd@gmail.com><br> <b><span style="font-weight:bold;">An:</span></b> Yusuf OEZBEK <nasil122002@yahoo.de> <br><b><span style="font-weight:bold;">CC:</span></b> "igstk-users@public.kitware.com" <igstk-users@public.kitware.com> <br> <b><span style="font-weight:bold;">Gesendet:</span></b> 2:37 Dienstag, 15.Januar 2013<br> <b><span style="font-weight:bold;">Betreff:</span></b> Re: [IGSTK-Users] optotrak igstkNDICertusTrackerTest GetTransform problem<br> </font> </div> <br><div id="yiv1081076314"><div dir="ltr"><div>Hi Yusuf, <br>
please use a lower frequency for tracking and let me know if this helped.</div><div style="">It seems your transformation, retrieved from the tracker, expires before it gets rendered.</div><div style=""><br></div><div style="">Best,</div><div style="">
Ozgur</div><div><br></div><div><br></div>
<div class="yiv1081076314gmail_quote">On Jan 11, 2013 10:37 AM, "Yusuf OEZBEK" <<a rel="nofollow" ymailto="mailto:nasil122002@yahoo.de" target="_blank" href="mailto:nasil122002@yahoo.de">nasil122002@yahoo.de</a>> wrote:<br><blockquote class="yiv1081076314gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div><div style='font-size: 10pt; font-family: "tahoma", "new york", "times", serif' class="yiv1081076314yui_3_7_2_17_1359715331065_77 yiv1081076314yui_3_7_2_16_1359721483315_65"><div><span>Hi,<br></span></div><div style="font-style:normal;font-size:13px;background-color:transparent;"><span><br>

</span></div><div style="font-style:normal;font-size:13px;background-color:transparent;"><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="font-style:normal;font-size:13px;background-color:transparent;"><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="font-style:normal;font-size:13px;background-color:transparent;"><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="font-style:normal;font-size:13px;background-color:transparent;"><span><br></span></div><div style="font-style:normal;font-size:13px;background-color:transparent;">

<span>What can be the reason for this?<br></span></div><div style="font-style:normal;font-size:13px;background-color:transparent;"><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="font-style:normal;font-size:13px;background-color:transparent;">

<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="font-style:normal;font-size:13px;background-color:transparent;"><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="font-style:normal;font-size:13px;background-color:transparent;">

<span><br></span></div><div style="font-style:normal;font-size:13px;background-color:transparent;"><span><br></span></div><div style="font-style:normal;font-size:13px;background-color:transparent;">

<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></div><br>_______________________________________________<br>


Powered by <a rel="nofollow" target="_blank" href="http://www.kitware.com/">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a rel="nofollow" target="_blank" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a rel="nofollow" target="_blank" href="http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users">http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users</a><br></blockquote></div>
</div>
</div><br><br> </div> </div>  </div></div></div></div></div></div></div></body></html>