Skip to content

DesignatorPDU

huggins edited this page Apr 10, 2025 · 2 revisions

Designator PDU

Struct container for all information that is contained inside of a DIS Designator PDU.

struct FDesignatorPDU 
    : public FDistributedEmissionsFamilyPDU

Includes

Back to Top


Members

Type Name Description
int32 CodeName This field shall identify the code name for the designator system.
EDeadReckoningAlgorithm DeadReckoningAlgorithm This field will be used to provide parameters for dead reckoning the position of the designator spot.
FEntityID DesignatedEntityID The site, application, and unique identifier for the entity that is currently being designated.
FEntityID DesignatingEntityID The site, application, and unique identifier for the entity that is positioning the designator.
int32 DesignatorCode This field shall identify the designator code being used by the designating entity.
float DesignatorPower This field shall identify the designator output power in watts.
FVector DesignatorSpotLocation This field shall identify the location of the designator spot with respect to the world coordinate system.
FVector DesignatorSpotWrtDesignated This field shall specify the location of the designator spot with respect to the designated entity's coordinate system when the spot is on an entity. If the Designated Entity is D-SPOT_NO_ENTITY, then this field shall contain the location [0, 0, 0].
float DesignatorWavelength This field shall identify the designator wavelength in units of microns.
FVector EntityLinearAcceleration This field shall specify the designator spot's linear acceleration.
int32 Padding1 Padding.
uint8 Padding2 Padding.

Back to Top


Constructors

Name Description
FDesignatorPDU() Default constructor

Destructors

Name Description
~FDesignatorPDU() Default destructor

Functions

Return Name Description
SetupFromOpenDIS(const DIS::DesignatorPdu& DesignatorPDUIn) Converts an OpenDIS DesignatorPdu struct to an FDesignatorPDU struct.
TArray<uint8> ToBytes() Conversion to an array of bytes. Allows for an FDesignatorPDU struct to be sent out with a UDP send socket.
ToOpenDIS(DIS::ElectromagneticEmissionBeamData& out) Conversion to OpenDIS DesignatorPdu struct

Back to Top


Details

Code Name

int32 CodeName = 0

This field shall identify the code name for the designator system.

Category: GRILL DIS|Structs|PDUs|Designator

Back to Top


Dead Reckoning Algorithm

EDeadReckoningAlgorithm DeadReckoningAlgorithm = EDeadReckoningAlgorithm::Static

This field will be used to provide parameters for dead reckoning the position of the designator spot.

Category: GRILL DIS|Structs|PDUs|Designator

Back to Top


Designated Entity ID

FEntityID DesignatedEntityID

The site, application, and unique identifier for the entity that is currently being designated.

Category: GRILL DIS|Structs|PDUs|Designator

Back to Top


Designating Entity ID

FEntityID DesignatingEntityID

The site, application, and unique identifier for the entity that is positioning the designator.

Category: GRILL DIS|Structs|PDUs|Designator

Back to Top


Designator Code

int32 DesignatorCode = 0

This field shall identify the designator code being used by the designating entity.

Category: GRILL DIS|Structs|PDUs|Designator

Back to Top


Designator Power

float DesignatorPower = 0

This field shall identify the designator output power in watts.

Category: GRILL DIS|Structs|PDUs|Designator

Back to Top


Designator Spot Location

FVector DesignatorSpotLocation

This field shall identify the location of the designator spot with respect to the world coordinate system.

Category: GRILL DIS|Structs|PDUs|Designator

Back to Top


Designator Spot Wrt Designated

FVector DesignatorSpotWrtDesignated

This field shall specify the location of the designator spot with respect to the designated entity's coordinate system when the spot is on an entity. If the Designated Entity is D-SPOT_NO_ENTITY, then this field shall contain the location [0, 0, 0].

Category: GRILL DIS|Structs|PDUs|Designator

Back to Top


Designator Wavelength

float DesignatorWavelength = 0

This field shall identify the designator wavelength in units of microns.

Category: GRILL DIS|Structs|PDUs|Designator

Back to Top


Entity Linear Acceleration

FVector EntityLinearAcceleration

This field shall specify the designator spot's linear acceleration.

Category: GRILL DIS|Structs|PDUs|Designator

Back to Top


Padding 1

int32 Padding1 = 0

Padding

Category: GRILL DIS|Structs|PDUs|Designator

Back to Top


Padding 2

uint8 Padding2 = 0

Padding

Category: GRILL DIS|Structs|PDUs|Designator

Back to Top


FDesignatorPDU

FDesignatorPDU() 
    : FDistributedEmissionsFamilyPDU()

Default constructor.

Back to Top


~FDesignatorPDU

virtual ~FDesignatorPDU()

Default constructor.

Back to Top


SetupFromOpenDIS

SetupFromOpenDIS
(
    const DIS::DesignatorPdu& Data
)

Converts an OpenDIS DesignatorPdu struct to an FDesignatorPDU struct.

Parameter Description
Data The OpenDIS DesignatorPdu struct to convert.

Back to Top


ToBytes

virtual TArray<uint8> ToBytes() override

Conversion to OpenDIS DesignatorPdu struct

Returns
An array of bytes containing the information from this FDesignatorPDU.

Back to Top


ToOpenDIS

void ToOpenDIS
(
    DIS::DesignatorPdu& out
)

Conversion to an array of bytes. Allows for an FDesignatorPDU struct to be sent out with a UDP send socket.

Parameter Description
out The OpenDIS DesignatorPdu struct representation of this FDesignatorPDU.

Back to Top


Clone this wiki locally