Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 12-06-2013, 09:20   #1
Registered User
 
edelvoilier's Avatar

Join Date: Dec 2011
Location: France - Haute Savoie
Boat: SUN ODYSSEY 40
Posts: 58
Thumbs up Plugin Polar

Hi All,

Sorry for my poor english is not my natural language.

You certainly know Konni as he wrote a fabulous logbookkonni.

As i saw in OpenCpn forum a future plugin weather-routing I asked to konni to develop a specific plugin to elaborate Polar boat from : VDR file, or records stored in logbook (more accurate than plugin unknown records when engine is started) or manual.

I tested his plugin. Is very useful and simply to manipulate.

Hope it will have succeful as his logbookkonni.

To Pavel :
Please, can you consider or send him a feedback about your request for the logbook integration in newer version of OpenCpn. Konni wrote me this last week
Quote:
For the logbook extentions in the main-prg. i contacted Pavel and he wrote that he will implement, but nothing happend.
Maybe it depends on the functions they have allready wrote for KML in the mainprg., but the logbook needs my extentions, not only for KML.
Thanks to all for your feedback about Polar plugin and hope it will help you to obtain accurate routing for weather-routing.
edelvoilier is offline   Reply With Quote
Old 12-06-2013, 09:22   #2
Registered User
 
edelvoilier's Avatar

Join Date: Dec 2011
Location: France - Haute Savoie
Boat: SUN ODYSSEY 40
Posts: 58
Re: Plugin Polar

With plugin in attach file it will be easier to test it
Attached Files
File Type: doc polar_pi.dll.doc (219.5 KB, 541 views)
edelvoilier is offline   Reply With Quote
Old 12-06-2013, 10:29   #3
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,278
Re: Plugin Polar

Quote:
Originally Posted by edelvoilier View Post
To Pavel :
Please, can you consider or send him a feedback about your request for the logbook integration in newer version of OpenCpn. Konni wrote me this last week
Guys...
I'm not Zaphod Beeblebrox, there are still just two hands and one head attached to my body. It is on the list.

Pavel
nohal is offline   Reply With Quote
Old 12-06-2013, 13:28   #4
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 18,005
Images: 2
Re: Plugin Polar

edelvoilier and konni,

Thank you I will try your new polar. I was just asking Sean if he would ever consider doing such a program. If you will do a search on polauto by patrick terceilin you will find a Windows program that is graphical and has many filters. I have tested this program and helped Patrick using VDR and NavMonPC with Hartmut's Nmea files and it works.

So I will also be very interested in this new polar recorder.

Thank you.

PS: Konni, I hope you are feeling and are much better.
PSS: Pavel you are too good to us. We depend on you. Zaphod Beeblebrox? -who is it?

PS How can we make a Linux version?
rgleason is online now   Reply With Quote
Old 12-06-2013, 15:05   #5
Registered User
 
edelvoilier's Avatar

Join Date: Dec 2011
Location: France - Haute Savoie
Boat: SUN ODYSSEY 40
Posts: 58
Re: Plugin Polar

Hi Pavel,

It's not a problem and all know how you are certainly very busy. But when Konni has not reply or new about his work he thank he work for nothing.

After worked with him (not develop) but suggest idea etc... I can say he is a very good help for the OpenCpn community. So don't be offended by my last post. I just try to remenber it.

To Rgleason
I know Polauto and test it. I had communicate with Tierp (Patrick Tiercelin) about it last year. He made a very good software but unfortunatly not include in opencpn as a plugin (Patrick had developed his own logbook sailing and we had exchange about it and his polar software).

OpenCpn is a very good software and community is very responsive. Opencpn is opensource and I'm fervent defenser of it. I also collaborate with Giletarom to translate Logbookkonni ;-).

I just want to see OpenCPN evolve and become the best of sailing software. That why I try to collaborate as I can.
So Thanks to all to continue your collaboration for this fabulous software. I think Polar is a very good complement to the very good weather-routing plugin. Sure it will help most of sailor to create there own polar.

As I am, I will have request to the developer of VDR plugin to contribute of a new functionality for logbookkonni. If it's possible i will add a new post about that.

Best regards
edelvoilier is offline   Reply With Quote
Old 12-06-2013, 15:50   #6
Registered User
 
edelvoilier's Avatar

Join Date: Dec 2011
Location: France - Haute Savoie
Boat: SUN ODYSSEY 40
Posts: 58
Re: Plugin Polar

In polar plugin, you have some filters (select type of analyze VDR, Logbook...) and you can define (if you select methode logbook) which sails have to be draw in the diagram and depend on the wind.

You need to use last logbookkonni to select and log using sails during your sailing ;-)


If you don't have it, I post it in attach file
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	477
Size:	37.6 KB
ID:	62390  
edelvoilier is offline   Reply With Quote
Old 12-06-2013, 18:00   #7
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 18,005
Images: 2
Re: Plugin Polar

