Struct LocData_Packet_i_j

Struct Documentation

struct LocData_Packet_i_j

Location Data.

Note

i indicates the PDU number j indicates Location data packet number in a PDU PDU ID for the first PDU is 0x13370001 and increments as the PDU number increases like LocData_0: 0x13370001, LocData_1: 0x13370002 … LocData_63: 0x13370040

Public Functions

void betoh()

Convert content from big endian to host byte order (for each member)

void check()

Check signals in struct for range and replace with SNA if out of range.

Public Members

float LocData_RadDist_i_j

Radial Distance.

Note

Unit: m

float LocData_RadRelVel_i_j

Radial Relative Velocity.

Note

Unit: m/s

float LocData_AziAng_i_j

Azimuth Angle.

Note

Unit: rad

float LocData_EleAng_i_j

Elevation Angle.

Note

Unit: rad

float LocData_Rcs_i_j

Radar Cross Section.

Note

Unit: dBm^2

float LocData_Snr_i_j

SNR.

Note

Unit: dB

float LocData_RadDistVar_i_j

Variance of Radial Distance measured.

Note

Unit: m^2

float LocData_RadRelVelVar_i_j

Variance of Radial Relative velocity measured.

Note

Unit: m^2/s^2

float LocData_VarAzi_i_j

Variance of Azimuth Angle measured.

Note

Unit: rad^2

float LocData_VarEle_i_j

Variance of Elevation Angle measured.

Note

Unit: rad^2

float LocData_DistVelCov_i_j

Covariance of Radial Distance and Velocity measured.

Note

Unit: m^2/s

float LocData_ProVelRes_i_j

Probability of velocity resolution processing.

float LocData_ProAziAng_i_j

Probability for correct signal model for azimuth angle.

float LocData_ProEleAng_i_j

Probability for correct signal model for elevation angle.

uint16_t LocData_MeasStat_i_j

Measurement Status.

Note

Bit 0 - Measured and Range check passed Bit 1 - Two target estimator azimuth Bit 2 - Two target estimator elevation Bit 3 - Location standing Bit 4 - Two target VAR estimator active Bit 5 - Low power location Bit 6 - Azimuth ambiguity location Bit 7 - Elevation ambiguity location

uint16_t LocData_IdAngAmb_i_j

Index Angle Ambiguity.

Note

The signal indicates index of Location Peer of Angle Ambiguity If an azimuth\elevation ambiguity is detected the index of the location which is the azimuth or elevation ambiguity peer is set. For unambiguous location the signal value will be set to 0xFFFF Example: If the two Location with Location Index (10 and 11) are ambiguous then Location 10: LocData_IdAziAmb_i_j = 11 Location 11: LocData_IdAziAmb_i_j = 10 Currently, the signal LocData_IdAngAmb_i_j refers only to Elevation Ambiguity and not Azimuth Ambiguity

std::array<uint8_t, 12> LocData_Reserved_i_j

Reserved.

Note

Fixed value 0xFF (all 12 Bytes)

Public Static Attributes

static constexpr Range<float> r_LocData_RadDist_i_j = {0.0F, 302.0F, NAN}
static constexpr Range<float> r_LocData_RadRelVel_i_j = {-110.0F, 55.0F, NAN}
static constexpr Range<float> r_LocData_AziAng_i_j = {-1.5708F, 1.5708F, NAN}
static constexpr Range<float> r_LocData_EleAng_i_j = {-0.785398F, 0.785398F, NAN}
static constexpr Range<float> r_LocData_Rcs_i_j = {-50.0F, 70.0F, NAN}
static constexpr Range<float> r_LocData_Snr_i_j = {0.0F, 31.0F, NAN}
static constexpr Range<float> r_LocData_RadDistVar_i_j = {0.0F, 0.05F, NAN}
static constexpr Range<float> r_LocData_RadRelVelVar_i_j = {0.0F, 0.1F, NAN}
static constexpr Range<float> r_LocData_VarAzi_i_j = {0.0F, 0.0174533F, NAN}
static constexpr Range<float> r_LocData_VarEle_i_j = {0.0F, 0.0174533F, NAN}
static constexpr Range<float> r_LocData_DistVelCov_i_j = {-0.1F, 0.1F, NAN}
static constexpr Range<float> r_LocData_ProVelRes_i_j = {0.0F, 255.0F, NAN}
static constexpr Range<float> r_LocData_ProAziAng_i_j = {0.0F, 255.0F, NAN}
static constexpr Range<float> r_LocData_ProEleAng_i_j = {0.0F, 255.0F, NAN}
static constexpr Range<uint16_t> r_LocData_MeasStat_i_j = {0u, 255u, 0xFFFF}
static constexpr Range<uint16_t> r_LocData_IdAngAmb_i_j = {0u, 1023u, 0xFFFF}