![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|||||||||
|
|
Thread Tools | Display Modes |
05-14-13, 11:07 AM
|
#11 |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
quick addition: my previous example supposed that maximum error didn't change from first to second range estimation, thus the threshold of 2 x maximum error. Nonetheless, we should take into account the fact that the maximum allowed amount of error can change, as consequence of the fact that our target is closing or moving away. A more general rule for deciding wether to calculate a new range estimation, or using the previous one should be:
if DC < ME1 + ME2 then return last randomized range, else calculate new estimation were: DC = distance changed ME1 = maximum allowed error for the last randomized range ME2 = current maximum allowed error P.S: another cool feature, would be rounding the randomized ranges returned by the WO: estimated ranges ≤ 10,000m rounded to the closest thousand (i.e: 11,000, 16,000, etc.) estimated ranges > 10,000m and ≤ 1,000m ronded to the closest hundred (i.e. 1,500, 3,200, etc.) estimated ranges > 1,000m rounded to the closest ten (i.e: 950, 580, etc.) Last edited by gap; 05-14-13 at 11:24 AM. |
|
|
| Thread Tools | |
| Display Modes | |
|
|
