SignalPdu
SignalPdu is a networked PDU information node.
Inheritance
Code
XML encoding
<SignalPdu showBBox='FALSE' logFeature='' render='TRUE' bboxSize='-1 -1 -1' bboxCenter='0 0 0' data='' dataLength='0' samples='0' sampleRate='0' tdlType='0' encodingScheme='0' radioID='0' isActive='' timestamp='' rtpHeaderExpected='false' isRtpHeaderHeard='' multicastRelayPort='0' multicastRelayHost='' port='0' siteID='0' applicationID='1' entityID='0' address='localhost' isNetworkWriter='' isNetworkReader='' isStandAlone='' writeInterval='1.0' networkMode='standAlone' readInterval='0.1' whichGeometry='1' />
Classic encoding
SignalPdu { showBBox FALSE logFeature [""] render TRUE bboxSize -1 -1 -1 bboxCenter 0 0 0 data [] dataLength 0 samples 0 sampleRate 0 tdlType 0 encodingScheme 0 radioID 0 isActive timestamp rtpHeaderExpected false isRtpHeaderHeard multicastRelayPort 0 multicastRelayHost "" port 0 siteID 0 applicationID 1 entityID 0 address "localhost" isNetworkWriter isNetworkReader isStandAlone writeInterval 1.0 networkMode standAlone readInterval 0.1 whichGeometry 1 }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
address | SFString | initializeOnly | localhost | Multicast address, or else quotelocalhostquote example: 224.2.181.145. | ||
applicationID | SFInt32 | initializeOnly | 1 | EntityID application ID, unique for application at that site. | ||
bboxCenter | SFVec3f | initializeOnly | 0 0 0 | Bounding box center: position offset from origin of local coordinate system. | ||
bboxSize | SFVec3f | initializeOnly | -1 -1 -1 | Bounding box size: automatically calculated, can be specified as an optimization or constraint. | ||
data | MFInt32 | initializeOnly | Specifies the audio or digital data conveyed by the radio transmission. | |||
dataLength | SFInt32 | initializeOnly | 0 | Specifies the number of bits of digital voice audio or digital data being sent in the Signal PDU. If the Encoding Class is database index, the dataLength field is set to the value 96. | ||
encodingScheme | SFInt32 | initializeOnly | 0 | Designates both an Encoding Class enumerated value (2 most significant bits): 0 = Encoded Voice; 1 = Raw Binary Data; 2 = Application-Specific Data; 3 = Database Index | ||
entityID | SFInt32 | initializeOnly | 0 | EntityID unique ID for entity within that application. | ||
isActive | SFBool | initializeOnly | Have we had a network update recently?. | |||
isNetworkReader | SFBool | initializeOnly | Whether networkMode=quoteremotequote (listen to network as copy of remote entity) | |||
isNetworkWriter | SFBool | initializeOnly | Whether networkMode=quotemasterquote (output to network as master entity at writeInterval) | |||
isRtpHeaderHeard | SFBool | initializeOnly | Whether incoming DIS packets have an RTP header prepended. | |||
isStandAlone | SFBool | initializeOnly | Whether networkMode=quotelocalquote (ignore network but still respond to local events) | |||
logFeature | MFString | inputOutput | state, child, parent, route, eventIn, eventOut | controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element | ||
multicastRelayHost | SFString | initializeOnly | Fallback server address if multicast not available locally example: devo.cs.nps.navy.mil. | |||
multicastRelayPort | SFInt32 | initializeOnly | 0 | Fallback server port if multicast not available locally example: 8010. | ||
networkMode | SFFloat | initializeOnly | standAlone | Whether this entity is ignoring the network, sending DIS packets to the network, or receiving DIS packets from the network. (1) standAlone: ignore network but still respond to events in local scene. (2) networkReader: listen to network and read PDU packets at readInterval, act as remote copy of entity. (3) networkWriter: send PDU packets to network at writeInterval, act as master entity. Default value quotestandAlonequote ensures that DIS network activation within a scene as networkReader or networkWriter is intentional. | ||
port | SFInt32 | initializeOnly | 0 | Multicast port example: 62040. | ||
radioID | SFInt32 | initializeOnly | 0 | Identifies a particular radio within a given entity (entityID). The radioID is assigned sequentially, starting with 1. | ||
readInterval | SFTime | initializeOnly | 0.1 | Seconds between read updates, 0 means no reading. | ||
render | SFBool | inputOutput | TRUE | Flag to control the visibility of the node or subtree | ||
rtpHeaderExpected | SFBool | initializeOnly | false | Whether RTP headers are prepended to DIS PDUs. | ||
sampleRate | SFInt32 | initializeOnly | 0 | Gives either (1) the sample rate in samples per second if the Encoding Class is encoded audio or (2) the data rate in bits per second for data transmissions. If the Encoding Class is database index, sampleRate is set to zero. | ||
samples | SFInt32 | initializeOnly | 0 | Gives the number of samples in the PDU if the Encoding Class is encoded voice; otherwise, the field is set to zero. | ||
showBBox | SFBool | inputOutput | FALSE | Show Bounding Box of Subtree. | ||
siteID | SFInt32 | initializeOnly | 0 | EntityID site. | ||
tdlType | SFInt32 | initializeOnly | 0 | Specifies the Tactical Data Link (TDL) type as an enumerated value when the Encoding Class is voice, raw binary, application-specific, or database index representation of a TDL message. The field is set to zero when it is not representing a TDL message. | ||
timestamp | SFTime | initializeOnly | DIS timestamp in VRML units. | |||
whichGeometry | SFInt32 | initializeOnly | 1 | Select geometry to render: -1 for no geometry, 0 for text trace, 1 for default geometry. | ||
writeInterval | SFTime | initializeOnly | 1.0 | Seconds between write updates, 0 means no writing. |