X3D Model Documentation: PredatorInWorld.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            <meta name='title' content='PredatorInWorld.x3d'/>
  6            <meta name='description' content='Contains 3 DIS-enabled Predator UAVs in a generic world.'/>
  7            <meta name='creator' content='Duane Davis, Naval Postgraduate School (included Aries model authored by Jeff Weekley, Naval Postgraduate School)'/>
  8            <meta name='created' content='27 August 2004'/>
  9            <meta name='modified' content='20 October 2019'/>
 10            <meta name='reference' content='AuvInBeachTanks.x3d'/>
 11            <meta name='subject' content='predator uav dis'/>
 12            <meta name='identifier' content='https://savage.nps.edu/Savage/Robots/UnmannedAirVehicles/PredatorInWorld.x3d'/>
 13            <meta name='generator' content='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/>
 14            <meta name='license' content='../../license.html'/>
 15       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top Index for DEF nodes: MISSIONPATHS, PICKABLES, TERRAINTRANSFORM, TRACKMATERIAL, UAV1, UAV2, UAV3, UAV4

Index for ExternProtoDeclare definitions: GridXZ, PredatorEspdu
-->
 16       <Scene>
 17            <WorldInfo title='PredatorInWorld.x3d'/>
 18            <ExternProtoDeclare name='PredatorEspdu' appinfo='Predator unmanned air vehicle (UAV)'   url=' "../../Robots/UnmannedAirVehicles/PredatorEspduPrototype.x3d#PredatorEspdu" "https://savage.nps.edu/Savage/Robots/UnmannedAirVehicles/PredatorEspduPrototype.x3d#AriesEspdu" "../../Robots/UnmannedAirVehicles/PredatorEspduPrototype.wrl#AriesEspdu" "https://savage.nps.edu/Savage/Robots/UnmannedAirVehicles/PredatorEspduPrototype.wrl#AriesEspdu" '>
 19                 <field name='marking' type='SFString' accessType='inputOutput'
                appinfo='default value PredatorUAV'/>
 20                 <field name='siteID' type='SFInt32' accessType='inputOutput'
                appinfo='default value 0'/>
 21                 <field name='applicationID' type='SFInt32' accessType='inputOutput'
                appinfo='default value 1'/>
 22                 <field name='entityID' type='SFInt32' accessType='inputOutput'
                appinfo='default value 30'/>
 23                 <field name='readInterval' type='SFTime' accessType='inputOutput'
                appinfo='default value 0.1'/>
 24                 <field name='writeInterval' type='SFTime' accessType='inputOutput'
                appinfo='default value 1.0'/>
 25                 <field name='networkMode' type='SFString' accessType='inputOutput'
                appinfo='Override default EspduTransform value so that listening occurs by default'/>
 26                 <field name='address' type='SFString' accessType='inputOutput'
                appinfo='default value 224.2.181.145'/>
 27                 <field name='port' type='SFInt32' accessType='inputOutput'
                appinfo='default value 62040'/>
 28                 <field name='translation' type='SFVec3f' accessType='inputOutput'
                appinfo='default value 0 0 0'/>
 29                 <field name='rotation' type='SFRotation' accessType='inputOutput'
                appinfo='default value 0 0 1 0'/>
 30            </ExternProtoDeclare>
 31            <ExternProtoDeclare name='GridXZ' appinfo='Line grid authoring tool to enable precise measurement of objects in 3D space - fixed position. Oriented along XZ plane size 20m by 20m.'   url=' "../../../Savage/Tools/Authoring/GridXZPrototype.x3d#GridXZ" "https://savage.nps.edu/Savage/Tools/Authoring/GridXZPrototype.x3d#GridXZ" "../../../Savage/Tools/Authoring/GridXZPrototype.wrl#GridXZ" "https://savage.nps.edu/Savage/Tools/Authoring/GridXZPrototype.wrl#GridXZ" '>
 32                 <field name='description' type='SFString' accessType='initializeOnly'
                appinfo='Purpose of this grid displayed for overall Viewpoint'/>
 33                 <field name='labelColor' type='SFColor' accessType='inputOutput'
                appinfo='color for descriptive labels at grid edges and corners'/>
 34                 <field name='scale' type='SFVec3f' accessType='inputOutput'
                appinfo='default unscaled size: 10m by 10m'/>
 35                 <field name='originLabel' type='MFString' accessType='inputOutput'/>
 36                 <field name='WestLabel' type='MFString' accessType='inputOutput'
                appinfo='-X axis'/>
 37                 <field name='NorthWestLabel' type='MFString' accessType='inputOutput'/>
 38                 <field name='NorthLabel' type='MFString' accessType='inputOutput'
                appinfo='-Z axis'/>
 39                 <field name='NorthEastLabel' type='MFString' accessType='inputOutput'/>
 40                 <field name='EastLabel' type='MFString' accessType='inputOutput'
                appinfo='+X axis'/>
 41                 <field name='SouthEastLabel' type='MFString' accessType='inputOutput'/>
 42                 <field name='SouthLabel' type='MFString' accessType='inputOutput'
                appinfo='+Z axis'/>
 43                 <field name='SouthWestLabel' type='MFString' accessType='inputOutput'/>
 44                 <field name='labelsOffset' type='SFVec3f' accessType='inputOutput'
                appinfo='label location offset (in meters) to improve readability'/>
 45            </ExternProtoDeclare>
 46            <!-- ==================== -->
 47            <ProtoInstance name='GridXZ'>
 48                 <fieldValue name='description' value='GridXZ for AUV in Open Ocean'/>
 49                 <fieldValue name='labelColor' value='1 1 1'/>
 50                 <fieldValue name='scale' value='50 50 50'/>
 51                 <fieldValue name='originLabel' value='"origin" "0 0 0"'/>
 52                 <fieldValue name='WestLabel' value='"West" "-Y"'/>
 53                 <fieldValue name='NorthWestLabel' value='"500 0 -500"'/>
 54                 <fieldValue name='NorthLabel' value='"North" "+X"'/>
 55                 <fieldValue name='NorthEastLabel' value='"500 0 500"'/>
 56                 <fieldValue name='EastLabel' value='"East" "+Y"'/>
 57                 <fieldValue name='SouthEastLabel' value='"-500 0 500"'/>
 58                 <fieldValue name='SouthLabel' value='"South" "-X"'/>
 59                 <fieldValue name='SouthWestLabel' value='"-500 0 -500"'/>
 60            </ProtoInstance>
 61            <Group DEF='PICKABLES'>
 62                 <Group>
 63                      <ProtoInstance name='PredatorEspdu' DEF='UAV1'>
 64                           <fieldValue name='marking' value='UAV-1'/>
 65                           <fieldValue name='siteID' value='0'/>
 66                           <fieldValue name='applicationID' value='1'/>
 67                           <fieldValue name='entityID' value='30'/>
 68                           <fieldValue name='readInterval' value='0.25'/>
 69                           <fieldValue name='translation' value='750 -2 750'/>
 70                           <fieldValue name='networkMode' value='networkReader'/>
 71                      </ProtoInstance>
 72                      <ProtoInstance name='PredatorEspdu' DEF='UAV2'>
 73                           <fieldValue name='marking' value='UAV-2'/>
 74                           <fieldValue name='siteID' value='0'/>
 75                           <fieldValue name='applicationID' value='1'/>
 76                           <fieldValue name='entityID' value='31'/>
 77                           <fieldValue name='readInterval' value='0.25'/>
 78                           <fieldValue name='translation' value='750 -4 750'/>
 79                      </ProtoInstance>
 80                      <ProtoInstance name='PredatorEspdu' DEF='UAV3'>
 81                           <fieldValue name='marking' value='UAV-3'/>
 82                           <fieldValue name='siteID' value='0'/>
 83                           <fieldValue name='applicationID' value='1'/>
 84                           <fieldValue name='entityID' value='32'/>
 85                           <fieldValue name='readInterval' value='0.25'/>
 86                           <fieldValue name='translation' value='750 -6 750'/>
 87                      </ProtoInstance>
 88                      <ProtoInstance name='PredatorEspdu' DEF='UAV4'>
 89                           <fieldValue name='marking' value='UAV-4'/>
 90                           <fieldValue name='siteID' value='0'/>
 91                           <fieldValue name='applicationID' value='1'/>
 92                           <fieldValue name='entityID' value='33'/>
 93                           <fieldValue name='readInterval' value='0.25'/>
 94                           <fieldValue name='translation' value='750 -8 750'/>
 95                      </ProtoInstance>
 96                 </Group>
 97                 <Transform DEF='TERRAINTRANSFORM' translation='-15000 0 -15000'>
 98                      <Shape>
 99                           <Appearance>
