X3D Model Documentation: AuvInBeachTanks.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='AuvInBeachTanks.x3d'/>
  6            <meta name='description' content='Example showing DIS EspduTransform interface for physics-animated AUV entities. Example use: mil.navy.nps.auv.AuvPduGenerator.java generates ESPDUs for this scene.'/>
  7            <meta name='creator' content='Don Brutzman and Duane Davis'/>
  8            <meta name='translator' content='Miguel Ayala'/>
  9            <meta name='created' content='5 September 2000'/>
 10            <meta name='translated' content='16 February 2002'/>
 11            <meta name='modified' content='20 October 2019'/>
 12            <meta name='reference' content='http://faculty.nps.edu/brutzman/vrtp/demo/auv/AuvInBeachTanks.wrl'/>
 13            <meta name='reference' content='http://faculty.nps.edu/brutzman/vrtp/mil/navy/nps/dis/EspduTransformEXAMPLE.wrl'/>
 14            <meta name='subject' content='NPS Beach Tanks Autonomous Underwater Vehicle (AUV)'/>
 15            <meta name='identifier' content='https://savage.nps.edu/Savage/AuvWorkbench/OperatingAreas/AuvInBeachTanks.x3d'/>
 16            <meta name='generator' content='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/>
 17            <meta name='license' content='../../license.html'/>
 18       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top Index for DEF nodes: AUV-1, AUV-2, AUV-3, AUV-4, AUV-5, AUV-6, PICKABLES

