DisEntityState¶
- DisEntityState inherits DisPdu
DisEntityState.EntityId DisEntityState.ForceId DisEntityState.EntityPartCount DisEntityState.EntityType DisEntityState.AlternativeEntityType DisEntityState.Velocity DisEntityState.Location DisEntityState.Orientation DisEntityState.Appearance DisEntityState.DeadreckoningAlgorithm DisEntityState.Acceleration DisEntityState.AngularVelocity DisEntityState.MarkingCharSet DisEntityState.MarkingChars DisEntityState.Capabilities DisEntityState.EntityPart
Overview¶
DisEntityState is an implementation of the DIS entity state PDU. Entity state PDUs are used to communicate information about the state of a platform. This data includes position, orientation, velocity, acceleration and appearance.
Methods¶
- DisEntityId EntityId()¶
Returns the ID of the subject platform.
- int ForceId()¶
Returns the ID of the platform’s team.
- int EntityPartCount()¶
Returns the number of articulated parts on the entity.
- DisEntityType EntityType()¶
Returns the type of the platform.
- DisEntityType AlternativeEntityType()¶
Returns an alternative type of the platform.
- Array<double> Velocity()¶
Returns the velocity of the platform in meters per second in a geocentric coordinate system.
- Array<double> Location()¶
Returns the location of the platform in meters in a geocentric coordinate system.
- Array<double> Orientation()¶
Returns the orientation of the platform in radians.
- int Appearance()¶
Returns an appearance bit mask for the platform.
- int DeadreckoningAlgorithm()¶
Returns an index identifying the dead reckoning method used by the platform for extrapolation.
- Array<double> Acceleration()¶
Returns the acceleration of the platform in meters per second squared in a geocentric coordinate system.
- Array<double> AngularVelocity()¶
Returns the orientation of the platform in radians per second.
- int MarkingCharSet()¶
Returns the marking character set of the platform.
- DisEntityPart EntityPart(int aIndex)¶
Returns the articulated part associated with the given index, aIndex.