Dear Sir/madam,
I'm testing the Gtrack code on the PC with synthetic targets and bump into a divide by zero problem. If you are tracking single points: config.advParams.allocationParams.pointsThre = 0.
In the file: gtrack_unit_update.c
In the function: gtrack_unitUpdate
In the line: alpha = ((float)(inst->estNumOfPoints-myPointNum))/((inst->estNumOfPoints-1)*myPointNum);
If value is inst->estNumOfPoints ==1, then this becomes a dived by 0, resulting in an NaN value in alpha, messing up all the matrix operations afterwards.
Could you support to fix this issue, or help me fixing it?