Class AngleDeception

java.lang.Object
edu.nps.moves.dis7.pdus.AngleDeception
All Implemented Interfaces:
Serializable

public class AngleDeception extends Object implements Serializable
The Angle Deception attribute record may be used to communicate discrete values that are associated with angle deception jamming that cannot be referenced to an emitter mode. The values provided in the record records (provided in the associated Electromagnetic Emission PDU). (The victim radar beams are those that are targeted by the jammer.) Section 6.2.21.2.2
See Also:
  • Field Details

    • recordType

      protected int recordType
      record type
    • recordLength

      protected short recordLength
      The length of the record in octets.
    • padding

      protected short padding
      zero-filled array of padding bits for byte alignment and consistent sizing of PDU data
    • emitterNumber

      protected byte emitterNumber
      indicates the emitter system for which the angle deception values are applicable.
    • beamNumber

      protected byte beamNumber
      indicates the jamming beam for which the angle deception values are applicable.
    • stateIndicator

      protected EEAttributeStateIndicator stateIndicator
      This field shall be used to indicate if angle deception data have changed since issuance of the last Angle Deception attribute record for this beam, if the Angle Deception attribute record is part of a heartbeat update to meet periodic update requirements or if the angle deception data for the beam has ceased. uid 300
    • padding2

      protected byte padding2
      padding
    • azimuthOffset

      protected float azimuthOffset
      This field indicates the relative azimuth angle at which the deceptive radar returns are centered. This angle is measured in the X-Y plane of the victim radar's entity coordinate system (see 1.4.3). This angle is measured in radians from the victim radar entity's azimuth for the true jam- mer position to the center of the range of azimuths in which deceptive radar returns are perceived as shown in Figure 43. Positive and negative values indicate that the perceived positions of the jammer are right and left of the true position of the jammer, respectively. The range of permissible values is -PI to PI
    • azimuthWidth

      protected float azimuthWidth
      indicates the range of azimuths (in radians) through which the deceptive radar returns are perceived, centered on the azimuth offset as shown in Figure 43. The range of permissible values is 0 to 2PI radians
    • azimuthPullRate

      protected float azimuthPullRate
      This field indicates the rate (in radians per second) at which the Azimuth Offset value is changing. Positive and negative values indicate that the Azimuth Offset is moving to the right or left, respectively.
    • azimuthPullAcceleration

      protected float azimuthPullAcceleration
      This field indicates the rate (in radians per second squared) at which the Azimuth Pull Rate value is changing. Azimuth Pull Acceleration is defined as positive to the right and negative to the left.
    • elevationOffset

      protected float elevationOffset
      This field indicates the relative elevation angle at which the deceptive radar returns begin. This angle is measured as an angle with respect to the X-Y plane of the victim radar's entity coordinate system (see 1.4.3). This angle is measured in radians from the victim radar entity's eleva- tion for the true jammer position to the center of the range of elevations in which deceptive radar returns are perceived as shown in Figure 44. Positive and negative values indicate that the perceived positions of the jammer are above and below the true position of the jammer, respectively. The range of permissible values is -PI/2 to PI/2
    • elevationWidth

      protected float elevationWidth
      This field indicates the range of elevations (in radians) through which the decep- tive radar returns are perceived, centered on the elevation offset as shown in Figure 44. The range of permissible values is 0 to PI radians
    • elevationPullRate

      protected float elevationPullRate
      This field indicates the rate (in radians per second) at which the Elevation Off- set value is changing. Positive and negative values indicate that the Elevation Offset is moving up or down, respectively.
    • elevationPullAcceleration

      protected float elevationPullAcceleration
      This field indicates the rate (in radians per second squared) at which the Elevation Pull Rate value is changing. Elevation Pull Acceleration is defined as positive to upward and negative downward.
    • padding3

      protected int padding3
      padding3 is an undescribed parameter...
  • Constructor Details

    • AngleDeception

      public AngleDeception()
      Constructor creates and configures a new instance object
  • Method Details

    • getMarshalledSize

      public int getMarshalledSize()
      Returns size of this serialized (marshalled) object in bytes
      Returns:
      serialized size in bytes
      See Also:
    • setRecordType

      public AngleDeception setRecordType(int pRecordType)
      Setter for recordType
      Parameters:
      pRecordType - new value of interest
      Returns:
      same object to permit progressive setters
    • getRecordType

      public int getRecordType()
      Getter for recordType
      Returns:
      value of interest
    • setRecordLength

      public AngleDeception setRecordLength(short pRecordLength)
      Setter for recordLength
      Parameters:
      pRecordLength - new value of interest
      Returns:
      same object to permit progressive setters
    • setRecordLength

      public AngleDeception setRecordLength(int pRecordLength)
      Utility setter for recordLength
      Parameters:
      pRecordLength - new value of interest
      Returns:
      same object to permit progressive setters
    • getRecordLength

      public short getRecordLength()
      Getter for recordLength
      Returns:
      value of interest
    • setPadding

      public AngleDeception setPadding(short pPadding)
      Setter for padding
      Parameters:
      pPadding - new value of interest
      Returns:
      same object to permit progressive setters
    • setPadding

      public AngleDeception setPadding(int pPadding)
      Utility setter for padding
      Parameters:
      pPadding - new value of interest
      Returns:
      same object to permit progressive setters
    • getPadding

      public short getPadding()
      Getter for padding
      Returns:
      value of interest
    • setEmitterNumber

      public AngleDeception setEmitterNumber(byte pEmitterNumber)
      Setter for emitterNumber
      Parameters:
      pEmitterNumber - new value of interest
      Returns:
      same object to permit progressive setters
    • setEmitterNumber

      public AngleDeception setEmitterNumber(int pEmitterNumber)
      Utility setter for emitterNumber
      Parameters:
      pEmitterNumber - new value of interest
      Returns:
      same object to permit progressive setters
    • getEmitterNumber

      public byte getEmitterNumber()
      Getter for emitterNumber
      Returns:
      value of interest
    • setBeamNumber

      public AngleDeception setBeamNumber(byte pBeamNumber)
      Setter for beamNumber
      Parameters:
      pBeamNumber - new value of interest
      Returns:
      same object to permit progressive setters
    • setBeamNumber

      public AngleDeception setBeamNumber(int pBeamNumber)
      Utility setter for beamNumber
      Parameters:
      pBeamNumber - new value of interest
      Returns:
      same object to permit progressive setters
    • getBeamNumber

      public byte getBeamNumber()
      Getter for beamNumber
      Returns:
      value of interest
    • setStateIndicator

      public AngleDeception setStateIndicator(EEAttributeStateIndicator pStateIndicator)
      Setter for stateIndicator
      Parameters:
      pStateIndicator - new value of interest
      Returns:
      same object to permit progressive setters
    • getStateIndicator

      public EEAttributeStateIndicator getStateIndicator()
      Getter for stateIndicator
      Returns:
      value of interest
    • setPadding2

      public AngleDeception setPadding2(byte pPadding2)
      Setter for padding2
      Parameters:
      pPadding2 - new value of interest
      Returns:
      same object to permit progressive setters
    • setPadding2

      public AngleDeception setPadding2(int pPadding2)
      Utility setter for padding2
      Parameters:
      pPadding2 - new value of interest
      Returns:
      same object to permit progressive setters
    • getPadding2

      public byte getPadding2()
      Getter for padding2
      Returns:
      value of interest
    • setAzimuthOffset

      public AngleDeception setAzimuthOffset(float pAzimuthOffset)
      Setter for azimuthOffset
      Parameters:
      pAzimuthOffset - new value of interest
      Returns:
      same object to permit progressive setters
    • getAzimuthOffset

      public float getAzimuthOffset()
      Getter for azimuthOffset
      Returns:
      value of interest
    • setAzimuthWidth

      public AngleDeception setAzimuthWidth(float pAzimuthWidth)
      Setter for azimuthWidth
      Parameters:
      pAzimuthWidth - new value of interest
      Returns:
      same object to permit progressive setters
    • getAzimuthWidth

      public float getAzimuthWidth()
      Getter for azimuthWidth
      Returns:
      value of interest
    • setAzimuthPullRate

      public AngleDeception setAzimuthPullRate(float pAzimuthPullRate)
      Setter for azimuthPullRate
      Parameters:
      pAzimuthPullRate - new value of interest
      Returns:
      same object to permit progressive setters
    • getAzimuthPullRate

      public float getAzimuthPullRate()
      Getter for azimuthPullRate
      Returns:
      value of interest
    • setAzimuthPullAcceleration

      public AngleDeception setAzimuthPullAcceleration(float pAzimuthPullAcceleration)
      Parameters:
      pAzimuthPullAcceleration - new value of interest
      Returns:
      same object to permit progressive setters
    • getAzimuthPullAcceleration

      public float getAzimuthPullAcceleration()
      Returns:
      value of interest
    • setElevationOffset

      public AngleDeception setElevationOffset(float pElevationOffset)
      Setter for elevationOffset
      Parameters:
      pElevationOffset - new value of interest
      Returns:
      same object to permit progressive setters
    • getElevationOffset

      public float getElevationOffset()
      Getter for elevationOffset
      Returns:
      value of interest
    • setElevationWidth

      public AngleDeception setElevationWidth(float pElevationWidth)
      Setter for elevationWidth
      Parameters:
      pElevationWidth - new value of interest
      Returns:
      same object to permit progressive setters
    • getElevationWidth

      public float getElevationWidth()
      Getter for elevationWidth
      Returns:
      value of interest
    • setElevationPullRate

      public AngleDeception setElevationPullRate(float pElevationPullRate)
      Parameters:
      pElevationPullRate - new value of interest
      Returns:
      same object to permit progressive setters
    • getElevationPullRate

      public float getElevationPullRate()
      Returns:
      value of interest
    • setElevationPullAcceleration

      public AngleDeception setElevationPullAcceleration(float pElevationPullAcceleration)
      Parameters:
      pElevationPullAcceleration - new value of interest
      Returns:
      same object to permit progressive setters
    • getElevationPullAcceleration

      public float getElevationPullAcceleration()
      Returns:
      value of interest
    • setPadding3

      public AngleDeception setPadding3(int pPadding3)
      Setter for padding3
      Parameters:
      pPadding3 - new value of interest
      Returns:
      same object to permit progressive setters
    • getPadding3

      public int getPadding3()
      Getter for padding3
      Returns:
      value of interest
    • marshal

      public void marshal(DataOutputStream dos) throws Exception
      Serializes an object to a DataOutputStream.
      Parameters:
      dos - the OutputStream
      Throws:
      Exception - if something goes wrong
      See Also:
    • unmarshal

      public int unmarshal(DataInputStream dis) throws Exception
      Deserializes an object from a DataInputStream.
      Parameters:
      dis - the InputStream
      Returns:
      marshalled serialized size in bytes
      Throws:
      Exception - if something goes wrong
      See Also:
    • marshal

      public void marshal(ByteBuffer byteBuffer) throws Exception
      Packs an object into the ByteBuffer.
      Parameters:
      byteBuffer - The ByteBuffer at the position to begin writing
      Throws:
      BufferOverflowException - if byteBuffer is too small
      ReadOnlyBufferException - if byteBuffer is read only
      Exception - ByteBuffer-generated exception
      See Also:
    • unmarshal

      public int unmarshal(ByteBuffer byteBuffer) throws Exception
      Unpacks a Pdu from the underlying data.
      Parameters:
      byteBuffer - The ByteBuffer at the position to begin reading
      Returns:
      marshalled serialized size in bytes
      Throws:
      BufferUnderflowException - if byteBuffer is too small
      Exception - ByteBuffer-generated exception
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsImpl

      public boolean equalsImpl(Object obj)
      Compare all fields that contribute to the state, ignoring transient and static fields, for this and the supplied object
      Parameters:
      obj - the object to compare to
      Returns:
      true if the objects are equal, false otherwise.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object