X3D Model Documentation: AriesEspduExample.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='AriesEspduExample.x3d'/>
  7            <meta name='description' content='Extern prototype declaration for a DIS enabled Aries 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 Aries AUV'/>
 13            <meta name='identifier' content='https://savage.nps.edu/Savage/Robots/UnmannedUnderwaterVehicles/AriesEspduExample.x3d'/>
 14            <meta name='generator' content='Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html'/>
 15            <meta name='generator' content='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/>
 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: AriesEspdu
-->
 18       <Scene>
 19            <WorldInfo title='AriesEspduExample.x3d'/>
 20            <ExternProtoDeclare name='AriesEspdu' appinfo='Aries unmanned underwater vehicle with IEEE DIS EspduTransform wrapper bundled together in a single prototype'   url=' "../../../Savage/Robots/UnmannedUnderwaterVehicles/AriesEspduPrototype.x3d#AriesEspdu" "https://savage.nps.edu/Savage/Robots/UnmannedUnderwaterVehicles/AriesEspduPrototype.x3d#AriesEspdu" "../../../Savage/Robots/UnmannedUnderwaterVehicles/AriesEspduPrototype.wrl#AriesEspdu" "https://savage.nps.edu/Savage/Robots/UnmannedUnderwaterVehicles/AriesEspduPrototype.wrl#AriesEspdu" '>
 21                 <field name='hullName' type='SFString' accessType='inputOutput'
                appinfo='up to 11 characters maps to EspduTransform marking'/>
 22                 <field name='hullColor' type='SFColor' accessType='inputOutput'
                appinfo='hull color for this UUV instance'/>
 23                 <field name='planeColor' type='SFColor' accessType='inputOutput'
                appinfo='plane color for this UUV instance'/>
 24                 <field name='translation' type='SFVec3f' accessType='inputOutput'
                appinfo='initial position prior to first ESPDU receipt'/>
 25                 <field name='rotation' type='SFRotation' accessType='inputOutput'
                appinfo='initial orientation prior to first ESPDU receipt'/>
 26                 <field name='siteID' type='SFInt32' accessType='inputOutput'/>
 27                 <field name='applicationID' type='SFInt32' accessType='inputOutput'/>
 28                 <field name='entityID' type='SFInt32' accessType='inputOutput'/>
 29                 <field name='readInterval' type='SFTime' accessType='inputOutput'
                appinfo='network read periodicity'/>
 30                 <field name='writeInterval' type='SFTime' accessType='inputOutput'
                appinfo='network write periodicity'/>
 31                 <field name='networkMode' type='SFString' accessType='inputOutput'
                appinfo='Override default EspduTransform value so that listening occurs by default'/>
 32                 <field name='address' type='SFString' accessType='inputOutput'
                appinfo='multicast address'/>
 33                 <field name='port' type='SFInt32' accessType='inputOutput'
                appinfo='multicast port'/>
 34                 <field name='traceNodeEnabled' type='SFInt32' accessType='inputOutput'
                appinfo='Set to 0 to activate EspduTransformTrace'/>
 35            </ExternProtoDeclare>
 36            <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'/>
 37            <Group>
 38                 <ProtoInstance name='AriesEspdu'>
 39                      <fieldValue name='networkMode' value='networkReader'/>
 40                      <fieldValue name='traceNodeEnabled' value='0'/>
 41                      <fieldValue name='hullName' value='Aries UUV'/>
 42                      <fieldValue name='hullColor' value='0.6 0.6 0.8'/>
 43                      <fieldValue name='planeColor' value='.1 .1 .8'/>
 44                      <fieldValue name='address' value='239.255.5.8'/>
 45                      <fieldValue name='port' value='62040'/>
 46                 </ProtoInstance>
 47                 <Transform translation='-20 -10 -20'>
 48                      <Shape>
 49                           <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'>
 50                                <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'/>
 51                           </ElevationGrid>
 52                           <Appearance>
 53                                <Material diffuseColor='0 0 0' transparency='0.25'/>
 54                           </Appearance>
 55                      </Shape>
 56                 </Transform>
 57            </Group>
 58       </Scene>
 59  </X3D>
<!--

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

Index for ExternProtoDeclare definition: AriesEspdu
-->
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/UnmannedUnderwaterVehicles/AriesEspduExampleIndex.html -->
<!-- Version control at
https://gitlab.nps.edu/Savage/Savage/Robots/UnmannedUnderwaterVehicles/AriesEspduExample.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. -->