Skip to content

EntityStatePDU

huggins edited this page May 3, 2023 · 5 revisions

Entity State PDU

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

struct FEntityStatePDU 
	: public FEntityInformationFamilyPDU

Includes

Back to Top


Members

Type Name Description
FEntityType AlternativeEntityType The type of the entity as it should appear to entities of other forces.
TArray<FArticulationParameters> ArticulationParameters A set of parameter values for each variable parameter record that is included.
int32 Capabilities A series of enumerations used to describe the capabilities of the entity according to SISO-REF-010-2015 UID 55.
FDeadReckoningParameters DeadReckoningParameters The dead reckoning algorithm to use for the entity accompanied by the required additional parameters.
int32 EntityAppearance A series of enumerations used to describe the appearance of the entity according to SISO-REF-010-2015 UIDs 31-43.
FEntityID EntityID The site, application, and unique identifier for this entity.
FVector EntityLinearVelocity The entity's linear velocity in meters per second.
FVector EntityLocation The location of the entity in ECEF - floating point (32-bit) precision.
TArray<double> EntityLocationDouble The location of the entity in ECEF - double (64-bit) precision.
FRotator EntityOrientation The orientation of the entity in Psi (Yaw), Theta (Pitch), Phi (Roll) - in radians.
FEntityType EntityType The type of the entity
EForceID ForceID Enumeration to distinguish different teams or sides in a scenario.
FString Marking String representing the name of the entity (Maximum 11 characters).

Back to Top


Constructors

Name Description
FEntityStatePDU() Default constructor

Destructors

Name Description
~FEntityStatePDU() Default destructor

Functions

Return Name Description
SetupFromOpenDIS(DIS::EntityStatePdu* EntityStatePDUIn) Converts an OpenDIS EntityStatePdu struct to an FEntityStatePDU struct.
TArray<uint8> ToBytes() Conversion to an array of bytes. Allows for an FEntityStatePDU struct to be sent out with a UDP send socket.
FEntityStateUpdatePDU ToEntityStateUpdatePDU() Converts this FEntityStatePDU struct to an FEntityStateUpdatePDU struct.
ToOpenDIS(DIS::EntityStatePdu& EntityStatePDUOut) Conversion to OpenDIS EntityStatePdu struct

Operator Overloads

Return Name Description
FEntityStatePDU& operator=(FEntityStateUpdatePDU EntityStateUpdatePDUIn) Converts an FEntityStateUpdatePDU struct to an FEntityStatePDU struct.

Back to Top


Details

AlternativeEntityType

FEntityType AlternativeEntityType

The type of the entity as it should appear to entities of other forces.

Category: GRILL DIS|Structs|PDUs|EntityState

Back to Top


ArticulationParameters

TArray<FArticulationParameters> ArticulationParameters

A set of parameter values for each variable parameter record that is included.

Category: GRILL DIS|Structs|PDUs|EntityState

Back to Top


Capabilities

int32 Capabilities

A series of enumerations used to describe the capabilities of the entity according to SISO-REF-010-2015 UID 55.

Category: GRILL DIS|Structs|PDUs|EntityState

Back to Top


DeadReckoningParameters

FDeadReckoningParameters DeadReckoningParameters

The dead reckoning algorithm to use for the entity accompanied by the required additional parameters.

Category: GRILL DIS|Structs|PDUs|EntityState

Back to Top


EntityAppearance

int32 EntityAppearance

A series of enumerations used to describe the appearance of the entity according to SISO-REF-010-2015 UIDs 31-43.

Category: GRILL DIS|Structs|PDUs|EntityState

Back to Top


EntityID

FEntityID EntityID

The site, application, and unique identifier for this entity.

Category: GRILL DIS|Structs|PDUs|EntityState

Back to Top


EntityLinearVelocity

FVector EntityLinearVelocity

The entity's linear velocity in meters per second.

Category: GRILL DIS|Structs|PDUs|EntityState

Back to Top


EntityLocation

FVector EntityLocation

The location of the entity in ECEF - floating point (32-bit) precision.

Category: GRILL DIS|Structs|PDUs|EntityState

Back to Top


EntityLocationDouble

TArray<double> EntityLocationDouble

The location of the entity in ECEF - double (64-bit) precision.

Back to Top


EntityOrientation

FRotator EntityOrientation

The orientation of the entity in Psi (Yaw), Theta (Pitch), Phi (Roll) - in radians.

Category: GRILL DIS|Structs|PDUs|EntityState

Back to Top


EntityType

FEntityType EntityType

The type of the entity.

Category: GRILL DIS|Structs|PDUs|EntityState

Back to Top


ForceID

EForceID ForceID

Enumeration to distinguish different teams or sides in a scenario.

Back to Top


Marking

FString Marking

String representing the name of the entity (Maximum 11 characters).

Category: GRILL DIS|Structs|PDUs|EntityState

Back to Top


FEntityStatePDU

FEntityStatePDU() : FEntityInformationFamilyPDU()

Default constructor.

Back to Top


~FEntityStatePDU

virtual ~FEntityStatePDU()

Default destructor.

Back to Top


SetupFromOpenDIS

void SetupFromOpenDIS
(
	DIS::EntityStatePdu* EntityStatePDUIn
)

Converts an OpenDIS EntityStatePdu struct to an FEntityStatePDU struct.

Parameter Description
EntityStatePDUIn The OpenDIS EntityStatePdu struct to convert.

Back to Top


ToBytes

void ToOpenDIS
(
	DIS::EntityStatePdu& EntityStatePDUOut
)

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

Parameter Description
EntityStatePDUOut The OpenDIS EntityStatePdu struct representation of this FEntityStatePDU.

Back to Top


ToEntityStateUpdatePDU

FEntityStateUpdatePDU ToEntityStateUpdatePDU()

Conversion to OpenDIS EntityStatePdu struct

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

Back to Top


ToOpenDIS

virtual TArray<uint8> ToBytes() override

Conversion to OpenDIS EntityStatePdu struct

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

Back to Top


Operator=

FEntityStatePDU& operator= 
(
	FEntityStateUpdatePDU EntityStateUpdatePDUIn
)

Converts an FEntityStateUpdatePDU struct to an FEntityStatePDU struct.

Parameter Description
EntityStateUpdatePDUIn The FEntityStateUpdatePDU to convert.
Returns
The converted FEntityStatePDU struct.

Back to Top


Clone this wiki locally