![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 |
The Old Man
![]() Join Date: May 2005
Location: Czech Republic
Posts: 1,458
Downloads: 6
Uploads: 0
|
![]()
Ok .. here is the demo: http://roger.questions.cz/other/AutoTMA.zip
![]() It is useless for actual TMA, it only tests and demonstrates the method. White circles represents ownship. White lines are the LOBs. Blue circles is test target. It is used to generate the LOBs. Green circles is the solution computed from the LOBs. You can use left mouse button to move the test target, and right mouse button to change it's course and speed. Solution is recomputed. It should place the green circles into the blue ones. Note that with manual test target placement it is almost impossible to create 'no solution' situation. You simply won't be able to create the LOBs parallel enough and even slight change in direction will be taken into acount and solution will be found (end pretty exact one too). This uses the matrix mentioned above. I only had small glitch in matrix determinant, it was easy to find and fix when I knew the matrix is OK. |
![]() |
![]() |
#2 |
Ace of the Deep
![]() Join Date: Jun 2005
Location: Palm Beach, Florida
Posts: 1,243
Downloads: 53
Uploads: 8
|
![]()
Why would you say it's useless?
I assume the green and blue dots represent both actual track and formula track. |
![]() |
![]() |
#3 | |
The Old Man
![]() Join Date: May 2005
Location: Czech Republic
Posts: 1,458
Downloads: 6
Uploads: 0
|
![]() Quote:
The tool is useless as it is. You cant edit ownship location or enter LOBs. You can't use it to detect YOUR sub. That's how I meant it. The formulas are not useless, they are even better then I thought ! I guess it could be made part of MoBo easily. I could also make some standalone tool for that but I would need to copy so much of MoBo functionality, that it gives really no sense. Sorry if something is not clear, English is not my native language. |
|
![]() |
![]() |
#4 |
Ace of the Deep
![]() Join Date: Jun 2005
Location: Palm Beach, Florida
Posts: 1,243
Downloads: 53
Uploads: 8
|
![]()
Well, if you like I would be happy to add your formula as a MoBo tool...
It looks like something I was wanting to work toward anyway and this would save me probably a month of research. If you decide that you'd like to contribute your code to the MoBo project, you would be acknowledged as a member of the MoBo Dev Team and given appropriate credit in the application. In addition to updating the 1.1 Beta, I'm also working on developing a new retained-mode vector graphics interface (MoBo 2.0, or "MoPro"). I may rename the MoBo app in version 2 cuz I'm tired of searching for "MoBo" and finding a bunch of junk related to PC motherboards... hindsight is always 20/20. |
![]() |
![]() |
#5 | |
The Old Man
![]() Join Date: May 2005
Location: Czech Republic
Posts: 1,458
Downloads: 6
Uploads: 0
|
![]() Quote:
|
|
![]() |
![]() |
#6 | |
Ace of the Deep
![]() Join Date: Jun 2005
Location: Palm Beach, Florida
Posts: 1,243
Downloads: 53
Uploads: 8
|
![]() Quote:
I'd like to see how the formula behaves when interpretting less precise human plots. |
|
![]() |
|
|