Difference between revisions of "IGT:ToolKit/Connect-IGSTK-Slicer"

From NAMIC Wiki
Jump to: navigation, search
Line 7: Line 7:
  
 
==Customize the tracker==
 
==Customize the tracker==
 +
Any IGSTK supported tracking device is configured by an xml file. Here is an example for NDI aurora system:
 +
<?xml version="1.0" encoding="ISO-8859-1"?>
 +
<tracking_system type = "aurora">
 +
    <refresh_rate> 20 </refresh_rate>
 +
    <serial_communication>
 +
      <com_port>5</com_port>
 +
      <baud_rate>115200</baud_rate>
 +
      <data_bits>8</data_bits>
 +
      <parity>N</parity>
 +
      <stop_bits>1</stop_bits>
 +
      <hand_shake>0</hand_shake>
 +
    </serial_communication>
 +
    <tool>
 +
      <name> reference frame </name>
 +
      <control_box_port>1</control_box_port>
 +
      <control_box_channel>0</control_box_channel>
 +
      <send_to>134.174.54.211:18944</send_to>
 +
    </tool>
 +
</tracking_system
  
 
==Run OpenIGTLinkTrackerBroadcasting==
 
==Run OpenIGTLinkTrackerBroadcasting==

Revision as of 02:46, 21 May 2009

Home < IGT:ToolKit < Connect-IGSTK-Slicer

Get Slicer ready

  1. Bring up Slicer
  2. Go to OpenIGTLink IF module (Modules -> OpenIGTLink IF)
  3. Connectors -> Add -> Server -> Active

Now Slicer is ready to receive tracking data at the default port 18944.

Customize the tracker

Any IGSTK supported tracking device is configured by an xml file. Here is an example for NDI aurora system:

<?xml version="1.0" encoding="ISO-8859-1"?>
<tracking_system type = "aurora">
   <refresh_rate> 20 </refresh_rate>
   <serial_communication> 
     <com_port>5</com_port>
     <baud_rate>115200</baud_rate> 
     <data_bits>8</data_bits>
     <parity>N</parity> 
     <stop_bits>1</stop_bits> 
     <hand_shake>0</hand_shake> 
   </serial_communication>
   <tool>
     <name> reference frame </name> 
     <control_box_port>1</control_box_port>
     <control_box_channel>0</control_box_channel>
     <send_to>134.174.54.211:18944</send_to> 
   </tool>
</tracking_system

Run OpenIGTLinkTrackerBroadcasting