![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
12-24-10, 05:00 PM
|
#11 | |
|
Black Magic
![]() |
Quote:
The way I'm calculating it doesn't need scaling. Scaling is taken care of via the distance travelled. i.e.: the random error % is applied to distance travelled. If random error % is say 0.1 and: - distance travelled is 100m then error is 10m - distance travelled is 1000m then error is 100m - distance travelled is 10000m then error is 1000m As you can see the error automatically scales to the total distance between fixes. I like the random error % because sometimes navigator can be accurate, sometimes inaccurate (tired, stressed, etc.). This more simulates real life. The only snag in this whole distance travelled is I don't record every movement of the sub. i.e. I don't record every turn, every speed up, slow down, etc. Thus the error distance calculated will be applied to a random function to determine the x component of the error distance and another random function to determine the y component of the error distance. i.e.: error distance comes out to be 1000m. 1000m will be passed into two random functions as -1000 and 1000 to detemine the final x and y components to add to the current fix to determine final fix position. |
|
|
|
| Tags |
| dbrn, favorite, new ui |
|
|
