File: auroraConfiguration.xml.in

package info (click to toggle)
igstk 4.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 38,980 kB
  • sloc: cpp: 86,267; xml: 96; makefile: 75; python: 38
file content (66 lines) | stat: -rw-r--r-- 3,177 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?xml version="1.0" encoding="ISO-8859-1"?>

<!-- Example of settings for NDI's Aurora:                         -->    
<!-- The tags are:                                                 -->
<!-- tracking_system: Root element, encompassing all of the data.  -->
<!--                  Must have the attribute 'type' set to        -->
<!--                  "aurora".                                    -->  
<!-- refresh_rate: Get data from the tracker at this rate.         --> 
<!-- serial_communication: Encompass all the communication         -->
<!--                       settings:                               -->
<!--  com_port, baud_rate, data_bits, parity, stop_bits,           -->
<!--  hand_shake                                                   --> 
<!--  The com_port value should be set to COM-1 as it appears in   -->
<!--  the computer settings (IGSTK starts counting at zero).       -->
<!-- tool: Has optional attribute 'usage' if set to "reference"    -->
<!--       this tool will be used as a dynamic reference frame.    -->
<!--       All transformation will be reported relative to this    -->
<!--       reference frame.                                        -->
<!-- name: Unique string by which the developer can later reference-->
<!--       the tool inside the program.                            -->
<!-- control_box_port: Control box port to which the tool is       -->
<!--                   connected.                                  -->
<!-- control_box_channel: Optional tag, required if the tool is a  -->
<!--                      5DOF tool. In this case two tools can    -->
<!--                      be connected to the same port with a     --> 
<!--                      splitter.                                -->
<!-- srom_file: Optional srom.                                     -->
<!-- calibration_file: Optional calibration file. XML file         -->
<!--                   containing the tool's calibration data      -->
<!--                                                               -->

<tracking_system type = "aurora">

    <refresh_rate> 20 </refresh_rate>

    <serial_communication> 
      <com_port>3</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 usage="reference">
      <name> reference frame </name> 
      <control_box_port>1</control_box_port>
      <control_box_channel>0</control_box_channel>
      <srom_file>@IGSTK_SOURCE_DIR@/Testing/Data/Input/needle5D.rom</srom_file>
    </tool>

    <tool>
      <name> bayonet probe </name> 
      <control_box_port>1</control_box_port>
      <control_box_channel>1</control_box_channel>
      <srom_file>@IGSTK_SOURCE_DIR@/Testing/Data/Input/needle5D.rom</srom_file>
      <calibration_file>@IGSTK_SOURCE_DIR@/Testing/Data/Input/bayonetCalibration.xml</calibration_file>
    </tool>

    <tool>
      <name> US probe </name> 
      <control_box_port>2</control_box_port>
      <calibration_file>@IGSTK_SOURCE_DIR@/Testing/Data/Input/USCalibration.xml</calibration_file>
    </tool>

</tracking_system>