DockingModeTest.xml

Page auto-generated from XML file.

Failure

The generated TethysL source could not be parsed, likely due to source XML not being well-formed.

Below is the compile error at the TethysL level, as well as the source XML.

The TethysL file name shown below does not necessarily indicate the file exists, but hints about the actual corresponding .xml file.

Syntax error:
   --> lrauv-application/Missions/Demo/DockingModeTest.xml:22:5
    | 
 18 | 
 19 |   timeout duration=P15M
 20 | 
 21 |   aggregate Test {
 22 |     behavior Estimation:TrackAcousticContact {
    |     ^^^^^^^^
 23 |       run in parallel
 24 |       set Estimation:TrackAcousticContact.contactLabelSetting = TransponderCode
 25 |       set Estimation:TrackAcousticContact.numberOfSamplesSetting = NumberOfPings
 26 |       set Estimation:TrackAcousticContact.updatePeriodSetting = TrackingUpdatePeriod
    | 
Unexpected: `behavior`
One of the following is possible:
  """
  arguments
  output
  run
  test_code
 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
mission DockingModeTest {
  arguments {
    TransponderCode = Dock:Dock.transponderCode
      """
      Transponder Address.
      """

    TrackingUpdatePeriod = 2.5 second
      """
      How long to wait between acoustic queries.
      """

    NumberOfPings = 1 count
      """
      Number of pings requested each time.
      """
  }

  timeout duration=P15M

  aggregate Test {
    behavior Estimation:TrackAcousticContact {
      run in parallel
      set Estimation:TrackAcousticContact.contactLabelSetting = TransponderCode
      set Estimation:TrackAcousticContact.numberOfSamplesSetting = NumberOfPings
      set Estimation:TrackAcousticContact.updatePeriodSetting = TrackingUpdatePeriod
    }

    behavior Dock:LineCapture {
      run in sequence
    }

    behavior Guidance:Wait {
      run in sequence
      set Guidance:Wait.duration = 60 second
    }
  }
}
 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="UTF-8"?>
<Mission xmlns="Tethys"
       xmlns:Sensor="Tethys/Sensor" 
       xmlns:Units="Tethys/Units"
       xmlns:Estimation="Tethys/Estimation"
       xmlns:Guidance="Tethys/Guidance"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="Tethys http://okeanids.mbari.org/tethys/Xml/Tethys.xsd
                           Tethys/Control http://okeanids.mbari.org/tethys/Xml/Control.xsd
                           Tethys/Guidance http://okeanids.mbari.org/tethys/Xml/Guidance.xsd
                           Tethys/Sensor http://okeanids.mbari.org/tethys/Xml/Sensor.xsd
                           Tethys/Units http://okeanids.mbari.org/tethys/Xml/Units.xsd
                           Tethys/Universal http://okeanids.mbari.org/tethys/Xml/Universal.xsd"
       Id="DockingModeTest">

    <DefineArg Name="TransponderCode"><Description>
        Transponder Address.
    </Description><Dock:Dock.transponderCode/></DefineArg>

    <DefineArg Name="TrackingUpdatePeriod"><Description>
        How long to wait between acoustic queries.
    </Description><Units:second/><Value>2.5</Value></DefineArg>

    <DefineArg Name="NumberOfPings"><Description>
        Number of pings requested each time.
    </Description><Units:count/><Value>1</Value></DefineArg>


    <Timeout Duration="P15M"/>

    <Aggregate Id="Test">

    <Estimation:TrackAcousticContact>
        <Parallel/>
        <Setting><Estimation:TrackAcousticContact.contactLabelSetting/><Arg Name="TransponderCode"/></Setting>
        <Setting><Estimation:TrackAcousticContact.numberOfSamplesSetting/><Arg Name="NumberOfPings"/></Setting>
        <Setting><Estimation:TrackAcousticContact.updatePeriodSetting/><Arg Name="TrackingUpdatePeriod"/></Setting>
    </Estimation:TrackAcousticContact>

                <Dock:LineCapture>
                    <Sequence/>
                </Dock:LineCapture>


        <Guidance:Wait>
            <Sequence/>
            <Setting><Guidance:Wait.duration/><Units:second/><Value>60</Value></Setting>
        </Guidance:Wait>

    </Aggregate>

</Mission>