X3D Model Documentation: PredatorEspduExample.x3d

  1  <?xml version="1.0" encoding="UTF-8"?>
  2  <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.1//EN" "https://www.web3d.org/specifications/x3d-3.1.dtd">
  3  <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'>
  4       <head>
  5            <component level='1' name='DIS'/>
  6            <meta name='title' content='PredatorEspduExample.x3d'/>
  7            <meta name='description' content='Extern prototype declaration for a DIS enabled Predator AUV for cut and paste into a VRML scene. Also includes an example instantiation.'/>
  8            <meta name='creator' content='Duane Davis'/>
  9            <meta name='translator' content='Vrml97ToX3dNist'/>
 10            <meta name='created' content='24 October 2003'/>
 11            <meta name='modified' content='20 October 2019'/>
 12            <meta name='subject' content='Distributed Interactive Simulation DIS ESPDU Predator AUV'/>
 13            <meta name='reference' content='https://savage.nps.edu/Savage/Robots/UnmannedUnderwaterVehicles/AriesEspduExample.x3d'/>
 14            <meta name='identifier' content='https://savage.nps.edu/Savage/Robots/UnmannedAirVehicles/PredatorEspduExample.x3d'/>
 15            <meta name='generator' content='Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html'/>
 16            <meta name='license' content='../../license.html'/>
 17       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top Index for DEF node: SimpleCheckboard

Index for ExternProtoDeclare definition: PredatorEspdu
-->
 18       <Scene>
 19            <WorldInfo title='PredatorEspduExample.x3d'/>
 20            <ExternProtoDeclare name='PredatorEspdu'   url=' "../../../Savage/Robots/UnmannedAirVehicles/PredatorEspduPrototype.x3d#PredatorEspdu" "../../../Savage/Robots/UnmannedAirVehicles/PredatorEspduPrototype.wrl#PredatorEspdu" "https://savage.nps.edu/Savage/Robots/UnmannedAirVehicles/PredatorEspduPrototype.x3d#PredatorEspdu" "https://savage.nps.edu/Savage/Robots/UnmannedAirVehicles/PredatorEspduPrototype.wrl#PredatorEspdu" '>
 21                 <field name='marking' type='SFString' accessType='inputOutput'/>
 22                 <field name='translation' type='SFVec3f' accessType='inputOutput'/>
 23                 <field name='rotation' type='SFRotation' accessType='inputOutput'/>
 24                 <field name='siteID' type='SFInt32' accessType='inputOutput'/>
 25                 <field name='applicationID' type='SFInt32' accessType='inputOutput'/>
 26                 <field name='entityID' type='SFInt32' accessType='inputOutput'/>
 27                 <field name='readInterval' type='SFTime' accessType='inputOutput'/>
 28                 <field name='writeInterval' type='SFTime' accessType='inputOutput'/>
 29                 <field name='networkMode' type='SFString' accessType='inputOutput'/>
 30                 <field name='address' type='SFString' accessType='inputOutput'/>
 31                 <field name='port' type='SFInt32' accessType='inputOutput'/>
 32            </ExternProtoDeclare>
 33            <Background groundAngle='1.57' groundColor='.05 .05 .15 .05 .05 .15' skyAngle='.05 1.4 1.55 1.56 1.57' skyColor='1 1 .5 .4 .4 .6 .4 .4 .6 .5 .5 .75 .6 .6 .8 .8 .8 .8'/>
 34            <Group>
 35                 <ProtoInstance name='PredatorEspdu'>
 36                      <fieldValue name='networkMode' value='networkReader'/>
 37                      <fieldValue name='marking' value='Predator UAV 0'/>
 38                      <fieldValue name='rotation' value='0 1 0 -0.5'/>
 39                 </ProtoInstance>
 40                 <Transform translation='-20 -10 -20'>
 41                      <Shape>
 42                           <ElevationGrid DEF='SimpleCheckboard' colorPerVertex='false' solid='false' xDimension='5' xSpacing='10' zDimension='5' zSpacing='10' height='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0'>
 43                                <Color color='0 0.6 0.2 0 0.3 0.1 0 0.6 0.2 0 0.3 0.1 0 0.3 0.1 0 0.6 0.2 0 0.3 0.1 0 0.6 0.2 0 0.6 0.2 0 0.3 0.1 0 0.6 0.2 0 0.3 0.1 0 0.3 0.1 0 0.6 0.2 0 0.3 0.1 0 0.6 0.2'/>
 44                           </ElevationGrid>
 45                           <Appearance>
 46                                <Material diffuseColor='0 0 0' transparency='0.25'/>
 47                           </Appearance>
 48                      </Shape>
 49                 </Transform>
 50            </Group>
 51       </Scene>
 52  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top Index for DEF node: SimpleCheckboard

Index for ExternProtoDeclare definition: PredatorEspdu
-->
X3D Tooltips element index: Appearance, Background, Color, component, ElevationGrid, ExternProtoDeclare, field, fieldValue, Group, head, Material, meta, ProtoInstance, Scene, Shape, Transform, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

-->
<!-- Online at
https://savage.nps.edu/Savage/Robots/UnmannedAirVehicles/PredatorEspduExampleIndex.html -->
<!-- Version control at
https://gitlab.nps.edu/Savage/Savage/Robots/UnmannedAirVehicles/PredatorEspduExample.x3d -->

<!-- Color-coding legend: X3D terminology <X3dNode  DEF='idName' field='value'/> matches XML terminology <XmlElement  DEF='idName' attribute='value'/>
(Light-blue background: event-based behavior node or statement) (Grey background inside box: inserted documentation) (Magenta background: X3D Extensibility)
    <ProtoInstance name='ProtoName'> <field name='fieldName'/> </ProtoInstance> -->

to top <!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->