Difference between revisions of "IGT:ToolKit/Connect-IGSTK-Slicer"
From NAMIC Wiki
Line 28: | Line 28: | ||
You need pay a close attention for these two fields:<br> | You need pay a close attention for these two fields:<br> | ||
− | '''<com_port>5</com_port>''': This is the serial port number you connect Aurora to your computer. | + | '''<com_port>5</com_port>''': This is the serial port number you connect Aurora to your computer.<br> |
'''<send_to>134.174.54.211:18944</send_to>''': The ip address of the computer running Slicer and the port number Slicer to receive tracking data. Use '''localhost:18944''' is both IGSTK and Slicer run on the same computer. | '''<send_to>134.174.54.211:18944</send_to>''': The ip address of the computer running Slicer and the port number Slicer to receive tracking data. Use '''localhost:18944''' is both IGSTK and Slicer run on the same computer. | ||
==Run OpenIGTLinkTrackerBroadcasting== | ==Run OpenIGTLinkTrackerBroadcasting== |
Revision as of 02:52, 21 May 2009
Home < IGT:ToolKit < Connect-IGSTK-SlicerGet Slicer ready
- Bring up Slicer
- Go to OpenIGTLink IF module (Modules -> OpenIGTLink IF)
- 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
You need pay a close attention for these two fields:
<com_port>5</com_port>: This is the serial port number you connect Aurora to your computer.
<send_to>134.174.54.211:18944</send_to>: The ip address of the computer running Slicer and the port number Slicer to receive tracking data. Use localhost:18944 is both IGSTK and Slicer run on the same computer.