This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AWR2944: The definition of the function gtrack_calcMeasurementSpread

Part Number: AWR2944


Hi,

  In the  \mmwave_mcuplus_sdk_04_02_00_01\ti\alg\gtrack\src\gtrack_utilities_3d.c file, the function gtrack_calcMeasurementSpread is defined as belows:

void gtrack_calcMeasurementSpread(float range, GTRACK_gateLimits *gate_limits, GTRACK_measurement_vector *estSpread)
{
    if(gate_limits->depth <= FLT_MIN)
        estSpread->range = GTRACK_NOMINAL_RANGE_SPREAD;
    else
        estSpread->range = gate_limits->depth;

    if(gate_limits->width <= FLT_MIN)
        estSpread->azimuth = GTRACK_NOMINAL_ANGULAR_SPREAD;
    else
        estSpread->azimuth = 2*atanf((gate_limits->width/2)/range);

    if(gate_limits->height <= FLT_MIN)
        estSpread->elev = GTRACK_NOMINAL_ANGULAR_SPREAD;
    else
        estSpread->elev = 2*atanf((gate_limits->width/2)/range);

    /* Initial value of doppler spread */
    estSpread->doppler = GTRACK_NOMINAL_DOPPLER_SPREAD;
}

In the above code:  estSpread->elev = 2*atanf((gate_limits->width/2)/range); is there anything wrong?  Should the correct description be estSpread->elev = 2*atanf((gate_limits->height/2)/range)?I dont know my understanding is right or not.If wrong,why should the value estSpread->elev be like this?

BR

Rata