<?xml version="1.0" encoding="UTF-8"?>
<Mission xmlns="Tethys"
       xmlns:Control="Tethys/Control"
       xmlns:Guidance="Tethys/Guidance" 
       xmlns:Sensor="Tethys/Sensor" 
       xmlns:Units="Tethys/Units"
       xmlns:Universal="Tethys/Universal"
       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="DVL_modetest">

    <Timeout Duration="P15M"/>

    <Aggregate Id="Wait">

        <When>
            <Called/>
        </When>

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

    </Aggregate>

    <Aggregate Id="NQ1">

        <Sequence/>

        <ReadData Strategy="MinError">
            <Universal:height_above_sea_floor/>
        </ReadData>

        <Call RefId="Wait" PriorityHere="true"/>

    </Aggregate>

    <Aggregate Id="DVL_OFF">

        <Sequence/>

        <Call RefId="Wait" PriorityHere="true"/>

    </Aggregate>

</Mission>
