Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 16-03-2013, 09:53   #46
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,098
Re: celestial navigation plugin redux

Harmut I believe I did that this morning, or last night, just scroll up to the most recent one I posted Please. It's gotten better, but some transparency on first screen. (Also I finally was told by Chuck what I was doing wrong with Polars). Need to get some good Noaa Polar files for testing. Some of the Australian ones have a different projection and do not work.

Its working much much better and Sean has made some interface improvements. Thanks for testing!

WeatherFax ...
__________________

__________________
rgleason is offline   Reply With Quote
Old 16-03-2013, 10:12   #47
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,098
Re: celestial navigation plugin redux

Tried to compile a release version again, I had downloaded this yesterday too and it appears Sean needs to "fix that isnan thing" as he puts it. Sorry.

Code:
vsop87d.cpp
22>  celestial_navigation_pi.cpp
22>..\..\..\plugins\celestial_navigation_pi\src\celestial_navigation_pi.cpp(224): error C3861: 'isnan': identifier not found
22>  icons.cpp
22>  Generating Code...
24>------ Build started: Project: ALL_BUILD, Configuration: Release Win32 ------
24>  Build all projects
25>------ Skipped Build: Project: PACKAGE, Configuration: Release Win32 ------
25>Project not selected to build for this solution configuration 
26>------ Skipped Build: Project: INSTALL, Configuration: Release Win32 ------
26>Project not selected to build for this solution configuration 
========== Build: 14 succeeded, 1 failed, 0 up-to-date, 11 skipped ==========
__________________

__________________
rgleason is offline   Reply With Quote
Old 16-03-2013, 10:13   #48
Registered User
 
hwecken's Avatar

Join Date: Feb 2012
Location: Germany
Boat: HR382
Posts: 110
Re: celestial navigation plugin redux

Yes weather fax works fine,
i was asking for weather routing see post Weather Routing
__________________
hwecken is offline   Reply With Quote
Old 16-03-2013, 20:05   #49
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: BVI
Boat: bristol 27
Posts: 2,676
Re: celestial navigation plugin redux

ah yes, isnan isinf and NAN all do not work in msvc but I think I have a fix in git now, so it should fix all 3 errors
__________________
boat_alexandra is offline   Reply With Quote
Old 17-03-2013, 12:31   #50
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,098
Re: celestial navigation plugin redux

Dear Sean, git clone'd and cmake C_n_pi It seemed to fail.
When I ran MSVC++ Opencpn in Debug mode this message:
Failed to load celetial_nav_pi /data/IGRFile.COF ....magnetic data will not be available. (Perhaps I need to copy data again to the build directory? Will try that next, would be user error I think!) I include the MSVC debug and release tlog files for C_n_pi

Also the MSVC Debug and Release build Output files.

Hope it is not too much.
__________________
rgleason is offline   Reply With Quote
Old 17-03-2013, 12:58   #51
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,098
Re: celestial navigation plugin redux

Well, I guess I should have copied the
opencpn-git/plugins/celestial_navigation_pi/...data
directory into
opencpn-git/build/plugins/celestial_navigation (make a new directory)

I did that and reloaded MSVC and it started "Parsing include files....." running for a very long time with maybe 2700 files or something. Then I noticed that weather_routing_pi was now recognized and tried to compile, is this correct? I thought it would only compile and work properly under seandepagnier/opencpn branch?


Then when I used MSVC to build a Debug version I got the MSVC output attached and celestial_navigation_pi did not complete. Please see attached celest_nav log file too.
Attached Files
File Type: doc MSVC-output-debug.doc (7.5 KB, 42 views)
File Type: doc celestial_navigation_pi.log.doc (2.2 KB, 44 views)
__________________
rgleason is offline   Reply With Quote
Old 18-03-2013, 04:37   #52
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: BVI
Boat: bristol 27
Posts: 2,676
Re: celestial navigation plugin redux

the celestial navigation plugin is a separate repository and does not need any special branches or depend on anything special. You do need to copy the data files.
__________________
boat_alexandra is offline   Reply With Quote
Old 18-03-2013, 04:40   #53
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: BVI
Boat: bristol 27
Posts: 2,676
Re: celestial navigation plugin redux

Also, you cannot compile while opencpn is running on windows. You have to quit the program before attempting to compile every time, because they cannot be overwritten when in use. This limitation is windows specific, on any other operating system it would not have caused you any issues.
__________________
boat_alexandra is offline   Reply With Quote
Old 18-03-2013, 10:49   #54
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,098
Re: celestial navigation plugin redux

Thanks Sean, sorry.
Have tried it all again, making sure on right branch and head.
Removed celestial_naviagtion_pi and git cloned again.
Copied the plugins/celestial_navigation_pi/data TO build/plugins/celestial_navigation FOLDER.
Then built as normally, without MSVC open!

It did not compile I did not find a celestial_navigation_pi.dll with today's date, in the build/plugins/debug directory. Here are the output files and Opencpn.log which might also be useful for weatherfax.
__________________
rgleason is offline   Reply With Quote
Old 18-03-2013, 15:04   #55
Registered User

Join Date: Jul 2012
Posts: 7
Re: celestial navigation plugin redux

