Quote:
Originally Posted by gap
Thank you TDW
your work is very much appreciated here, but I have a little remark (hope you don't mind) 
Is there any particular reason for your new code to compare the distance changed with the fixed value of 500 m, ? I liked more the method you had described yesterday, where distance changed was compared with variable amount (see quote below), because it would have made mathematically sure that consecuitive range estimations decreased for closing targets and increased for targets moving away. Moreover, it would have made range estimations to be recalculated more often for close targets (smaller variable amount) than for far ones, which seems pretty realistic to me 
|
By variable amount I meant the variable's value as defined in the patch file. What I've coded in does what I meant: ABS(distance before - distance now) > variable defined in patch file then recalc random distance else return old random distance. This will ensure new random distances are calculated for closing or moving away contacts.