Skip to content

EntityStateUpdatePDU

huggins edited this page May 3, 2023 · 4 revisions

Entity State Update PDU

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

struct FEntityStateUpdatePDU 
	: public FEntityInformationFamilyPDU

Includes

Back to Top


Members

Type Name Description
TArray<FArticulationParameters> ArticulationParameters A set of parameter values for each variable parameter record that is included.
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.
int32 Padding1 An 8 bit field of unused padding

Back to Top


Constructors

Name Description
FEntityStateUpdatePDU() Default constructor

Destructors

Name Description
~FEntityStateUpdatePDU() Default destructor

Functions

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

Back to Top


Details

ArticulationParameters

TArray<FArticulationParameters> ArticulationParameters

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

Category: GRILL DIS|Structs|PDUs|EntityStateUpdate

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|EntityStateUpdate

Back to Top


EntityID

FEntityID EntityID

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

Category: GRILL DIS|Structs|PDUs|EntityStateUpdate

Back to Top


EntityLinearVelocity

FVector EntityLinearVelocity

The entity's linear velocity in meters per second.

Category: GRILL DIS|Structs|PDUs|EntityStateUpdate

Back to Top


EntityLocation

FVector EntityLocation

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

Category: GRILL DIS|Structs|PDUs|EntityStateUpdate

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|EntityStateUpdate

Back to Top


Padding1

int32 Padding1

An 8 bit field of unused padding

Back to Top


FEntityStateUpdatePDU

FEntityStateUpdatePDU() : FEntityInformationFamilyPDU()

Default constructor.

Back to Top


~FEntityStateUpdatePDU

virtual ~FEntityStateUpdatePDU()

Default destructor.

Back to Top


SetupFromOpenDIS

void SetupFromOpenDIS
(
	DIS::EntityStateUpdatePdu* EntityStateUpdatePDUIn
)

Converts an OpenDIS EntityStateUpdatePdu struct to an FEntityStateUpdatePDU struct.

Parameter Description
EntityStateUpdatePDUIn The OpenDIS EntityStateUpdatePdu struct to convert.

Back to Top


ToBytes

void ToOpenDIS
(
	DIS::EntityStateUpdatePdu& EntityStateUpdatePDUOut
)

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

Parameter Description
EntityStateUpdatePDUOut The OpenDIS EntityStateUpdatePdu struct representation of this FEntityStateUpdatePDU.

Back to Top


ToOpenDIS

virtual TArray<uint8> ToBytes() override

Conversion to OpenDIS EntityStateUpdatePdu struct

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

Back to Top


Clone this wiki locally