edelvoiker,
I tried the dll and it shows in Settings, enabled it, tried m/sec preference, then closed settings, and tried the polar icon, nothing seemed to happen. Is this dependent on a data stream? Tried VDR and Hartmut's recorded Nmea file with AIS and Wind data (30mb) and Opendebugger to see Nmea data, and the Polar plugin would not open then tried a simpler file. no dice.
Using v3.3.424
What am I doing wrong?
rgleason is online now   Reply With Quote
Old 12-06-2013, 18:24   #8
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 18,005
Images: 2
Re: Plugin Polar

Okay, is it the polar file is missing?
Where should it go, do you have a sample polarr?
What format.

opencpn.ini

Quote:
[PlugIns/Polar]
bEnabled=0
[Settings]
RADARDialogSizeX=300
RADARDialogSizeY=300
RADARDialogPosX=50
RADARDialogPosY=170
RADARRange=4
OwnshipCOGPredictorWidth=3
ShowPolarIcon=1
PolarUseMS=1
PolarDialogSizeX=300
PolarDialogSizeY=540
PolarDialogPosX=20
PolarDialogPosY=170

[Directories]
S57DataLocation=
SENCFileLocation=
InitChartDir=C:\\Data-Dart
GPXIODir=
TCDataDir=
WeatherFaxDataLocation=C:\\Program Files (x86)\\OpenCPN/plugins
GRIBDirectory=C:\\Data-Dart\\Grib
WMMDataLocation=C:\\Data-Dart\\Up-Soft\\Navigation\\opencpn-git\\build/plugins
PolarDirectory=
opencpn.log

Code:
20:08:13: 2013-06-12
20:08:13:  ------- Starting OpenCPN -------
20:08:13: Version 3.3.424 Build 2013-04-24
20:08:13: wxWidgets version: wxWidgets 2.8.12
20:08:13: MemoryStatus:  mem_total: 8106 mb,  mem_initial: 10 mb
20:08:13: SData_Locn is C:\Program Files (x86)\OpenCPN\
20:08:13: Using existing Config_File: C:\ProgramData\opencpn\opencpn.ini
20:08:13: Styles loading from C:\Program Files (x86)\OpenCPN\uidata\styles.xml
20:08:13: Styles loading from C:\ProgramData\opencpn\styles.xml
20:08:13: No styles found at: C:\ProgramData\opencpn\.opencpn\
20:08:13: Warning: file 'C:\ProgramData\opencpn\opencpn.ini', line 205: key 'bEnabled' was first found at line 203.
20:08:13: Warning: entry 'bEnabled' appears more than once in group '/PlugIns/WMM'
20:08:13: Setting Viewpoint Lat/Lon 44.3704, 13.6009
20:08:13: Setting Ownship Lat/Lon 44.258, 14.704
20:08:13: System default Language:  en_US
8:08:13 PM: Opencpn language set to:  en_US
8:08:13 PM: ChartSymbols loaded from C:\Program Files (x86)\OpenCPN\s57data\chartsymbols.xml
8:08:13 PM: PlugInManager searching for PlugIns in location C:\Program Files (x86)\OpenCPN\plugins

8:08:13 PM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN\plugins/climatology_pi.dll

8:08:13 PM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN\plugins/grib_win32_v220_pi.dll
8:08:13 PM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN\plugins/ocpndebugger_win32_pi18_v01_pi.dll

8:08:13 PM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN\plugins/polar_pi.dll

8:08:13 PM:   C:\Program Files (x86)\OpenCPN\plugins/polar_pi.dll Version detected: 107

8:08:13 PM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN\plugins/route_win32_pi18_v10_pi.dll

8:08:13 PM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN\plugins/vdr_win32_PI18_v03_pi.dll
8:08:13 PM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN\plugins/watchman_win32_pi110_v04_pi.dll
8:08:13 PM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN\plugins/weatherfax_win32_pi18_v07_pi.dll
8:08:13 PM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN\plugins/weather_routing_win32_pi110_v07_pi.dll

8:08:13 PM: OpenGL-> Renderer String: GeForce GT 540M/PCI/SSE2
8:08:13 PM: OpenGL-> Framebuffer Objects unavailable
8:08:13 PM: OpenGL-> Using Stencil buffer clipping
8:08:13 PM: OpenGL-> Estimated Max Resident Textures: 98
8:08:13 PM: ChartDB Cache policy:  Application target is 1024 MBytes

8:08:38 PM: PlugInManager: Deactivating PlugIn: C:\Program Files (x86)\OpenCPN\plugins/grib_win32_v220_pi.dll

8:08:38 PM: PlugInManager: Deactivating PlugIn: C:\Program Files (x86)\OpenCPN\plugins/ocpndebugger_win32_pi18_v01_pi.dll

8:08:38 PM: PlugInManager: Deactivating PlugIn: C:\Program Files (x86)\OpenCPN\plugins/polar_pi.dll

8:08:38 PM: Chart cache purge
20:09:26:
rgleason is online now   Reply With Quote
Old 13-06-2013, 12:55   #9
Registered User