Index for ExternProtoDeclare definitions: AriesEspdu, GridXZ
-->
 19       <Scene>
 20            <ExternProtoDeclare name='AriesEspdu' appinfo='Aries unmanned underwater vehicle with IEEE DIS EspduTransform wrapper bundled together in a single prototype'   url=' "../../Robots/UnmannedUnderwaterVehicles/AriesEspduPrototype.x3d#AriesEspdu" "https://savage.nps.edu/Savage/Robots/UnmannedUnderwaterVehicles/AriesEspduPrototype.x3d#AriesEspdu" "../../Robots/UnmannedUnderwaterVehicles/AriesEspduPrototype.wrl#AriesEspdu" "https://savage.nps.edu/Savage/Robots/UnmannedUnderwaterVehicles/AriesEspduPrototype.wrl#AriesEspdu" '>
 21                 <field name='siteID' type='SFInt32' accessType='inputOutput'/>
 22                 <field name='applicationID' type='SFInt32' accessType='inputOutput'/>
 23                 <field name='entityID' type='SFInt32' accessType='inputOutput'/>
 24                 <field name='readInterval' type='SFTime' accessType='inputOutput'
                appinfo='network read periodicity'/>
 25                 <field name='writeInterval' type='SFTime' accessType='inputOutput'
                appinfo='network write periodicity'/>
 26                 <field name='networkMode' type='SFString' accessType='inputOutput'
                appinfo='Override default EspduTransform value so that listening occurs by default'/>
 27                 <field name='address' type='SFString' accessType='inputOutput'
                appinfo='multicast address'/>
 28                 <field name='port' type='SFInt32' accessType='inputOutput'
                appinfo='multicast port'/>
 29                 <field name='translation' type='SFVec3f' accessType='inputOutput'
                appinfo='initial position prior to first ESPDU receipt'/>
 30                 <field name='rotation' type='SFRotation' accessType='inputOutput'
                appinfo='initial orientation prior to first ESPDU receipt'/>
 31                 <field name='traceNodeEnabled' type='SFInt32' accessType='inputOutput'
                appinfo='Set to 0 to activate EspduTransformTrace'/>
 32                 <field name='hullColor' type='SFColor' accessType='inputOutput'
                appinfo='color for this Aries instance'/>
 33                 <field name='hullName' type='SFString' accessType='inputOutput'
                appinfo='up to 11 characters maps to EspduTransform marking'/>
 34            </ExternProtoDeclare>
 35            <!-- ==================== -->
 36            <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" "../../Tools/Authoring/GridXZPrototype.x3d#GridXZ" "https://savage.nps.edu/Savage/Tools/Authoring/GridXZPrototype.x3d#GridXZ" "../../Tools/Authoring/GridXZPrototype.wrl#GridXZ" "../../../Savage/Tools/Authoring/GridXZPrototype.wrl#GridXZ" "https://savage.nps.edu/Savage/Tools/Authoring/GridXZPrototype.wrl#GridXZ" '>
 37                 <field name='description' type='SFString' accessType='initializeOnly'
                appinfo='Purpose of this grid displayed for overall Viewpoint'/>
 38                 <field name='labelColor' type='SFColor' accessType='inputOutput'
                appinfo='color for descriptive labels at grid edges and corners'/>
 39                 <field name='scale' type='SFVec3f' accessType='inputOutput'
                appinfo='default unscaled size: 10m by 10m'/>
 40                 <field name='originLabel' type='MFString' accessType='inputOutput'/>
 41                 <field name='WestLabel' type='MFString' accessType='inputOutput'
                appinfo='-X axis'/>
 42                 <field name='NorthWestLabel' type='MFString' accessType='inputOutput'/>
 43                 <field name='NorthLabel' type='MFString' accessType='inputOutput'
                appinfo='-Z axis'/>
 44                 <field name='NorthEastLabel' type='MFString' accessType='inputOutput'/>
 45                 <field name='EastLabel' type='MFString' accessType='inputOutput'
                appinfo='+X axis'/>
 46                 <field name='SouthEastLabel' type='MFString' accessType='inputOutput'/>
 47                 <field name='SouthLabel' type='MFString' accessType='inputOutput'
                appinfo='+Z axis'/>
 48                 <field name='SouthWestLabel' type='MFString' accessType='inputOutput'/>
 49                 <field name='labelsOffset' type='SFVec3f' accessType='inputOutput'
                appinfo='label location offset (in meters) to improve readability'/>
 50            </ExternProtoDeclare>
 51            <!-- ==================== -->
 52            <ProtoInstance name='GridXZ'>
 53                 <fieldValue name='description' value='GridXZ for AUV Beach Tanks'/>
 54                 <fieldValue name='labelColor' value='1 1 1'/>
 55                 <fieldValue name='scale' value='1 1 1'/>
 56                 <fieldValue name='originLabel' value='"origin" "0 0 0"'/>
 57                 <fieldValue name='WestLabel' value='"West" "-Z"'/>
 58                 <fieldValue name='NorthWestLabel' value='"10 0 -10"'/>
 59                 <fieldValue name='NorthLabel' value='"North" "+X"'/>
 60                 <fieldValue name='NorthEastLabel' value='"10 0 10"'/>
 61                 <fieldValue name='EastLabel' value='"East" "+Z"'/>
 62                 <fieldValue name='SouthEastLabel' value='"-10 0 10"'/>
 63                 <fieldValue name='SouthLabel' value='"South" "-X"'/>
 64                 <fieldValue name='SouthWestLabel' value='"-10 0 -10"'/>
 65            </ProtoInstance>
 66            <!-- ==================== -->
 67            <!-- Example uses of EspduTransform node to view three remote DIS-capable entities -->
 68            <NavigationInfo speed='2' visibilityLimit='2000'/>
 69            <WorldInfo title='AUV examples of EspduTransform use'/>
 70            <Group DEF='PICKABLES'>
 71                 <Group>
 72                      <!-- Inline file chiseled & gzipped due to extensive CosmoWorlds warnings -->
 73                      <Inline   url=' "BeachTanks.x3d" "https://savage.nps.edu/Savage/AuvWorkbench/OperatingAreas/BeachTanks.x3d" "BeachTanks.wrl" "https://savage.nps.edu/Savage/AuvWorkbench/OperatingAreas/BeachTanks.wrl" '/>
 74                      <ProtoInstance name='AriesEspdu' DEF='AUV-1'>
 75                           <fieldValue name='hullName' value='AUVWB AUV 1'/>
 76                           <fieldValue name='entityID' value='0'/>
 77                           <fieldValue name='readInterval' value='0.25'/>
 78                           <fieldValue name='translation' value='-100 -100 5'/>
 79                           <fieldValue name='traceNodeEnabled' value='-1'/>
 80                           <fieldValue name='networkMode' value='networkReader'/>
 81                      </ProtoInstance>
 82                      <ProtoInstance name='AriesEspdu' DEF='AUV-2'>
 83                           <fieldValue name='translation' value='-100 -105 5'/>
 84                           <fieldValue name='networkMode' value='networkReader'/>
 85                           <fieldValue name='readInterval' value='0.25'/>
 86                           <fieldValue name='hullName' value='AUVWB AUV 2'/>
 87                           <fieldValue name='entityID' value='1'/>
 88                           <fieldValue name='traceNodeEnabled' value='-1'/>
 89                      </ProtoInstance>
 90                      <ProtoInstance name='AriesEspdu' DEF='AUV-3'>
 91                           <fieldValue name='hullName' value='AUVWB AUV 3'/>
 92                           <fieldValue name='entityID' value='2'/>
 93                           <fieldValue name='readInterval' value='0.25'/>
 94                           <fieldValue name='translation' value='-100 -110 5'/>
 95                           <fieldValue name='traceNodeEnabled' value='-1'/>
 96                           <fieldValue name='networkMode' value='networkReader'/>
 97                      </ProtoInstance>
 98                      <ProtoInstance name='AriesEspdu' DEF='AUV-4'>
 99                           <fieldValue name='hullName' value='AUVWB AUV 4'/>
