I am confusing that why “RTLSCtrl_estimateAngle” can estimate θ? The average value of two phase difference values (the red color) can got θ? The antenna distance, d, is not applied.
Why not calculate θ by arcsin(), the third step “Covert the phase difference into Angle of Arrival” in following link?
Why not calculate θ by arcsin(), the third step “Covert the phase difference into Angle of Arrival” in following link?
AoA_Sample RTLSCtrl_estimateAngle(const AoA_AntennaResult *antA1Result, const AoA_AntennaResult *antA2Result)
{
// Calculate AoA for each antenna array
const int16_t AoA_A1 = ((antA1Result->pairAngle[0] + antA1Result->pairAngle[1]) / 2) + 45 + antA1Result->channelOffset[antA1Result->ch];
const int16_t AoA_A2 = ((antA2Result->pairAngle[0] + antA2Result->pairAngle[1]) / 2) - 45 - antA2Result->channelOffset[antA2Result->ch];
}