WSF
WsfNonExportableUtil Class Reference

#include <WsfNonExportableUtil.hpp>

Static Public Member Functions

static double GetLink16_TrackQuality (double aSimTime, const WsfTrack &aTrack)
static double GetLink16_TrackQuality (double aSimTime, double aTrackUpdateTime, const UtCovariance &aCovar, double aSpeed=0.0)
static double GetLink16_TrackQuality (double aSimTime, double aTrackUpdateTime, double aVarTp, double aSpeed=0.0)
static UtCovariance * ConvertLink16_TrackQualityToSphericalCovariance (double aLink16_TrackQuality)

Detailed Description

A set of utilities that perform generic calculations among WSF objects. The non-exportable version contains link-16 specific algorithms.

Member Function Documentation

◆ ConvertLink16_TrackQualityToSphericalCovariance()

UtCovariance * WsfNonExportableUtil::ConvertLink16_TrackQualityToSphericalCovariance ( double aLink16_TrackQuality)
static

Given a Link-16 track quality (see mil-std 6016C, pp 303-305), stuff the equivalent variance into the diagonals of a 3x3 matrix, producing an equivalent spherical covariance matrix.

Parameters
aLink16_TrackQualitythe track quality computed according to the 6016C standard and normalized into the range 0-1.
Returns
a 3x3 matrix with the diagonal elements set to the variance associated with the track quality. This is a "pseudo" covariance matrix that has a spherical representation.
Note
It is the responsibility of the caller to delete the returned matrix.

◆ GetLink16_TrackQuality() [1/3]

double WsfNonExportableUtil::GetLink16_TrackQuality ( double aSimTime,
const WsfTrack & aTrack )
static

Compute the Link-16 track quality for a given track. This method does not currently support the sensor platform's location error. The given track should have a valid state or measurement covariance for accurate computation.

Parameters
aSimTimeThe simulation time.
aTrackThe track used to compute the Link-16 track quality.
Returns
the WSF-normalized Link-16 track quality, in the range 0.0-1.0 (not 0-15).

References GetLink16_TrackQuality(), WsfTrack::GetTrackQuality(), and WsfTrack::GetUpdateTime().

Referenced by GetLink16_TrackQuality(), GetLink16_TrackQuality(), and WsfL16::SurveillancePart::HandleSend().

◆ GetLink16_TrackQuality() [2/3]

double WsfNonExportableUtil::GetLink16_TrackQuality ( double aSimTime,
double aTrackUpdateTime,
const UtCovariance & aCovar,
double aSpeed = 0.0 )
static

(Deprecated) Compute the Link-16 track quality for a given track. This method does not currently support the sensor platform's location error. The given track must have a valid covariance matrix.

Parameters
aSimTimeThe current simulation time.
aTrackUpdateTimeSimulation time at which the track was previously updated.
aCovarThe covariance that is used to create the track quality.
aSpeedThe current estimated speed of the tracked object (optional).
Returns
the WSF-normalized Link-16 track quality, in the range 0.0-1.0 (not 0-15). If the track quality cannot be computed, zero is returned.

References GetLink16_TrackQuality().

◆ GetLink16_TrackQuality() [3/3]

double WsfNonExportableUtil::GetLink16_TrackQuality ( double aSimTime,
double aTrackUpdateTime,
double aVarTp,
double aSpeed = 0.0 )
static

Compute the Link-16 track quality for a given track. This method does not currently support the sensor platform's location error.

Parameters
aSimTimeThe current simulation time.
aTrackUpdateTimeSimulation time at which the track was previously updated.
aVarTpThe average uncertainty in position squared (average variance).
aSpeedThe current estimated speed of the tracked object (optional).
Returns
the WSF-normalized Link-16 track quality, in the range 0.0-1.0 (not 0-15). If the track quality cannot be computed, zero is returned.

The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved