Cruisers & Sailing Forums (http://www.cruisersforum.com/forums/)
-   OpenCPN (http://www.cruisersforum.com/forums/f134/)
-   -   Plugin Polar (http://www.cruisersforum.com/forums/f134/plugin-polar-105481.html)

edelvoilier 12-06-2013 08:20

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 12-06-2013 08:22

Re: Plugin Polar
 
1 Attachment(s)
With plugin in attach file it will be easier to test it :whistling:

nohal 12-06-2013 09:29

Re: Plugin Polar
 
Quote:

Originally Posted by edelvoilier (Post 1258650)
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

rgleason 12-06-2013 12:28

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?

edelvoilier 12-06-2013 14:05

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 12-06-2013 14:50

Re: Plugin Polar
 
2 Attachment(s)
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

rgleason 12-06-2013 17:00

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 12-06-2013 17:24

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:


konni 13-06-2013 11:55

Re: Plugin Polar
 
4 Attachment(s)
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

rgleason 13-06-2013 14:17

Re: Plugin Polar
 
1 Attachment(s)
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

konni 13-06-2013 19:28

Re: Plugin Polar
 
Quote:

Originally Posted by rgleason (Post 1259789)
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.:banghead:
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

rgleason 13-06-2013 19:35

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.

konni 14-06-2013 16:19

Re: Plugin Polar
 
Quote:

Originally Posted by rgleason (Post 1260038)
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

rgleason 14-06-2013 17:00

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 14-06-2013 18:25

Re: Plugin Polar
 
5 Attachment(s)
Konni
Not much luck git in MSVC Windows and Linux
Sorry.


All times are GMT -7. The time now is 20:40.

Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2018, vBulletin Solutions, Inc.


ShowCase vBulletin Plugins by Drive Thru Online, Inc.