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='titlecontent='AuvInBeachTanks.x3d'/>
  6            <meta name='descriptioncontent='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='creatorcontent='Don Brutzman and Duane Davis'/>
  8            <meta name='translatorcontent='Miguel Ayala'/>
  9            <meta name='createdcontent='5 September 2000'/>
 10            <meta name='translatedcontent='16 February 2002'/>
 11            <meta name='modifiedcontent='20 October 2019'/>
 12            <meta name='referencecontent='http://faculty.nps.edu/brutzman/vrtp/demo/auv/AuvInBeachTanks.wrl'/>
 13            <meta name='referencecontent='http://faculty.nps.edu/brutzman/vrtp/mil/navy/nps/dis/EspduTransformEXAMPLE.wrl'/>
 14            <meta name='subjectcontent='NPS Beach Tanks Autonomous Underwater Vehicle (AUV)'/>
 15            <meta name='identifiercontent='https://savage.nps.edu/Savage/AuvWorkbench/OperatingAreas/AuvInBeachTanks.x3d'/>
 16            <meta name='generatorcontent='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/>
 17            <meta name='licensecontent='../../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='AriesEspduappinfo='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='siteIDtype='SFInt32accessType='inputOutput'/>
 22                 <field name='applicationIDtype='SFInt32accessType='inputOutput'/>
 23                 <field name='entityIDtype='SFInt32accessType='inputOutput'/>
 24                 <field name='readIntervaltype='SFTimeaccessType='inputOutput'
                appinfo='network read periodicity'/>
 25                 <field name='writeIntervaltype='SFTimeaccessType='inputOutput'
                appinfo='network write periodicity'/>
 26                 <field name='networkModetype='SFStringaccessType='inputOutput'
                appinfo='Override default EspduTransform value so that listening occurs by default'/>
 27                 <field name='addresstype='SFStringaccessType='inputOutput'
                appinfo='multicast address'/>
 28                 <field name='porttype='SFInt32accessType='inputOutput'
                appinfo='multicast port'/>
 29                 <field name='translationtype='SFVec3faccessType='inputOutput'
                appinfo='initial position prior to first ESPDU receipt'/>
 30                 <field name='rotationtype='SFRotationaccessType='inputOutput'
                appinfo='initial orientation prior to first ESPDU receipt'/>
 31                 <field name='traceNodeEnabledtype='SFInt32accessType='inputOutput'
                appinfo='Set to 0 to activate EspduTransformTrace'/>
 32                 <field name='hullColortype='SFColoraccessType='inputOutput'
                appinfo='color for this Aries instance'/>
 33                 <field name='hullNametype='SFStringaccessType='inputOutput'
                appinfo='up to 11 characters maps to EspduTransform marking'/>
 34            </ExternProtoDeclare>
 35            <!-- ==================== -->
 36            <ExternProtoDeclare name='GridXZappinfo='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='descriptiontype='SFStringaccessType='initializeOnly'
                appinfo='Purpose of this grid displayed for overall Viewpoint'/>
 38                 <field name='labelColortype='SFColoraccessType='inputOutput'
                appinfo='color for descriptive labels at grid edges and corners'/>
 39                 <field name='scaletype='SFVec3faccessType='inputOutput'
                appinfo='default unscaled size: 10m by 10m'/>
 40                 <field name='originLabeltype='MFStringaccessType='inputOutput'/>
 41                 <field name='WestLabeltype='MFStringaccessType='inputOutput'
                appinfo='-X axis'/>
 42                 <field name='NorthWestLabeltype='MFStringaccessType='inputOutput'/>
 43                 <field name='NorthLabeltype='MFStringaccessType='inputOutput'
                appinfo='-Z axis'/>
 44                 <field name='NorthEastLabeltype='MFStringaccessType='inputOutput'/>
 45                 <field name='EastLabeltype='MFStringaccessType='inputOutput'
                appinfo='+X axis'/>
 46                 <field name='SouthEastLabeltype='MFStringaccessType='inputOutput'/>
 47                 <field name='SouthLabeltype='MFStringaccessType='inputOutput'
                appinfo='+Z axis'/>
 48                 <field name='SouthWestLabeltype='MFStringaccessType='inputOutput'/>
 49                 <field name='labelsOffsettype='SFVec3faccessType='inputOutput'
                appinfo='label location offset (in meters) to improve readability'/>
 50            </ExternProtoDeclare>
 51            <!-- ==================== -->
 52            <ProtoInstance name='GridXZ'>
 53                 <fieldValue name='descriptionvalue='GridXZ for AUV Beach Tanks'/>
 54                 <fieldValue name='labelColorvalue='1 1 1'/>
 55                 <fieldValue name='scalevalue='1 1 1'/>
 56                 <fieldValue name='originLabelvalue='"origin" "0 0 0"'/>
 57                 <fieldValue name='WestLabelvalue='"West" "-Z"'/>
 58                 <fieldValue name='NorthWestLabelvalue='"10 0 -10"'/>
 59                 <fieldValue name='NorthLabelvalue='"North" "+X"'/>
 60                 <fieldValue name='NorthEastLabelvalue='"10 0 10"'/>
 61                 <fieldValue name='EastLabelvalue='"East" "+Z"'/>
 62                 <fieldValue name='SouthEastLabelvalue='"-10 0 10"'/>
 63                 <fieldValue name='SouthLabelvalue='"South" "-X"'/>
 64                 <fieldValue name='SouthWestLabelvalue='"-10 0 -10"'/>
 65            </ProtoInstance>
 66            <!-- ==================== -->
 67            <!-- Example uses of EspduTransform node to view three remote DIS-capable entities -->
 68            <NavigationInfo speed='2visibilityLimit='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='AriesEspduDEF='AUV-1'>
 75                           <fieldValue name='hullNamevalue='AUVWB AUV 1'/>
 76                           <fieldValue name='entityIDvalue='0'/>
 77                           <fieldValue name='readIntervalvalue='0.25'/>
 78                           <fieldValue name='translationvalue='-100 -100 5'/>
 79                           <fieldValue name='traceNodeEnabledvalue='-1'/>
 80                           <fieldValue name='networkModevalue='networkReader'/>
 81                      </ProtoInstance>
 82                      <ProtoInstance name='AriesEspduDEF='AUV-2'>
 83                           <fieldValue name='translationvalue='-100 -105 5'/>
 84                           <fieldValue name='networkModevalue='networkReader'/>
 85                           <fieldValue name='readIntervalvalue='0.25'/>
 86                           <fieldValue name='hullNamevalue='AUVWB AUV 2'/>
 87                           <fieldValue name='entityIDvalue='1'/>
 88                           <fieldValue name='traceNodeEnabledvalue='-1'/>
 89                      </ProtoInstance>
 90                      <ProtoInstance name='AriesEspduDEF='AUV-3'>
 91                           <fieldValue name='hullNamevalue='AUVWB AUV 3'/>
 92                           <fieldValue name='entityIDvalue='2'/>
 93                           <fieldValue name='readIntervalvalue='0.25'/>
 94                           <fieldValue name='translationvalue='-100 -110 5'/>
 95                           <fieldValue name='traceNodeEnabledvalue='-1'/>
 96                           <fieldValue name='networkModevalue='networkReader'/>
 97                      </ProtoInstance>
 98                      <ProtoInstance name='AriesEspduDEF='AUV-4'>
 99                           <fieldValue name='hullNamevalue='AUVWB AUV 4'/>
