WsfBMTrackMessage

WsfBMTrackMessage inherits WsfMessage

Construction: WsfBMTrackMessage newObj = WsfBMTrackMessage();
Clone: WsfBMTrackMessage newObj = WsfBMTrackMessage(other);

WsfBMTrackMessage is the script interface for the battle manager internal track object.

Methods

void SetDataTime(double time)

Sets time the data in message corresponds to.

double GetDataTime()

Gets time the data in message corresponds to.

void SetUpdateInterval(double interval_time_secs)

Sets the track update interval(expected time between updates)

double GetUpdateInterval()

Gets the track update interval(expected time between updates)

void SetTrackID(int reporting_platform_idx, int tan)

Sets the track identification.

Parameters

int reporting_platform_idx: Reporting Platform Index.

int tan: Track number.

int GetTrackingSystemID()

Gets the reporting_platform_idx set within the [SetTrackID]{#SetTrackID call.

int GetTrackingSystemTrackID()

Gets the tan set within the [SetTrackID]{#SetTrackID} call.

void SetLLA(double lat_rads, double lon_rads, double alt_meters)

Sets the track position.

double GetLat()

Returns the latitude set in SetLLA in radians.

double GetLon()

Returns the longitude set in SetLLA in radians.

double GetAlt()

Returns the altitude set in SetLLA in meters.

void SetECEFVel(double Vx_ms, double Vy_ms, double Vz_ms)

Sets the track ECEF velocity.

double GetVx()

Returns the ECEF-X velocity component set in SetECEFVel in meters/second.

double GetVy()

Returns the ECEF-Y velocity component set in SetECEFVel in meters/second.

double GetVz()

Returns the ECEF-Z velocity component set in SetECEFVel in meters/second.

void SetCovarianceMatrix(WsfCovariance covariance)

Sets the covariance matrix of the track.

WsfCovariance GetCovarianceMatrix()

Gets the covariance matrix of the track set in SetCovarianceMatrix

void SetHeadingDegs(double heading_degrees)

Sets the track heading in degrees wrt true north.

void SetOrientationDegs(double psi_degs, double theta_degs, double phi_degs)

Sets the Euler angles of the reported platform wrt ECEF coordinates.

double GetOrientationPsiDegs()

Gets psi component of the ECEF orientation set in the call to SetOrientationDegs in degrees.

double GetOrientationThetaDegs()

Gets theta component of the ECEF orientation set in the call to SetOrientationDegs in degrees.

double GetOrientationPhiDegs()

Gets phi component of the ECEF orientation set in the call to SetOrientationDegs in degrees.

void SetType(string type, string subtype)

Sets the track type and subtype as strings. These will be the typing information that the battle manager uses in threat evaluation.

string GetType()

Gets the type string set in the call to SetType.

string GetSubType()

Gets the subtype string set in the call to SetType.

void SetTrackingStatusNormal()

Sets the tracking status of the track to normal.

void SetTrackingStatusCoasting()

Sets the tracking status of the track to coasting(missed update).

void SetTrackingStatusTimedOut()

Sets the tracking status of the track to timed-out.

void SetTrackingStatusDropping()

Sets the tracking status of the track to dropping.

void SetTrackingStatusDropped()

Sets the tracking status of the track to dropped.

bool IsTrackingStatusNormal()

Returns true if the tracking status is normal, otherwise false.

bool IsTrackingStatusCoasting()

Returns true if the tracking status is coasting, otherwise false.

bool IsTrackingStatusTimedOut()

Returns true if the tracking status is timed-out, otherwise false.

bool IsTrackingStatusDropping()

Returns true if the tracking status is dropping, otherwise false.

bool IsTrackingStatusDropped()

Returns true if the tracking status is dropped, otherwise false.

void SetAltitudeReliable(bool is_reliable)

Sets the altitude as reliable if true, otherwise unreliable.

Currently unsupported

bool GetAltitudeReliable(bool is_reliable)

Returns true if altitude was set to reliable(via the call to SetAltitudeReliable), otherwise false.

Currently unsupported

void SetIFFUnknown()

Sets the IFF status of the track to unknown.

void SetIFFFriendly()

Sets the IFF status of the track to friendly.

void SetIFFHostile()

Sets the IFF status of the track to hostile.

void SetIFFNeutral()

Sets the IFF status of the track to neutral.

bool IsIFFUnknown()

Returns true if the tracking status is unknown, otherwise false.

bool IsIFFFriendly()

Returns true if the tracking status is friendly, otherwise false.

bool IsIFFHostile()

Returns true if the tracking status is hostile, otherwise false.

bool IsIFFNeutral()

Returns true if the tracking status is neutral, otherwise false.

void SetManeuveringFlag(bool is_maneuvering)

Sets the track as maneuvering if the flag is set to true, otherwise maneuvering will be set to false.

bool GetManeuveringFlag()

Returns true if the track maneuvering was set to true, otherwise false.

void SetQuantity(int quantity)

Allows setting of the track strength.

int GetQuantity()

Returns strength setting from the call to SetQuantity.

void SetJamming(bool is_jamming)

Sets track as jamming if true, otherwise not jamming.

bool GetJamming()

Returns true if the track jamming flag is set, otherwise false.

void SetJammingPower(double power_dB)

Sets track jamming power in dB.

double GetJammingPower()

Returns the jamming power in dB set in the call to SetJammingPower.

void SetTargetTruthName(string truth_platform_name)

Sets target truth name for logging purposes.

string GetTargetTruthName()

Returns the target truth name set in the call to SetTargetTruthName.

void SetTargetTruthID(int target_truth_platform_id)

Sets target truth platform index for logging purposes.

int GetTargetTruthID()

Returns the target truth platform index set in the call to SetTargetTruthID.

void SetReportingSensorType(string reporting_sensor_type)

Sets reporting sensor type string.

string GetTargetTruthID()

Returns the reporting sensor type string set in the call to SetReportingSensorType.