{ "X3D": {
    "encoding":"UTF-8",
    "@profile":"Immersive",
    "@version":"3.1",
    "@xsd:noNamespaceSchemaLocation":"https://www.web3d.org/specifications/x3d-3.1.xsd",
    "JSON schema":"https://www.web3d.org/specifications/x3d-4.0-JSONSchema.autogenerated.json",
    "head": {
        "component": [
          {
            "@name":"DIS",
            "@level":1
          }
        ],
        "meta": [
          {
            "@name":"title",
            "@content":"PredatorEspduPrototype.x3d"
          },
          {
            "@name":"description",
            "@content":"Prototype for a DIS enabled Predator UAV for inclusion in a VRML Scene."
          },
          {
            "@name":"creator",
            "@content":"Duane Davis"
          },
          {
            "@name":"translator",
            "@content":"Vrml97ToX3dNist"
          },
          {
            "@name":"created",
            "@content":"27 August 2004"
          },
          {
            "@name":"modified",
            "@content":"20 October 2019"
          },
          {
            "@name":"reference",
            "@content":"../UnmannedUnderwaterVehicles/AriesEspduPrototype.x3d"
          },
          {
            "@name":"subject",
            "@content":"Distributed Interactive Simulation DIS ESPDU Predator UAV"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/Savage/Robots/UnmannedAirVehicles/PredatorEspduPrototype.x3d"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit"
          },
          {
            "@name":"license",
            "@content":"../../license.html"
          },
          {
            "@name":"translated",
            "@content":"26 March 2026"
          },
          {
            "@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":[
          { "WorldInfo":
            {
              "@title":"PredatorEspduPrototype.x3d"
            }
          },
          { "ExternProtoDeclare":
            {
              "@name":"Predator",
              "@appinfo":"Predator unmanned air vehicle (UAV)",
              "@url":["../../../Savage/Robots/UnmannedAirVehicles/PredatorPrototype.x3d#Predator","https://www.web3d.org/x3d/content/examples/Savage/Robots/UnmannedAirVehicles/PredatorPrototype.x3d#Predator","../../../Savage/Robots/UnmannedAirVehicles/PredatorPrototype.wrl#Predator","https://www.web3d.org/x3d/content/examples/Savage/Robots/UnmannedAirVehicles/PredatorPrototype.wrl#Predator"],
              "field": [
                {
                  "@name":"translation",
                  "@accessType":"inputOutput",
                  "@appinfo":"default value 0 0 0",
                  "@type":"SFVec3f"
                },
                {
                  "@name":"rotation",
                  "@accessType":"inputOutput",
                  "@appinfo":"default value 0 0 1 0",
                  "@type":"SFRotation"
                }
              ]
            }
          },
          { "ProtoDeclare":
            {
              "@name":"PredatorEspdu",
              "@appinfo":"Predator unmanned air vehicle (UAV) with DIS ESPDU network connections",
              "ProtoInterface": {
                  "field": [
                    {
                      "@name":"marking",
                      "@accessType":"inputOutput",
                      "@appinfo":"default value PredatorUAV",
                      "@type":"SFString",
                      "@value":"PredatorUAV"
                    },
                    {
                      "@name":"siteID",
                      "@accessType":"inputOutput",
                      "@appinfo":"default value 0",
                      "@type":"SFInt32",
                      "@value":0
                    },
                    {
                      "@name":"applicationID",
                      "@accessType":"inputOutput",
                      "@appinfo":"default value 1",
                      "@type":"SFInt32",
                      "@value":1
                    },
                    {
                      "@name":"entityID",
                      "@accessType":"inputOutput",
                      "@appinfo":"default value 30",
                      "@type":"SFInt32",
                      "@value":30
                    },
                    {
                      "@name":"readInterval",
                      "@accessType":"inputOutput",
                      "@appinfo":"default value 0.1",
                      "@type":"SFTime",
                      "@value":0.1
                    },
                    {
                      "@name":"writeInterval",
                      "@accessType":"inputOutput",
                      "@appinfo":"default value 1.0",
                      "@type":"SFTime",
                      "@value":1.0
                    },
                    {
                      "@name":"networkMode",
                      "@accessType":"inputOutput",
                      "@appinfo":"Override default EspduTransform value so that listening occurs by default",
                      "@type":"SFString",
                      "@value":"networkReader"
                    },
                    {
                      "@name":"address",
                      "@accessType":"inputOutput",
                      "@appinfo":"default value 224.2.181.145",
                      "@type":"SFString",
                      "@value":"224.2.181.145"
                    },
                    {
                      "@name":"port",
                      "@accessType":"inputOutput",
                      "@appinfo":"default value 62040",
                      "@type":"SFInt32",
                      "@value":62040
                    },
                    {
                      "@name":"translation",
                      "@accessType":"inputOutput",
                      "@appinfo":"default value 0 0 0",
                      "@type":"SFVec3f",
                      "@value":[0,0,0]
                    },
                    {
                      "@name":"rotation",
                      "@accessType":"inputOutput",
                      "@appinfo":"default value 0 0 1 0",
                      "@type":"SFRotation",
                      "@value":[0,0,1,0]
                    }
                  ]
              },
              "ProtoBody": {
                  "-children":[
                    {
                      "#comment":"============================="
                    },
                    { "Group":
                      {
                        "-children":[
                          { "EspduTransform":
                            {
                              "@DEF":"ET",
                              "IS": {
                                  "connect": [
                                    {
                                      "@nodeField":"marking",
                                      "@protoField":"marking"
                                    },
                                    {
                                      "@nodeField":"siteID",
                                      "@protoField":"siteID"
                                    },
                                    {
                                      "@nodeField":"applicationID",
                                      "@protoField":"applicationID"
                                    },
                                    {
                                      "@nodeField":"entityID",
                                      "@protoField":"entityID"
                                    },
                                    {
                                      "@nodeField":"readInterval",
                                      "@protoField":"readInterval"
                                    },
                                    {
                                      "@nodeField":"writeInterval",
                                      "@protoField":"writeInterval"
                                    },
                                    {
                                      "@nodeField":"networkMode",
                                      "@protoField":"networkMode"
                                    },
                                    {
                                      "@nodeField":"address",
                                      "@protoField":"address"
                                    },
                                    {
                                      "@nodeField":"port",
                                      "@protoField":"port"
                                    },
                                    {
                                      "@nodeField":"translation",
                                      "@protoField":"translation"
                                    },
                                    {
                                      "@nodeField":"rotation",
                                      "@protoField":"rotation"
                                    }
                                  ]
                              },
                              "-children":[
                                {
                                  "#comment":"applet 0 1 2, auv dynamics 36 1 1"
                                },
                                { "ProtoInstance":
                                  {
                                    "@name":"Predator"
                                  }
                                }
                              ]
                            }
                          }
                        ]
                      }
                    }
                  ]
              }
            }
          },
          { "Viewpoint":
            {
              "@description":"Predator Espdu Prototype"
            }
          },
          { "Group":
            {
              "-children":[
                { "ProtoInstance":
                  {
                    "@name":"PredatorEspdu",
                    "fieldValue": [
                      {
                        "@name":"networkMode",
                        "@value":"networkReader"
                      },
                      {
                        "@name":"translation",
                        "@value":[0,0.4,0]
                      }
                    ]
                  }
                }
              ]
            }
          },
          { "Anchor":
            {
              "@description":"PredatorEspduPrototype",
              "@parameter":["target=_blank"],
              "@url":["PredatorEspduExample.x3d","https://www.web3d.org/x3d/content/examples/Savage/Robots/UnmannedUnderwaterVehicles/PredatorEspduExample.x3d","PredatorEspduExample.wrl","https://www.web3d.org/x3d/content/examples/Savage/Robots/UnmannedUnderwaterVehicles/PredatorEspduExample.wrl"],
              "-children":[
                { "Shape":
                  {
                    "-appearance":
                      { "Appearance":
                        {
                          "-material":
                            { "Material":
                              {
                                "@diffuseColor":[0,1,1],
                                "@emissiveColor":[0,1,1]
                              }
                            }
                        }
                      },
                    "-geometry":
                      { "Text":
                        {
                          "@string":["PredatorEspduPrototype","is a prototype definition file","To see an example scene","click on any text and view","PredatorEspduExample"],
                          "-fontStyle":
                            { "FontStyle":
                              {
                                "@justify":["MIDDLE","MIDDLE"]
                              }
                            }
                        }
                      }
                  }
                }
              ]
            }
          }
        ]
    }
  }
}