100                           <fieldValue name='entityIDvalue='3'/>
101                           <fieldValue name='readIntervalvalue='0.25'/>
102                           <fieldValue name='translationvalue='-100 -115 5'/>
103                           <fieldValue name='traceNodeEnabledvalue='-1'/>
104                           <fieldValue name='networkModevalue='networkReader'/>
105                      </ProtoInstance>
106                      <ProtoInstance name='AriesEspduDEF='AUV-5'>
107                           <fieldValue name='hullNamevalue='AUVWB AUV 5'/>
108                           <fieldValue name='entityIDvalue='4'/>
109                           <fieldValue name='readIntervalvalue='0.25'/>
110                           <fieldValue name='translationvalue='-100 -120 5'/>
111                           <fieldValue name='traceNodeEnabledvalue='-1'/>
112                           <fieldValue name='networkModevalue='networkReader'/>
113                      </ProtoInstance>
114                      <ProtoInstance name='AriesEspduDEF='AUV-6'>
115                           <fieldValue name='hullNamevalue='AUVWB AUV 6'/>
116                           <fieldValue name='entityIDvalue='5'/>
117                           <fieldValue name='readIntervalvalue='0.25'/>
118                           <fieldValue name='translationvalue='-100 -125 5'/>
119                           <fieldValue name='traceNodeEnabledvalue='-1'/>
120                           <fieldValue name='networkModevalue='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, accessType and type, XML data types, 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 legend: X3D terminology <X3dNode  DEF='idNamefield='value'/> matches XML terminology <XmlElement  DEF='idNameattribute='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. -->