SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Special Projects > MoBo - Electronic Maneuvering Board
Forget password? Reset here

 
 
Thread Tools Display Modes
Old 11-08-07, 08:16 AM   #1
Dr.Sid
The Old Man
 
Join Date: May 2005
Location: Czech Republic
Posts: 1,458
Downloads: 6
Uploads: 0
Default

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.
Dr.Sid is offline  
Old 11-08-07, 08:30 AM   #2
XLjedi
Ace of the Deep
 
Join Date: Jun 2005
Location: Palm Beach, Florida
Posts: 1,243
Downloads: 53
Uploads: 8
Default

Why would you say it's useless?

I assume the green and blue dots represent both actual track and formula track.
__________________
XLjedi is offline  
Old 11-08-07, 08:38 AM   #3
Dr.Sid
The Old Man
 
Join Date: May 2005
Location: Czech Republic
Posts: 1,458
Downloads: 6
Uploads: 0
Default

Quote:
Originally Posted by aaronblood
Why would you say it's useless?

I assume the green and blue dots represent both actual track and formula track.
Blue ones are the actual track, green ones is the formula. With leg in ownship course I haven't found case where green ones don't match blue ones.


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.
Dr.Sid is offline  
Old 11-08-07, 09:25 AM   #4
XLjedi
Ace of the Deep
 
Join Date: Jun 2005
Location: Palm Beach, Florida
Posts: 1,243
Downloads: 53
Uploads: 8
Default

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.
__________________
XLjedi is offline  
Old 11-08-07, 09:32 AM   #5
Dr.Sid
The Old Man
 
Join Date: May 2005
Location: Czech Republic
Posts: 1,458
Downloads: 6
Uploads: 0
Default

Quote:
Originally Posted by aaronblood
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.
Ok .. check your private messages for contact.
Dr.Sid is offline  
Old 11-08-07, 09:30 AM   #6
XLjedi
Ace of the Deep
 
Join Date: Jun 2005
Location: Palm Beach, Florida
Posts: 1,243
Downloads: 53
Uploads: 8
Default

Quote:
Originally Posted by Dr.Sid
Blue ones are the actual track, green ones is the formula. With leg in ownship course I haven't found case where green ones don't match blue ones..
Could you adjust your test case to add a small amount of random LOB error? Maybe +-2°

I'd like to see how the formula behaves when interpretting less precise human plots.
__________________
XLjedi is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 09:40 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.