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 float
This field indicates the relative azimuth angle at which the deceptive radar returns are centered.protected float
This field indicates the rate (in radians per second squared) at which the Azimuth Pull Rate value is changing.protected float
This field indicates the rate (in radians per second) at which the Azimuth Offset value is changing.protected float
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.protected byte
indicates the jamming beam for which the angle deception values are applicable.protected float
This field indicates the relative elevation angle at which the deceptive radar returns begin.protected float
This field indicates the rate (in radians per second squared) at which the Elevation Pull Rate value is changing.protected float
This field indicates the rate (in radians per second) at which the Elevation Off- set value is changing.protected float
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.protected byte
indicates the emitter system for which the angle deception values are applicable.protected short
zero-filled array of padding bits for byte alignment and consistent sizing of PDU dataprotected byte
paddingprotected int
padding3 is an undescribed parameter...protected short
The length of the record in octets.protected int
record typeprotected EEAttributeStateIndicator
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. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
equalsImpl
(Object obj) Compare all fields that contribute to the state, ignoring transient and static fields, forthis
and the supplied objectfloat
Getter forazimuthOffset
float
Getter forazimuthPullAcceleration
float
Getter forazimuthPullRate
float
Getter forazimuthWidth
byte
Getter forbeamNumber
float
Getter forelevationOffset
float
Getter forelevationPullAcceleration
float
Getter forelevationPullRate
float
Getter forelevationWidth
byte
Getter foremitterNumber
int
Returns size of this serialized (marshalled) object in bytesshort
Getter forpadding
byte
Getter forpadding2
int
Getter forpadding3
short
Getter forrecordLength
int
Getter forrecordType
Getter forstateIndicator
int
hashCode()
void
marshal
(DataOutputStream dos) Serializes an object to a DataOutputStream.void
marshal
(ByteBuffer byteBuffer) Packs an object into the ByteBuffer.setAzimuthOffset
(float pAzimuthOffset) Setter forazimuthOffset
setAzimuthPullAcceleration
(float pAzimuthPullAcceleration) Setter forazimuthPullAcceleration
setAzimuthPullRate
(float pAzimuthPullRate) Setter forazimuthPullRate
setAzimuthWidth
(float pAzimuthWidth) Setter forazimuthWidth
setBeamNumber
(byte pBeamNumber) Setter forbeamNumber
setBeamNumber
(int pBeamNumber) Utility setter forbeamNumber
setElevationOffset
(float pElevationOffset) Setter forelevationOffset
setElevationPullAcceleration
(float pElevationPullAcceleration) Setter forelevationPullAcceleration
setElevationPullRate
(float pElevationPullRate) Setter forelevationPullRate
setElevationWidth
(float pElevationWidth) Setter forelevationWidth
setEmitterNumber
(byte pEmitterNumber) Setter foremitterNumber
setEmitterNumber
(int pEmitterNumber) Utility setter foremitterNumber
setPadding
(int pPadding) Utility setter forpadding
setPadding
(short pPadding) Setter forpadding
setPadding2
(byte pPadding2) Setter forpadding2
setPadding2
(int pPadding2) Utility setter forpadding2
setPadding3
(int pPadding3) Setter forpadding3
setRecordLength
(int pRecordLength) Utility setter forrecordLength
setRecordLength
(short pRecordLength) Setter forrecordLength
setRecordType
(int pRecordType) Setter forrecordType
setStateIndicator
(EEAttributeStateIndicator pStateIndicator) Setter forstateIndicator
toString()
int
unmarshal
(DataInputStream dis) Deserializes an object from a DataInputStream.int
unmarshal
(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
public int getRecordType()Getter forrecordType
- Returns:
- value of interest
-
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
public short getRecordLength()Getter forrecordLength
- Returns:
- value of interest
-
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
public short getPadding()Getter forpadding
- Returns:
- value of interest
-
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
public byte getEmitterNumber()Getter foremitterNumber
- Returns:
- value of interest
-
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
public byte getBeamNumber()Getter forbeamNumber
- Returns:
- value of interest
-
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
public byte getPadding2()Getter forpadding2
- Returns:
- value of interest
-
setAzimuthOffset
Setter forazimuthOffset
- Parameters:
pAzimuthOffset
- new value of interest- Returns:
- same object to permit progressive setters
-
getAzimuthOffset
public float getAzimuthOffset()Getter forazimuthOffset
- Returns:
- value of interest
-
setAzimuthWidth
Setter forazimuthWidth
- Parameters:
pAzimuthWidth
- new value of interest- Returns:
- same object to permit progressive setters
-
getAzimuthWidth
public float getAzimuthWidth()Getter forazimuthWidth
- Returns:
- value of interest
-
setAzimuthPullRate
Setter forazimuthPullRate
- Parameters:
pAzimuthPullRate
- new value of interest- Returns:
- same object to permit progressive setters
-
getAzimuthPullRate
public float getAzimuthPullRate()Getter forazimuthPullRate
- Returns:
- value of interest
-
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
public float getElevationOffset()Getter forelevationOffset
- Returns:
- value of interest
-
setElevationWidth
Setter forelevationWidth
- Parameters:
pElevationWidth
- new value of interest- Returns:
- same object to permit progressive setters
-
getElevationWidth
public float getElevationWidth()Getter forelevationWidth
- Returns:
- value of interest
-
setElevationPullRate
Setter forelevationPullRate
- Parameters:
pElevationPullRate
- new value of interest- Returns:
- same object to permit progressive setters
-
getElevationPullRate
public float getElevationPullRate()Getter forelevationPullRate
- Returns:
- value of interest
-
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
public int getPadding3()Getter forpadding3
- Returns:
- value of interest
-
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, forthis
and the supplied object- Parameters:
obj
- the object to compare to- Returns:
- true if the objects are equal, false otherwise.
-
toString
-
hashCode
public int hashCode()
-