100                                <Material diffuseColor='0.5 0.5 0.0' emissiveColor='.1 .1 0'/>
101                                <ImageTexture   url=' "../../../Savage/AuvWorkbench/OperatingAreas/dirt4.gif " "https://savage.nps.edu/Savage/AuvWorkbench/OperatingAreas/dirt4.gif " '/>
102                           </Appearance>
103                           <ElevationGrid creaseAngle='3.14' xDimension='11' xSpacing='3000' zDimension='11' zSpacing='3000' height='-75 -100 -75 -75 -100 -125 -150 -125 -100 -75 -50 -75 -100 -75 -75 -100 -125 -150 -125 -100 -75 -50 -50 -75 -50 -50 -75 -100 -125 -100 -75 -50 -25 -75 -100 -75 -75 -100 -125 -150 -125 -100 -75 -50 -100 -125 -100 -100 -125 -150 -175 -150 -125 -100 -75 -75 -100 -75 -75 -100 -125 -150 -125 -100 -75 -50 -75 -100 -75 -75 -100 -125 -150 -125 -100 -75 -50 -50 -75 -50 -50 -75 -100 -125 -100 -75 -50 -25 -75 -100 -75 -75 -100 -125 -150 -125 -100 -75 -50 -100 -125 -100 -100 -125 -150 -175 -150 -125 -100 -75 -75 -100 -75 -75 -100 -125 -150 -125 -100 -75 -50'>
104                                <TextureCoordinate point='1 1 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 9 1 10 1 11 2 1 2 2 2 3 2 4 2 5 2 6 2 7 2 8 2 9 2 10 2 11 3 1 3 2 3 3 3 4 3 5 3 6 3 7 3 8 3 9 3 10 3 11 4 1 4 2 4 3 4 4 4 5 4 6 4 7 4 8 4 9 4 10 4 11 5 1 5 2 5 3 5 4 5 5 5 6 5 7 5 8 5 9 5 10 5 11 6 1 6 2 6 3 6 4 6 5 6 6 6 7 6 8 6 9 6 10 6 11 7 1 7 2 7 3 7 4 7 5 7 6 7 7 7 8 7 9 7 10 7 11 8 1 8 2 8 3 8 4 8 5 8 6 8 7 8 8 8 9 8 10 8 11 9 1 9 2 9 3 9 4 9 5 9 6 9 7 9 8 9 9 9 10 9 11 10 1 10 2 10 3 10 4 10 5 10 6 10 7 10 8 10 9 10 10 10 11 11 1 11 2 11 3 11 4 11 5 11 6 11 7 11 8 11 9 11 10 11 11'/>
105                           </ElevationGrid>
106                      </Shape>
107                 </Transform>
108            </Group>
109            <Group DEF='MISSIONPATHS'>
110                 <Shape>
111 
                    <!-- Appearance TRACKMATERIAL is a DEF node that has 3 USE nodes: USE_1, USE_2, USE_3 -->
                    <Appearance DEF='TRACKMATERIAL'>
