HpeUsage.xid.xml 4.52 KB
<?xml version="1.0" encoding="UTF-8" ?>

<specification xmlns="https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd"
               xmlns:xid="https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xsi:schemaLocation="https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd"
               identity="HpeUsage.xid.xml">
    <title>HPE Usage Messages</title>
    <comment>This file the usage messages produced by the HPE.</comment>

    <import ref="https://xid.location.studio/Tensor/V1.0.0/Definitions.xid.xml" local="Definitions.xid.xml" />
    <import ref="https://xid.location.studio/HPE/V1.2/HpeCore.xid.xml" local="HpeCore.xid.xml" />
    <import ref="https://xid.location.studio/Tensor/V1.0.0/Logging.xid.xml" local="Logging.xid.xml" />
  
    <namespace name="HPE">
        <using namespace="Tensor"/>
        <using namespace="Logging"/>

      <!--Initialization Report Msg-->
      <struct name="InitializationReport" type="Logging.UsageMsg" rttkey='"tpf://hpe/initrpt"'>
        <comment>
          Message captures HPE initialization data.
        </comment>

        <elem name="state" type="StateInfo" multiplicity="1">
          <comment>
            State information.
          </comment>
        </elem>
      </struct>

      <!--Observation Report Msg-->
      <struct name="ObservationReport" type="Logging.UsageMsg" rttkey='"tpf://hpe/obsrpt"'>
        <comment>
          Message captures HPE observation data for playback purposes and debugging.  
        </comment>

        <elem name="observations" type="ObservationSet" multiplicity="1">
          <comment>
            Observation Data provided by the caller.
          </comment>
        </elem>

        <elem name="refdata" type="ReferenceDataSet" multiplicity="0..1">
          <comment>
            Contains reference data provided by the caller. 
          </comment>
        </elem>

        <elem name="directive" multiplicity="0..*" type="Tensor.NameValue">
          <comment>
            A set of directives to influence processing. Unknown directives are ignored.
          </comment>
        </elem>        
      </struct>

      <!--TaskReport Msg-->
      <struct name="TaskReport"  type="Logging.TaskReport" rttkey='"tpf://hpe/taskrpt"'>
        <comment>
          Message reports processing task result data.  Tasks are any computational elem
          within the HPE including calculators, converters, estimators.
        </comment>
        <elem name="status" type="ProcessingStatus" multiplicity="1">
          <comment>The result of the processor use, typically success or failure.</comment>
        </elem>
      </struct>

      <!--Position Report Msg-->
      <struct name="PositionReport" type="Logging.UsageMsg" rttkey='"tpf://hpe/posrpt"'>
        <comment>
          Usage message reports position information produced by HPE.
        </comment>
        <elem name="position" type="HPE.Spheroid" multiplicity="1">
          <comment>The 2D/3D position reported. </comment>
        </elem>
        <elem name="speed" type="float32" multiplicity="1">
          <tag name="unit" value="m/sec"/>
          <comment>The observed speed.  O if not known.</comment>
        </elem>
        <elem name="azimuth" type="float32" multiplicity="1">
            <tag name="unit" value="degrees"/>
            <comment>Azimuth heading of the device in degrees (true North)</comment>
        </elem>
        <elem name="veracity" type="byte" multiplicity="1">
          <comment>
            Veracity defines the validity of the measurement in the range between 0 and 100.
            A high score means the estimate is deemed valid and more reliable than a lower score.
            If no veracity scoring is performed, this will have a value of 255
          </comment>
        </elem>
        <elem name="confidence" type="float32" multiplicity="1">
          <comment>The estimate confidence.  Valid range is 0.0 to 1.0</comment>
        </elem>
        <elem name="calctype" type="string" multiplicity="1">
          <comment>
  	        Positioning calculation stereotype specifier (hybrid, cellular, slam, etc.).  If not defined set to "".
	        </comment>
        </elem>
        <elem name="obstype" type="ObservationType" multiplicity="1">
          <comment>The last observation type used to create the estimate.</comment>
        </elem>
      </struct>
      
    </namespace>
</specification>