Package edu.nps.moves.dis7.pdus
Class AngleDeception
java.lang.Object
edu.nps.moves.dis7.pdus.AngleDeception
- All Implemented Interfaces:
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 Summary
FieldsModifier and TypeFieldDescriptionprotected floatThis field indicates the relative azimuth angle at which the deceptive radar returns are centered.protected floatThis field indicates the rate (in radians per second squared) at which the Azimuth Pull Rate value is changing.protected floatThis field indicates the rate (in radians per second) at which the Azimuth Offset value is changing.protected floatindicates the range of azimuths (in radians) through which the deceptive radar returns are perceived, centered on the azimuth offset as shown in Figure 43.protected byteindicates the jamming beam for which the angle deception values are applicable.protected floatThis field indicates the relative elevation angle at which the deceptive radar returns begin.protected floatThis field indicates the rate (in radians per second squared) at which the Elevation Pull Rate value is changing.protected floatThis field indicates the rate (in radians per second) at which the Elevation Off- set value is changing.protected floatThis 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.protected byteindicates the emitter system for which the angle deception values are applicable.protected shortzero-filled array of padding bits for byte alignment and consistent sizing of PDU dataprotected bytepaddingprotected intpadding3 is an undescribed parameter...protected shortThe length of the record in octets.protected intrecord typeprotected EEAttributeStateIndicatorThis 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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanequalsImpl(Object obj) Compare all fields that contribute to the state, ignoring transient and static fields, forthisand the supplied objectfloatGetter forazimuthOffsetfloatGetter forazimuthPullAccelerationfloatGetter forazimuthPullRatefloatGetter forazimuthWidthbyteGetter forbeamNumberfloatGetter forelevationOffsetfloatGetter forelevationPullAccelerationfloatGetter forelevationPullRatefloatGetter forelevationWidthbyteGetter foremitterNumberintReturns size of this serialized (marshalled) object in bytesshortGetter forpaddingbyteGetter forpadding2intGetter forpadding3shortGetter forrecordLengthintGetter forrecordTypeGetter forstateIndicatorinthashCode()voidmarshal(DataOutputStream dos) Serializes an object to a DataOutputStream.voidmarshal(ByteBuffer byteBuffer) Packs an object into the ByteBuffer.setAzimuthOffset(float pAzimuthOffset) Setter forazimuthOffsetsetAzimuthPullAcceleration(float pAzimuthPullAcceleration) Setter forazimuthPullAccelerationsetAzimuthPullRate(float pAzimuthPullRate) Setter forazimuthPullRatesetAzimuthWidth(float pAzimuthWidth) Setter forazimuthWidthsetBeamNumber(byte pBeamNumber) Setter forbeamNumbersetBeamNumber(int pBeamNumber) Utility setter forbeamNumbersetElevationOffset(float pElevationOffset) Setter forelevationOffsetsetElevationPullAcceleration(float pElevationPullAcceleration) Setter forelevationPullAccelerationsetElevationPullRate(float pElevationPullRate) Setter forelevationPullRatesetElevationWidth(float pElevationWidth) Setter forelevationWidthsetEmitterNumber(byte pEmitterNumber) Setter foremitterNumbersetEmitterNumber(int pEmitterNumber) Utility setter foremitterNumbersetPadding(int pPadding) Utility setter forpaddingsetPadding(short pPadding) Setter forpaddingsetPadding2(byte pPadding2) Setter forpadding2setPadding2(int pPadding2) Utility setter forpadding2setPadding3(int pPadding3) Setter forpadding3setRecordLength(int pRecordLength) Utility setter forrecordLengthsetRecordLength(short pRecordLength) Setter forrecordLengthsetRecordType(int pRecordType) Setter forrecordTypesetStateIndicator(EEAttributeStateIndicator pStateIndicator) Setter forstateIndicatortoString()intunmarshal(DataInputStream dis) Deserializes an object from a DataInputStream.intunmarshal(ByteBuffer byteBuffer) Unpacks a Pdu from the underlying data.
-
Field Details
-
recordType
protected int recordTyperecord type -
recordLength
protected short recordLengthThe length of the record in octets. -
padding
protected short paddingzero-filled array of padding bits for byte alignment and consistent sizing of PDU data -
emitterNumber
protected byte emitterNumberindicates the emitter system for which the angle deception values are applicable. -
beamNumber
protected byte beamNumberindicates the jamming beam for which the angle deception values are applicable. -
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 padding2padding -
azimuthOffset
protected float azimuthOffsetThis 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 azimuthWidthindicates 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 azimuthPullRateThis 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 azimuthPullAccelerationThis 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 elevationOffsetThis 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 elevationWidthThis 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 elevationPullRateThis 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 elevationPullAccelerationThis 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 padding3padding3 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
Setter forrecordType- Parameters:
pRecordType- new value of interest- Returns:
- same object to permit progressive setters
-
getRecordType
-
setRecordLength
Setter forrecordLength- Parameters:
pRecordLength- new value of interest- Returns:
- same object to permit progressive setters
-
setRecordLength
Utility setter forrecordLength- Parameters:
pRecordLength- new value of interest- Returns:
- same object to permit progressive setters
-
getRecordLength
-
setPadding
Setter forpadding- Parameters:
pPadding- new value of interest- Returns:
- same object to permit progressive setters
-
setPadding
Utility setter forpadding- Parameters:
pPadding- new value of interest- Returns:
- same object to permit progressive setters
-
getPadding
-
setEmitterNumber
Setter foremitterNumber- Parameters:
pEmitterNumber- new value of interest- Returns:
- same object to permit progressive setters
-
setEmitterNumber
Utility setter foremitterNumber- Parameters:
pEmitterNumber- new value of interest- Returns:
- same object to permit progressive setters
-
getEmitterNumber
-
setBeamNumber
Setter forbeamNumber- Parameters:
pBeamNumber- new value of interest- Returns:
- same object to permit progressive setters
-
setBeamNumber
Utility setter forbeamNumber- Parameters:
pBeamNumber- new value of interest- Returns:
- same object to permit progressive setters
-
getBeamNumber
-
setStateIndicator
Setter forstateIndicator- Parameters:
pStateIndicator- new value of interest- Returns:
- same object to permit progressive setters
-
getStateIndicator
Getter forstateIndicator- Returns:
- value of interest
-
setPadding2
Setter forpadding2- Parameters:
pPadding2- new value of interest- Returns:
- same object to permit progressive setters
-
setPadding2
Utility setter forpadding2- Parameters:
pPadding2- new value of interest- Returns:
- same object to permit progressive setters
-
getPadding2
-
setAzimuthOffset
Setter forazimuthOffset- Parameters:
pAzimuthOffset- new value of interest- Returns:
- same object to permit progressive setters
-
getAzimuthOffset
-
setAzimuthWidth
Setter forazimuthWidth- Parameters:
pAzimuthWidth- new value of interest- Returns:
- same object to permit progressive setters
-
getAzimuthWidth
-
setAzimuthPullRate
Setter forazimuthPullRate- Parameters:
pAzimuthPullRate- new value of interest- Returns:
- same object to permit progressive setters
-
getAzimuthPullRate
-
setAzimuthPullAcceleration
Setter forazimuthPullAcceleration- Parameters:
pAzimuthPullAcceleration- new value of interest- Returns:
- same object to permit progressive setters
-
getAzimuthPullAcceleration
public float getAzimuthPullAcceleration()Getter forazimuthPullAcceleration- Returns:
- value of interest
-
setElevationOffset
Setter forelevationOffset- Parameters:
pElevationOffset- new value of interest- Returns:
- same object to permit progressive setters
-
getElevationOffset
-
setElevationWidth
Setter forelevationWidth- Parameters:
pElevationWidth- new value of interest- Returns:
- same object to permit progressive setters
-
getElevationWidth
-
setElevationPullRate
Setter forelevationPullRate- Parameters:
pElevationPullRate- new value of interest- Returns:
- same object to permit progressive setters
-
getElevationPullRate
-
setElevationPullAcceleration
Setter forelevationPullAcceleration- Parameters:
pElevationPullAcceleration- new value of interest- Returns:
- same object to permit progressive setters
-
getElevationPullAcceleration
public float getElevationPullAcceleration()Getter forelevationPullAcceleration- Returns:
- value of interest
-
setPadding3
Setter forpadding3- Parameters:
pPadding3- new value of interest- Returns:
- same object to permit progressive setters
-
getPadding3
-
marshal
Serializes an object to a DataOutputStream.- Parameters:
dos- the OutputStream- Throws:
Exception- if something goes wrong- See Also:
-
unmarshal
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
Packs an object into the ByteBuffer.- Parameters:
byteBuffer- The ByteBuffer at the position to begin writing- Throws:
BufferOverflowException- if byteBuffer is too smallReadOnlyBufferException- if byteBuffer is read onlyException- ByteBuffer-generated exception- See Also:
-
unmarshal
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 smallException- ByteBuffer-generated exception- See Also:
-
equals
-
equalsImpl
Compare all fields that contribute to the state, ignoring transient and static fields, forthisand the supplied object- Parameters:
obj- the object to compare to- Returns:
- true if the objects are equal, false otherwise.
-
toString
-
hashCode
-