I can get the plugin to run and can input data.
I just can't get it to display any lines of position. Is it me, my system, or a bug?

celestial_navigation_pi.dll is in opencpn\plugins (this is the .dll from post #5. Is there a later version?)
1GRF11.COF is in open\cpn\plugins\celestial_navigation\data
vsop87d.txt is in opencpn\plugins\celestial_navigation\data
celestial_navigation_basics.html is in opencpn\plugins\celestial_navigation\data

I checked the math against my own sunsight spreadsheet (attached); looks to be okay.

I'm running Windows XP sp3 on a Toshiba netbook with OpenCPN 3.2.0
Attached Files
File Type: xls Sunsight (3).xls (49.0 KB, 72 views)
__________________
Backbearing.com Astronavigation resources.
Porthandbuoy is offline   Reply With Quote
Old 19-03-2013, 04:24   #56
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: BVI
Boat: bristol 27
Posts: 2,676
Re: celestial navigation plugin redux

Quote:
Originally Posted by rgleason View Post
Thanks Sean, sorry.
Have tried it all again, making sure on right branch and head.
Removed celestial_naviagtion_pi and git cloned again.
Copied the plugins/celestial_navigation_pi/data TO build/plugins/celestial_navigation
Great, thanks for the report. I think I'm not allowed to divide by 0 in windows.. it works so well in linux. Anyway.. I think I fixed it.. try pulling the new git.. and hopefully it builds in windows.. I'm looking forward to wrapping this plugin up for an actual release soon.

Quote:
Originally Posted by Porthandbuoy View Post
I can get the plugin to run and can input data.
I just can't get it to display any lines of position. Is it me, my system, or a bug?

celestial_navigation_pi.dll is in opencpn\plugins (this is the .dll from post #5. Is there a later version?)
1GRF11.COF is in open\cpn\plugins\celestial_navigation\data
vsop87d.txt is in opencpn\plugins\celestial_navigation\data
celestial_navigation_basics.html is in opencpn\plugins\celestial_navigation\data

I checked the math against my own sunsight spreadsheet (attached); looks to be okay.

I'm running Windows XP sp3 on a Toshiba netbook with OpenCPN 3.2.0
Did you try zooming out really far on the whole earth and looking around to see if there isn't some timezone bug which could potentially exist on only your system and cause the sight to be in the completely wrong part of the world?

Sorry if that isnt the problem. Hopefully soon you can try the new version since the one posted here was old.
__________________
boat_alexandra is offline   Reply With Quote
Old 19-03-2013, 10:47   #57
Registered User

Join Date: Jul 2012
Posts: 7
Re: celestial navigation plugin redux

Zoomed out and found my circles . . . miles from where I expected. The fault was mine however.

A couple of observations:
When editing a sight I am unable to change the date. Time yes, Date no.
My cocked-hat seems consistently east of my position by a considerable margin. Again, this could be me.

I'm looking forward to trying the next build.

( A big thumbs-up for this plug in )
__________________
Backbearing.com Astronavigation resources.
Porthandbuoy is offline   Reply With Quote
Old 19-03-2013, 10:52   #58
cruiser

Join Date: Mar 2013
Posts: 59
Re: celestial navigation plugin redux

who need celestial navigation "plug in".
that would be the same like someone shagging your wife and you are watching.

use pen, paper and watch or stick to gps.
__________________
transformer is offline   Reply With Quote
Old 19-03-2013, 11:02   #59
Registered User

Join Date: Jul 2012
Posts: 7
Re: celestial navigation plugin redux

Quote:
Originally Posted by transformer View Post
who need celestial navigation "plug in". use pen, paper and watch or stick to gps
It's not necessarily a question of 'need', more one of want. After all, why take weeks to sail somewhere you can fly to in a few hours.

I got into astro after spending some time on a jack-up drilling rig firmly rooted to the sea floor off the Tunisian coast. This was at the start of Gulf War 1, and if the GPS was to be believed we were doing 17 knots across the Libyan desert. The American Dept of Defense were dicking around with the GPS satellite clocks.

I use, but don't rely 100%, on GPS. Anyway, it's nice to work up a series of sights and find yourself close to where the GPS says you are.
__________________
Backbearing.com Astronavigation resources.
Porthandbuoy is offline   Reply With Quote
Old 19-03-2013, 11:15   #60
cruiser

Join Date: Mar 2013
Posts: 59
Re: celestial navigation plugin redux

Quote:
Originally Posted by Porthandbuoy View Post

I use, but don't rely 100%, on GPS. Anyway, it's nice to work up a series of sights and find yourself close to where the GPS says you are.
Then what better then to do it old way. Sextant, pen, paper, watch and here we go.

....who need/wont celestial plug ins
__________________

__________________
transformer is offline   Reply With Quote
Reply

Tags
celestial navigation, navigation

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Logbook Konni for OpenCPN konni OpenCPN 822 14-02-2017 19:01
Google Earth Plugin r.fairman OpenCPN 417 15-02-2015 11:15
GRIB Weather Mark Ward OpenCPN 26 12-02-2012 21:33
Route Properties, Missing Functions James Baines OpenCPN 13 13-07-2011 04:31


Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities


Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 21:54.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.