X3D Model Documentation: AuvInBeachTanks.x3d

  1  <?xml version="1.0" encoding="UTF-8"?>
  2 
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://www.web3d.org/specifications/x3d-3.0.dtd">
  3  <X3D profile='Immersive' version='3.0'  xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.0.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='info' content='AUV in tank 2 is currently operational with AUV Workbench.'/>
 13            <meta name='reference' content='http://faculty.nps.edu/brutzman/vrtp/demo/auv/AuvInBeachTanks.wrl'/>
 14            <meta name='reference' content='http://faculty.nps.edu/brutzman/vrtp/mil/navy/nps/dis/EspduTransformEXAMPLE.wrl'/>
 15            <meta name='subject' content='NPS Beach Tanks Autonomous Underwater Vehicle (AUV)'/>
 16            <meta name='identifier' content='https://savage.nps.edu/Savage/Robots/UnmannedUnderwaterVehicles/AuvInBeachTanks.x3d'/>
 17            <meta name='generator' content='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/>
 18            <meta name='license' content='../../license.html'/>
 19       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top Index for DEF nodes: DynamicsAuvEspduTransform, NPSHeartBeatAUVEspduTransform

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

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top Index for DEF nodes: DynamicsAuvEspduTransform, NPSHeartBeatAUVEspduTransform

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/Robots/UnmannedUnderwaterVehicles/AuvInBeachTanksIndex.html -->
<!-- Version control at
https://gitlab.nps.edu/Savage/Savage/Robots/UnmannedUnderwaterVehicles/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. -->