112                           <Material emissiveColor='1 1 1'/>
113                      </Appearance>
114                      <IndexedLineSet coordIndex='0 1 2 3 4 5 6 7 8 9 10 1 0'>
115                           <Coordinate point='0 0 0 -100 -45 -100 -500 -45 -100 -500 -45 -200 -100 -45 -200 -100 -45 -300 -500 -45 -300 -500 -45 -400 -100 -45 -400 -100 -45 -500 -500 -45 -500'/>
116                      </IndexedLineSet>
117                 </Shape>
118                 <Shape>
119                      <Appearance USE='TRACKMATERIAL'/>
120                      <IndexedLineSet coordIndex='0 1 2 3 4 5 6 7 8 9 10 1 0'>
121                           <Coordinate point='0 0 0 100 -45 -100 500 -45 -100 500 -45 -200 100 -45 -200 100 -45 -300 500 -45 -300 500 -45 -400 100 -45 -400 100 -45 -500 500 -45 -500'/>
122                      </IndexedLineSet>
123                 </Shape>
124                 <Shape>
125                      <Appearance USE='TRACKMATERIAL'/>
126                      <IndexedLineSet coordIndex='0 1 2 3 4 5 6 7 8 9 10 1 0'>
127                           <Coordinate point='0 0 0 100 -45 100 500 -45 100 500 -45 200 100 -45 200 100 -45 300 500 -45 300 500 -45 400 100 -45 400 100 -45 500 500 -45 500'/>
128                      </IndexedLineSet>
129                 </Shape>
130                 <Shape>
131                      <Appearance USE='TRACKMATERIAL'/>
132                      <IndexedLineSet coordIndex='0 1 2 3 4 5 6 7 8 9 10 1 0'>
133                           <Coordinate point='0 0 0 -100 -45 100 -500 -45 100 -500 -45 200 -100 -45 200 -100 -45 300 -500 -45 300 -500 -45 400 -100 -45 400 -100 -45 500 -500 -45 500'/>
134                      </IndexedLineSet>
135                 </Shape>
136            </Group>
137       </Scene>
138  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top Index for DEF nodes: MISSIONPATHS, PICKABLES, TERRAINTRANSFORM, TRACKMATERIAL, UAV1, UAV2, UAV3, UAV4

Index for ExternProtoDeclare definitions: GridXZ, PredatorEspdu
-->
X3D Tooltips element index: Appearance, Coordinate, ElevationGrid, ExternProtoDeclare, field, fieldValue, Group, head, ImageTexture, IndexedLineSet, Material, meta, ProtoInstance, Scene, Shape, TextureCoordinate, 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/PredatorInWorldIndex.html -->
<!-- Version control at
https://gitlab.nps.edu/Savage/Savage/Robots/UnmannedAirVehicles/PredatorInWorld.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. -->