-
Notifications
You must be signed in to change notification settings - Fork 16
EntityStatePDU
Struct container for all information that is contained inside of a DIS Entity State PDU.
struct FEntityStatePDU
: public FEntityInformationFamilyPDU
- CoreMinimal
- UObject/NoExportTypes.h
- <dis6/EntityStatePdu.h>
- PDUs/EntityInfoFamily/GRILL_EntityStateUpdatePDU.h
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). |
Name | Description |
---|---|
FEntityStatePDU() | Default constructor |
Name | Description |
---|---|
~FEntityStatePDU() | Default destructor |
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 |
Return | Name | Description |
---|---|---|
FEntityStatePDU& | operator=(FEntityStateUpdatePDU EntityStateUpdatePDUIn) | Converts an FEntityStateUpdatePDU struct to an FEntityStatePDU struct. |
FEntityType AlternativeEntityType
The type of the entity as it should appear to entities of other forces.
Category: GRILL DIS|Structs|PDUs|EntityState
TArray<FArticulationParameters> ArticulationParameters
A set of parameter values for each variable parameter record that is included.
Category: GRILL DIS|Structs|PDUs|EntityState
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
FDeadReckoningParameters DeadReckoningParameters
The dead reckoning algorithm to use for the entity accompanied by the required additional parameters.
Category: GRILL DIS|Structs|PDUs|EntityState
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
FEntityID EntityID
The site, application, and unique identifier for this entity.
Category: GRILL DIS|Structs|PDUs|EntityState
FVector EntityLinearVelocity
The entity's linear velocity in meters per second.
Category: GRILL DIS|Structs|PDUs|EntityState
FVector EntityLocation
The location of the entity in ECEF - floating point (32-bit) precision.
Category: GRILL DIS|Structs|PDUs|EntityState
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.
Category: GRILL DIS|Structs|PDUs|EntityState
FEntityType EntityType
The type of the entity.
Category: GRILL DIS|Structs|PDUs|EntityState
EForceID ForceID
Enumeration to distinguish different teams or sides in a scenario.
FString Marking
String representing the name of the entity (Maximum 11 characters).
Category: GRILL DIS|Structs|PDUs|EntityState
FEntityStatePDU() : FEntityInformationFamilyPDU()
Default constructor.
virtual ~FEntityStatePDU()
Default destructor.
void SetupFromOpenDIS
(
DIS::EntityStatePdu* EntityStatePDUIn
)
Converts an OpenDIS EntityStatePdu struct to an FEntityStatePDU struct.
Parameter | Description |
---|---|
EntityStatePDUIn | The OpenDIS EntityStatePdu struct to convert. |
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. |
FEntityStateUpdatePDU ToEntityStateUpdatePDU()
Conversion to OpenDIS EntityStatePdu struct
Returns |
---|
An array of bytes containing the information from this FEntityStatePDU. |
virtual TArray<uint8> ToBytes() override
Conversion to OpenDIS EntityStatePdu struct
Returns |
---|
An array of bytes containing the information from this FEntityStatePDU. |
FEntityStatePDU& operator=
(
FEntityStateUpdatePDU EntityStateUpdatePDUIn
)
Converts an FEntityStateUpdatePDU struct to an FEntityStatePDU struct.
Parameter | Description |
---|---|
EntityStateUpdatePDUIn | The FEntityStateUpdatePDU to convert. |
Returns |
---|
The converted FEntityStatePDU struct. |