File: ascensionConfiguration.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 (52 lines) | stat: -rw-r--r-- 2,273 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
<?xml version="1.0" encoding="ISO-8859-1"?>
 
 <!-- Example of settings for Ascension's 3D Guidance MedSAFE:     -->    
<!-- The tags are:                                                 -->
<!-- tracking_system: Root element, encompassing all of the data.  -->
<!--                  Must have the attribute 'type' set to        -->
<!--                  "ascension".                                 -->  
<!-- 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.                            -->
<!-- bird_port: Control box port to which the tool is              -->
<!--                   connected.                                  -->
<!-- calibration_file: Optional calibration file. XML file         -->
<!--                   containing the tool's calibration data      -->
<!--                                                               -->

<tracking_system type = "ascension">

    <refresh_rate> 60 </refresh_rate>

    <serial_communication> 
      <com_port>4</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> probe 1 </name>
      <bird_port>1</bird_port>
      <calibration_file> probe1Calibration.xml </calibration_file> 
    </tool>
    
    <tool>
      <name> probe 2 </name> 
      <bird_port>2</bird_port>
    </tool>

</tracking_system>