<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Dear Agata,<br>
      <br>
      If all you want is to send the transformations from one tracking
      device (micron tracker or polaris) to another application using
      OpenIGTLink you do not need to write new code. Compile the
      OIGTLinkTrackerBroadcasting example and supply an xml
      configuration file. An example for the polaris vicra +
      explanations can be found on the wiki (<a
        class="moz-txt-link-freetext"
href="http://public.kitware.com/IGSTKWIKI/index.php/Using_OpenIGTLink_in_IGSTK">http://public.kitware.com/IGSTKWIKI/index.php/Using_OpenIGTLink_in_IGSTK</a>)
      . For the micron you will have to create a new file with the
      relevant configuration (see xml below, not tested).<br>
      <br>
      If you want to receive data from multiple tracking devices you
      will either have to change the OIGTLinkTrackerBroadcasting program
      or run multiple instances of the program, one per tracker.<br>
      <br>
      If your goal is to log the data to file then you can use the
      TrackerDataLogger example (minor change to broadcaster), and
      replace the tag send_to with save_to .<br>
        <br>
                      hope this helps<br>
                            Ziv<br>
      <br>
      <br>
      <?xml version="1.0" encoding="ISO-8859-1"?><br>
      <br>
      <!-- Example of settings for Claron Technologies
      MicronTracker2  : -->    <br>
      <!-- The tags
      are:                                                 --><br>
      <!-- tracking_system: Root element, encompassing all of the
      data.  --><br>
      <!--                  Must have the attribute 'type' set
      to        --><br>
      <!--                 
      "micron".                                    -->   <br>
      <!-- refresh_rate: Get data from the tracker at this
      rate.         --> <br>
      <!-- camera_calibration_directory: Where are the calibration
      files --><br>
      <!--                              for the tracking
      system.         --><br>
      <!-- initialization_file: Initial settings for
      tracker.            --><br>
      <!-- templates_directory: Directory containing the marker
      template --><br>
      <!--                     
      files.                                   --><br>
      <!-- tool: Has optional attribute 'usage' if set to
      "reference"    --><br>
      <!--       this tool will be used as a dynamic reference
      frame.    --><br>
      <!--       All transformation will be reported relative to
      this    --><br>
      <!--       reference
      frame.                                        --><br>
      <!-- marker_name: Marker template associated with the
      specific     --><br>
      <!--              tool. This is a template name found in
      the       --><br>
      <!--             
      templates_directory.                             --> <br>
      <!-- name: Unique string by which the developer can later
      reference--><br>
      <!--       the tool inside the
      program.                            --><br>
      <!-- calibration_file: Optional calibration file. XML
      file         --><br>
      <!--                   containing the tool's calibration
      data.     --><br>
      <!--                                                              

      --><br>
      <br>
      <tracking_system type = "micron"><br>
      <br>
          <refresh_rate> 20 </refresh_rate><br>
          <br>
          <camera_calibration_directory><br>
               C:/toolkits/IGSTK/SRC/Testing/Data/Input/CalibrationFiles<br>
          </camera_calibration_directory><br>
          <br>
          <initialization_file> <br>
           
      C:/toolkits/IGSTK/SRC/Testing/Data/Input/MicronTracker.ini     <br>
          </initialization_file><br>
          <br>
          <templates_directory> <br>
            C:/toolkits/IGSTK/SRC/Testing/Data/Input/Markers     <br>
          </templates_directory><br>
          <br>
          <tool><br>
            <name> bayonetProbe </name> <br>
            <marker_name> t1 </marker_name> <br>
           
<calibration_file>C:/toolkits/IGSTK/SRC/Testing/Data/Input/bayonetCalibration.xml</calibration_file><br>
            <send_to> 127.0.0.1:1003 </send_to> <br>
          </tool><br>
      <br>
          <tool><br>
            <name> usProbe </name> <br>
            <marker_name> t2 </marker_name> <br>
           
<calibration_file>C:/toolkits/IGSTK/SRC/Testing/Data/Input/USCalibration.xml</calibration_file><br>
            <send_to> 127.0.0.1:1001 </send_to><br>
            <send_to> 127.0.0.1:1002 </send_to> <br>
          </tool><br>
      <br>
      </tracking_system><br>
      <br>
      On 10/10/2012 9:15 AM, Agata Krasoń wrote:<br>
    </div>
    <blockquote
cite="mid:CAKKYitPNU3nAvHn57mLte=9eJ8Na43EgnmyTkRRkJiUFQVvkOw@mail.gmail.com"
      type="cite">Dear IGSTK - users,
      <div><br>
      </div>
      <div>
        <div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br
            class="Apple-interchange-newline">
          I.</div>
        <div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">I
          have a question about example�OpenIGTLinkTrackerBroadcasting.</div>
        <div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">I
          used igstk 4.2 & windows 7.�I have already built igstk
          with micron tracker flag.�</div>
        <div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br>
        </div>
        <div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">What
          I should do to receive and send from tracker ?</div>
        <div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Do
          You have some xml configuration file from micron HX 40 for few
          �marker tracking? �</div>
        <div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">We
          want to track a few markers�<span
            style="line-height:20.981481552124023px;font-family:Arial">concurrently
            ?</span></div>
        <div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">As
          I understand I don't need �changes anything in the example
          code. Is it clear ?</div>
        <div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br>
        </div>
        <div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">II.<br>
          If we want to track data�<span
            style="line-height:20.96666717529297px;font-family:Arial">concurrently
            from Polaris and Claron should we start 2 instances of
            brodcaster ?</span><br>
          <br>
          <br>
        </div>
        <div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">I
          would appreciate for any information.</div>
        <div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br>
        </div>
        <div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br>
        </div>
        <div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Best,</div>
      </div>
      <div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">agatte</div>
      <hr noshade="noshade" size="1">
      <p class="" avgcert""="" color="#000000" align="left">No virus
        found in this message.<br>
        Checked by AVG - <a moz-do-not-send="true"
          href="http://www.avg.com">www.avg.com</a><br>
        Version: 2012.0.2221 / Virus Database: 2441/5322 - Release Date:
        10/10/12</p>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <p class="" avgcert""="" color="#000000" align="left">No virus
        found in this message.<br>
        Checked by AVG - <a moz-do-not-send="true"
          href="http://www.avg.com">www.avg.com</a><br>
        Version: 2012.0.2221 / Virus Database: 2441/5322 - Release Date:
        10/10/12</p>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Ziv Yaniv, Ph.D.,
Principal Investigator,
The Sheikh Zayed Institute for Pediatric Surgical Innovation
Children's National Medical Center
6th Floor Main Hospital, Room M7740
111 Michigan Ave., N.W
Washington, D.C 20010

Phone: 202-476-1288
email: <a class="moz-txt-link-abbreviated" href="mailto:zyaniv@childrensnational.org">zyaniv@childrensnational.org</a>
web: <a class="moz-txt-link-freetext" href="http://isiswiki.georgetown.edu/zivy/">http://isiswiki.georgetown.edu/zivy/</a>
</pre>
  </body>
</html>