SUBSIM Radio Room Forums



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

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 09-06-12, 05:09 AM   #1
dottore
Seaman
 
Join Date: Mar 2010
Location: Hungary
Posts: 32
Downloads: 138
Uploads: 0
Default Semi-automatic Celestial Navigation

Original don1reed: http://www.subsim.com/radioroom/show...llarium&page=2

Yesterday, based on the original idea of don1reed(Thank you sir!) I began to work on the semi-automatic CelNav to implement this nice function in Silent Hunter 5:

1. phase (Under development):

Using Python script to get the needed data from the only actual CampaignMission.mis file. Push this to the startup.ssc(The new Stellarium script extension) they made a whole new API so I needed to mine deep into.

2. phase (In the very near future):

After I made my celestial body inspects, Stars, Moon, Sun etc. I'd like to calculate my current pos with an application written in C# or B#.


Pros:
. You don't need to know your Current Pos, before you begin to calculate your Current Pos . That was funny .
. If you're not a navigator or a hobby astronomer yet you can enjoy the success with your CelOb inspects.
. You can navigate in bad weather too or even under water, but that's not realistic so not recommended.

Cons:
. You need some software: Stellarium above 0.11.3, The Python interpreter ( Future: automated install with everything, and batch file to execute) and my exe file from 2. phase (Required: Dotnetfx 2.0 or above).
. You need time, patience, and time Interest, if you want to navigate like a real navigator.

I use Python for data mine, because of it's talent in. Visual family from Microsoft is best for object-oriented programming (2. phase).

Software reqs:

.Python

.Stellarium 0.11.3 or above (if they change the programming language in the future, then I need some modification) Important: you need to configure config.ini, change timezone to UTC time and change display settings to best your system is capable.

Last edited by dottore; 09-06-12 at 08:09 PM. Reason: notes
dottore is offline   Reply With Quote
 

Tags
bad weather, celestial navigation, position, script, stellarium


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 05:49 PM.


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