{ "X3D": {
    "encoding":"UTF-8",
    "@profile":"Immersive",
    "@version":"3.0",
    "@xsd:noNamespaceSchemaLocation":"https://www.web3d.org/specifications/x3d-3.0.xsd",
    "JSON schema":"https://www.web3d.org/specifications/x3d-4.0-JSONSchema.autogenerated.json",
    "head": {
        "meta": [
          {
            "@name":"title",
            "@content":"AuvInBeachTanks.x3d"
          },
          {
            "@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."
          },
          {
            "@name":"creator",
            "@content":"Don Brutzman and Duane Davis"
          },
          {
            "@name":"translator",
            "@content":"Miguel Ayala"
          },
          {
            "@name":"created",
            "@content":"5 September 2000"
          },
          {
            "@name":"translated",
            "@content":"16 February 2002"
          },
          {
            "@name":"modified",
            "@content":"20 October 2019"
          },
          {
            "@name":"info",
            "@content":"AUV in tank 2 is currently operational with AUV Workbench."
          },
          {
            "@name":"reference",
            "@content":"http://faculty.nps.edu/brutzman/vrtp/demo/auv/AuvInBeachTanks.wrl"
          },
          {
            "@name":"reference",
            "@content":"http://faculty.nps.edu/brutzman/vrtp/mil/navy/nps/dis/EspduTransformEXAMPLE.wrl"
          },
          {
            "@name":"subject",
            "@content":"NPS Beach Tanks Autonomous Underwater Vehicle (AUV)"
          },
          {
            "@name":"identifier",
            "@content":"https://savage.nps.edu/Savage/Robots/UnmannedUnderwaterVehicles/AuvInBeachTanks.x3d"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit"
          },
          {
            "@name":"license",
            "@content":"../../license.html"
          },
          {
            "@name":"translated",
            "@content":"04 January 2025"
          },
          {
            "@name":"generator",
            "@content":"X3dToJson.xslt, https://www.web3d.org/x3d/stylesheets/X3dToJson.html"
          },
          {
            "@name":"reference",
            "@content":"X3D JSON encoding: https://www.web3d.org/wiki/index.php/X3D_JSON_Encoding"
          }
        ]
    },
    "Scene": {
        "-children":[
          { "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"],
              "field": [
                {
                  "@name":"siteID",
                  "@accessType":"inputOutput",
                  "@type":"SFInt32"
                },
                {
                  "@name":"applicationID",
                  "@accessType":"inputOutput",
                  "@type":"SFInt32"
                },
                {
                  "@name":"entityID",
                  "@accessType":"inputOutput",
                  "@type":"SFInt32"
                },
                {
                  "@name":"readInterval",
                  "@accessType":"inputOutput",
                  "@appinfo":"network read periodicity",
                  "@type":"SFTime"
                },
                {
                  "@name":"writeInterval",
                  "@accessType":"inputOutput",
                  "@appinfo":"network write periodicity",
                  "@type":"SFTime"
                },
                {
                  "@name":"networkMode",
                  "@accessType":"inputOutput",
                  "@appinfo":"Override default EspduTransform value so that listening occurs by default",
                  "@type":"SFString"
                },
                {
                  "@name":"address",
                  "@accessType":"inputOutput",
                  "@appinfo":"multicast address",
                  "@type":"SFString"
                },
                {
                  "@name":"port",
                  "@accessType":"inputOutput",
                  "@appinfo":"multicast port",
                  "@type":"SFInt32"
                },
                {
                  "@name":"translation",
                  "@accessType":"inputOutput",
                  "@appinfo":"initial position prior to first ESPDU receipt",
                  "@type":"SFVec3f"
                },
                {
                  "@name":"rotation",
                  "@accessType":"inputOutput",
                  "@appinfo":"initial orientation prior to first ESPDU receipt",
                  "@type":"SFRotation"
                },
                {
                  "@name":"traceNodeEnabled",
                  "@accessType":"inputOutput",
                  "@appinfo":"Set to 0 to activate EspduTransformTrace",
                  "@type":"SFInt32"
                },
                {
                  "@name":"hullColor",
                  "@accessType":"inputOutput",
                  "@appinfo":"color for this Aries instance",
                  "@type":"SFColor"
                },
                {
                  "@name":"hullName",
                  "@accessType":"inputOutput",
                  "@appinfo":"up to 11 characters maps to EspduTransform marking",
                  "@type":"SFString"
                }
              ]
            }
          },
          {
            "#comment":"===================="
          },
          { "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"],
              "field": [
                {
                  "@name":"description",
                  "@accessType":"initializeOnly",
                  "@appinfo":"Purpose of this grid displayed for overall Viewpoint",
                  "@type":"SFString"
                },
                {
                  "@name":"labelColor",
                  "@accessType":"inputOutput",
                  "@appinfo":"color for descriptive labels at grid edges and corners",
                  "@type":"SFColor"
                },
                {
                  "@name":"scale",
                  "@accessType":"inputOutput",
                  "@appinfo":"default unscaled size: 10m by 10m",
                  "@type":"SFVec3f"
                },
                {
                  "@name":"originLabel",
                  "@accessType":"inputOutput",
                  "@type":"MFString"
                },
                {
                  "@name":"WestLabel",
                  "@accessType":"inputOutput",
                  "@appinfo":"-X axis",
                  "@type":"MFString"
                },
                {
                  "@name":"NorthWestLabel",
                  "@accessType":"inputOutput",
                  "@type":"MFString"
                },
                {
                  "@name":"NorthLabel",
                  "@accessType":"inputOutput",
                  "@appinfo":"-Z axis",
                  "@type":"MFString"
                },
                {
                  "@name":"NorthEastLabel",
                  "@accessType":"inputOutput",
                  "@type":"MFString"
                },
                {
                  "@name":"EastLabel",
                  "@accessType":"inputOutput",
                  "@appinfo":"+X axis",
                  "@type":"MFString"
                },
                {
                  "@name":"SouthEastLabel",
                  "@accessType":"inputOutput",
                  "@type":"MFString"
                },
                {
                  "@name":"SouthLabel",
                  "@accessType":"inputOutput",
                  "@appinfo":"+Z axis",
                  "@type":"MFString"
                },
                {
                  "@name":"SouthWestLabel",
                  "@accessType":"inputOutput",
                  "@type":"MFString"
                },
                {
                  "@name":"labelsOffset",
                  "@accessType":"inputOutput",
                  "@appinfo":"label location offset (in meters) to improve readability",
                  "@type":"SFVec3f"
                }
              ]
            }
          },
          {
            "#comment":"===================="
          },
          { "ProtoInstance":
            {
              "@name":"GridXZ",
              "fieldValue": [
                {
                  "@name":"description",
                  "@value":"GridXZ for AUV Beach Tanks"
                },
                {
                  "@name":"labelColor",
                  "@value":[1,1,1]
                },
                {
                  "@name":"scale",
                  "@value":[1,1,1]
                },
                {
                  "@name":"originLabel",
                  "@value":["origin","0 0 0"]
                },
                {
                  "@name":"WestLabel",
                  "@value":["West","-Z"]
                },
                {
                  "@name":"NorthWestLabel",
                  "@value":["10 0 -10"]
                },
                {
                  "@name":"NorthLabel",
                  "@value":["North","+X"]
                },
                {
                  "@name":"NorthEastLabel",
                  "@value":["10 0 10"]
                },
                {
                  "@name":"EastLabel",
                  "@value":["East","+Z"]
                },
                {
                  "@name":"SouthEastLabel",
                  "@value":["-10 0 10"]
                },
                {
                  "@name":"SouthLabel",
                  "@value":["South","-X"]
                },
                {
                  "@name":"SouthWestLabel",
                  "@value":["-10 0 -10"]
                }
              ]
            }
          },
          {
            "#comment":"===================="
          },
          {
            "#comment":"Example uses of EspduTransform node to view three remote DIS-capable entities"
          },
          { "NavigationInfo":
            {
              "@speed":2,
              "@visibilityLimit":2000
            }
          },
          { "WorldInfo":
            {
              "@title":"AUV examples of EspduTransform use"
            }
          },
          { "Group":
            {
              "-children":[
                {
                  "#comment":"Inline file chiseled & gzipped due to extensive CosmoWorlds warnings"
                },
                { "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"]
                  }
                },
                {
                  "#comment":"\"local AUV\" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -"
                },
                { "ProtoInstance":
                  {
                    "@name":"AriesEspdu",
                    "@DEF":"NPSHeartBeatAUVEspduTransform",
                    "fieldValue": [
                      {
                        "@name":"hullName",
                        "@value":"NPS-run AUV"
                      },
                      {
                        "@name":"siteID",
                        "@value":0
                      },
                      {
                        "@name":"applicationID",
                        "@value":1
                      },
                      {
                        "@name":"entityID",
                        "@value":1
                      },
                      {
                        "@name":"readInterval",
                        "@value":0.5
                      },
                      {
                        "@name":"translation",
                        "@value":[5,-2,3]
                      },
                      {
                        "@name":"traceNodeEnabled",
                        "@value":-1
                      }
                    ]
                  }
                },
                {
                  "#comment":""
                },
                { "ProtoInstance":
                  {
                    "@name":"AriesEspdu",
                    "fieldValue": [
                      {
                        "@name":"translation",
                        "@value":[5,-1.5,17]
                      },
                      {
                        "@name":"networkMode",
                        "@value":"networkReader"
                      },
                      {
                        "@name":"traceNodeEnabled",
                        "@value":0
                      }
                    ]
                  }
                },
                { "ProtoInstance":
                  {
                    "@name":"AriesEspdu",
                    "@DEF":"DynamicsAuvEspduTransform",
                    "fieldValue": [
                      {
                        "@name":"hullName",
                        "@value":"dynamicsAUV"
                      },
                      {
                        "@name":"siteID",
                        "@value":36
                      },
                      {
                        "@name":"applicationID",
                        "@value":1
                      },
                      {
                        "@name":"entityID",
                        "@value":1
                      },
                      {
                        "@name":"readInterval",
                        "@value":0.05
                      },
                      {
                        "@name":"translation",
                        "@value":[4,-1.5,28]
                      },
                      {
                        "@name":"traceNodeEnabled",
                        "@value":-1
                      }
                    ]
                  }
                }
              ]
            }
          }
        ]
    }
  }
}