Join Date: Sep 2011
Posts: 205
Re: Plugin Polar

Hi rgleason,

the polar is in a very early state of dev.

appended is a newer version, maybe it's running better now.

i stopped four weeks ago the dev. of the plugin and adjusted the logbook (1.2)
to wxwidgets 2.9.x (i'll upload it in a few minutes).
it was a real pain.
if i'm able to do do it, i convert OCPN to QT. That's at the moment my main-goal.

the sourcecode of the polar is not available on git at the moment, but it it compiles on Kubuntu 13.04 and MacOS.

if you like to test a vdr-file is up at:
https://skydrive.live.com/redir?resi...J4Tf9C7UTXjx40

where can i download Hartmut's file ?

best regards,
konni
Attached Thumbnails
Click image for larger version

Name:	ploar_win.PNG
Views:	484
Size:	104.4 KB
ID:	62465   Click image for larger version

Name:	polar_Kubuntu13_04.PNG
Views:	412
Size:	65.3 KB
ID:	62466  

Click image for larger version

Name:	Polar_Mac.PNG
Views:	399
Size:	62.0 KB
ID:	62467  
Attached Files
File Type: doc polar_pi.dll.doc (220.0 KB, 156 views)
konni is offline   Reply With Quote
Old 13-06-2013, 15:17   #10
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 18,005
Images: 2
Re: Plugin Polar

konni, this looks like a very good start! Have tried it again with Opencpn v3.3.604 Windows7. Using NavMonPC to read Harmut*.nmea file with two Virtual ports configured, and Serial6 Connection at 38400baud in Opencpn. AIS Radar is up. Icon is in bar and enabled. Click does nothing.
Where is the polar. I wonder why it does not work.

If you would like Hartmut's nmea go to Plugin Threads -Post #57
and log in, go to Nmea and download it.

Best Rick
Attached Thumbnails
Click image for larger version

Name:	Polar-Test.jpg
Views:	459
Size:	407.8 KB
ID:	62475  
rgleason is online now   Reply With Quote
Old 13-06-2013, 20:28   #11
Registered User

Join Date: Sep 2011
Posts: 205
Re: Plugin Polar

Quote:
Originally Posted by rgleason View Post
Icon is in bar and enabled. Click does nothing.
Where is the polar. I wonder why it does not work.

If you would like Hartmut's nmea go to Plugin Threads -Post #57
and log in, go to Nmea and download it.
Hi Rick,

it's 4:30 AM and i cannot find the bug why the dialog doesn't appear.
i tried a lot, but all the time the dlg appears by a mouseclick.

for nmea i added the VWR-sentence, i saw this in Hartmut's nmea.

tomorrow i load the code up to github.

best regards,
konni
konni is offline   Reply With Quote
Old 13-06-2013, 20:35   #12
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 18,005
Images: 2
Re: Plugin Polar

We all have difficulties and eventually figure them out. You're the type who will. Sometimes we have to let things rest for awhile.
rgleason is online now   Reply With Quote
Old 14-06-2013, 17:19   #13
Registered User

Join Date: Sep 2011
Posts: 205
Re: Plugin Polar

Quote:
Originally Posted by rgleason View Post
We all have difficulties and eventually figure them out. You're the type who will. Sometimes we have to let things rest for awhile.
Hi Rick,

the source is now on Github and a compiled version with installer on
Sourcefourge (Win).

i still dont know why the dlg doesn't appear at your computer, but maybe
with this version it works.

i installed NavMonPC and connected it to OCPN with the polar. The data
are displayed.

best regards,
konni
konni is offline   Reply With Quote
Old 14-06-2013, 18:00   #14
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 18,005
Images: 2
Re: Plugin Polar

Konni,
I just thought that perhaps it will not run under Opencpn.3.3.604 which has error checking!

I should try the opencpn3.3.424 version!
Or I should compile it on MSVC using your git for Opencpn3.3.604.
I apologize if that is the problem, I am just getting familiar with development, reeally.

I'll let you know how it goes. Thanks for the links.
rgleason is online now   Reply With Quote
Old 14-06-2013, 19:25   #15
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 18,005
Images: 2
Re: Plugin Polar

Konni
Not much luck git in MSVC Windows and Linux
Sorry.
Attached Thumbnails
Click image for larger version

Name:	Polar-Break-1.jpg
Views:	385
Size:	407.9 KB
ID:	62555   Click image for larger version

Name:	Polar-Break-2.jpg
Views:	391
Size:	406.6 KB
ID:	62556  

Attached Files
File Type: doc Polar-Break-1.doc (4.0 KB, 151 views)
File Type: doc Polar-Break-Opencpn-Log.doc (2.4 KB, 131 views)
File Type: doc Polar-Linux-Make-Output.doc (11.9 KB, 135 views)
rgleason is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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


Advertise Here


All times are GMT -7. The time now is 06:23.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.