<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.1//EN" "https://www.web3d.org/specifications/x3d-3.1.dtd">
<X3D profile='Immersive' version='3.1' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.1.xsd'>
  <head>
    <component level='1' name='DIS'/>
    <meta content='PredatorEspduPrototype.x3d' name='title'/>
    <meta content='Prototype for a DIS enabled Predator UAV for inclusion in a VRML Scene.' name='description'/>
    <meta content='Duane Davis' name='creator'/>
    <meta content='Vrml97ToX3dNist' name='translator'/>
    <meta content='27 August 2004' name='created'/>
    <meta content='20 October 2019' name='modified'/>
    <meta content='../UnmannedUnderwaterVehicles/AriesEspduPrototype.x3d' name='reference'/>
    <meta content='Distributed Interactive Simulation DIS ESPDU Predator UAV' name='subject'/>
    <meta content='https://www.web3d.org/x3d/content/examples/Savage/Robots/UnmannedAirVehicles/PredatorEspduPrototype.x3d' name='identifier'/>
    <meta content='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit' name='generator'/>
    <meta content='../../license.html' name='license'/>
  </head>
  <Scene>
    <WorldInfo title='PredatorEspduPrototype.x3d'/>
    <ExternProtoDeclare appinfo='Predator unmanned air vehicle (UAV)' name='Predator' url='"../../../Savage/Robots/UnmannedAirVehicles/PredatorPrototype.x3d#Predator" "https://www.web3d.org/x3d/content/examples/Savage/Robots/UnmannedAirVehicles/PredatorPrototype.x3d#Predator" "../../../Savage/Robots/UnmannedAirVehicles/PredatorPrototype.wrl#Predator" "https://www.web3d.org/x3d/content/examples/Savage/Robots/UnmannedAirVehicles/PredatorPrototype.wrl#Predator"'>
      <field accessType='inputOutput' appinfo='default value 0 0 0' name='translation' type='SFVec3f'/>
      <field accessType='inputOutput' appinfo='default value 0 0 1 0' name='rotation' type='SFRotation'/>
    </ExternProtoDeclare>
    <ProtoDeclare appinfo='Predator unmanned air vehicle (UAV) with DIS ESPDU network connections' name='PredatorEspdu'>
      <ProtoInterface>
        <field accessType='inputOutput' appinfo='default value PredatorUAV' name='marking' type='SFString' value='PredatorUAV'/>
        <field accessType='inputOutput' appinfo='default value 0' name='siteID' type='SFInt32' value='0'/>
        <field accessType='inputOutput' appinfo='default value 1' name='applicationID' type='SFInt32' value='1'/>
        <field accessType='inputOutput' appinfo='default value 30' name='entityID' type='SFInt32' value='30'/>
        <field accessType='inputOutput' appinfo='default value 0.1' name='readInterval' type='SFTime' value='0.1'/>
        <field accessType='inputOutput' appinfo='default value 1.0' name='writeInterval' type='SFTime' value='1.0'/>
        <field accessType='inputOutput' appinfo='Override default EspduTransform value so that listening occurs by default' name='networkMode' type='SFString' value='networkReader'/>
        <field accessType='inputOutput' appinfo='default value 224.2.181.145' name='address' type='SFString' value='224.2.181.145'/>
        <field accessType='inputOutput' appinfo='default value 62040' name='port' type='SFInt32' value='62040'/>
        <field accessType='inputOutput' appinfo='default value 0 0 0' name='translation' type='SFVec3f' value='0 0 0'/>
        <field accessType='inputOutput' appinfo='default value 0 0 1 0' name='rotation' type='SFRotation' value='0 0 1 0'/>
      </ProtoInterface>
      <ProtoBody>
        <!-- ============================= -->
        <Group>
          <EspduTransform DEF='ET'>
            <IS>
              <connect nodeField='marking' protoField='marking'/>
              <connect nodeField='siteID' protoField='siteID'/>
              <connect nodeField='applicationID' protoField='applicationID'/>
              <connect nodeField='entityID' protoField='entityID'/>
              <connect nodeField='readInterval' protoField='readInterval'/>
              <connect nodeField='writeInterval' protoField='writeInterval'/>
              <connect nodeField='networkMode' protoField='networkMode'/>
              <connect nodeField='address' protoField='address'/>
              <connect nodeField='port' protoField='port'/>
              <connect nodeField='translation' protoField='translation'/>
              <connect nodeField='rotation' protoField='rotation'/>
            </IS>
            <!-- applet 0 1 2, auv dynamics 36 1 1 -->
            <ProtoInstance name='Predator'/>
          </EspduTransform>
        </Group>
      </ProtoBody>
    </ProtoDeclare>
    <Viewpoint description='Predator Espdu Prototype'/>
    <Group>
      <ProtoInstance name='PredatorEspdu'>
        <fieldValue name='networkMode' value='networkReader'/>
        <fieldValue name='translation' value='0 0.4 0'/>
      </ProtoInstance>
    </Group>
    <Anchor description='PredatorEspduPrototype' parameter='"target=_blank"' url='"PredatorEspduExample.x3d" "https://www.web3d.org/x3d/content/examples/Savage/Robots/UnmannedUnderwaterVehicles/PredatorEspduExample.x3d" "PredatorEspduExample.wrl" "https://www.web3d.org/x3d/content/examples/Savage/Robots/UnmannedUnderwaterVehicles/PredatorEspduExample.wrl"'>
      <Shape>
        <Appearance>
          <Material diffuseColor='0 1 1' emissiveColor='0 1 1'/>
        </Appearance>
        <Text string='"PredatorEspduPrototype" "is a prototype definition file" "" "To see an example scene" "click on any text and view" "PredatorEspduExample"'>
          <FontStyle justify='"MIDDLE" "MIDDLE"'/>
        </Text>
      </Shape>
    </Anchor>
  </Scene>
</X3D>