100                           <fieldValue name='entityID' value='3'/>
101                           <fieldValue name='readInterval' value='0.25'/>
102                           <fieldValue name='translation' value='-100 -115 5'/>
103                           <fieldValue name='traceNodeEnabled' value='-1'/>
104                           <fieldValue name='networkMode' value='networkReader'/>
105                      </ProtoInstance>
106                      <ProtoInstance name='AriesEspdu' DEF='AUV-5'>
107                           <fieldValue name='hullName' value='AUVWB AUV 5'/>
108                           <fieldValue name='entityID' value='4'/>
109                           <fieldValue name='readInterval' value='0.25'/>
110                           <fieldValue name='translation' value='-100 -120 5'/>
111                           <fieldValue name='traceNodeEnabled' value='-1'/>
112                           <fieldValue name='networkMode' value='networkReader'/>
113                      </ProtoInstance>
114                      <ProtoInstance name='AriesEspdu' DEF='AUV-6'>
115                           <fieldValue name='hullName' value='AUVWB AUV 6'/>
116                           <fieldValue name='entityID' value='5'/>
117                           <fieldValue name='readInterval' value='0.25'/>
118                           <fieldValue name='translation' value='-100 -125 5'/>
119                           <fieldValue name='traceNodeEnabled' value='-1'/>
120                           <fieldValue name='networkMode' value='networkReader'/>
121                      </ProtoInstance>
122                 </Group>
123            </Group>
124       </Scene>
125  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top Index for DEF nodes: AUV-1, AUV-2, AUV-3, AUV-4, AUV-5, AUV-6, PICKABLES

Index for ExternProtoDeclare definitions: AriesEspdu, GridXZ
-->
X3D Tooltips element index: ExternProtoDeclare, field, fieldValue, Group, head, Inline, meta, NavigationInfo, ProtoInstance, Scene, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

-->
<!-- Online at
https://savage.nps.edu/Savage/AuvWorkbench/OperatingAreas/AuvInBeachTanksIndex.html -->
<!-- Version control at
https://gitlab.nps.edu/Savage/Savage/AuvWorkbench/OperatingAreas/AuvInBeachTanks.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. -->