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 19-07-2014, 09:13   #46
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,541
Re: Plugin Polar

Quote:
Originally Posted by boat_alexandra View Post
Gerhard,

Is it possible you can create dmg install images for specific plugins? Otherwise it's fine for me if all users of macosx must compile the plugins they use from source.
It is easy if you use the example of S63 plugin.

Gerhard
CarCode is offline   Reply With Quote
Old 19-07-2014, 13:24   #47
Registered User
 
rgleason's Avatar

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

Gerhard,
I understand what you mean about debugging, having copied the debug.dll and data directories over into MSVC after cmake. I have gotten appreciative of the ease of compiling and packaging with standalone plugins.

As Sean says, Its your decision. By the way, I have not messed with the plugin lately, and intend to, to understand more, but since you are here, do you know if the polar files are the same format for weather_routing and polar?

Thankyou for making the polar.
rgleason is offline   Reply With Quote
Old 19-07-2014, 13:59   #48
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,541
Re: Plugin Polar

Rick,
I haven't used polar right now.
Usually it's a csv file with TWA/TWS.
You may have a look at qtVLM which has some examples.
Gerhard
CarCode is offline   Reply With Quote
Old 14-02-2015, 09:55   #49
Registered User

Join Date: Nov 2014
Location: Netherlands
Posts: 219
Re: Plugin Polar

I have taken the decision to maintain the polar plugin.
I have forked the code and made the changes to be able to build the plugin out of tree.
At this moment the plugin packages are available at
github.com/ptulp/polar_pi/releases for OSX, Ubuntu 64 and 32 and rpm
systems.

I don't have a windows environment, so maybe someone else can try to build it for Windows.

Regards,
Peter
ptulp is offline   Reply With Quote
Old 14-02-2015, 13:40   #50
Registered User
 
rgleason's Avatar

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

Peter,

This is just wonderful! I can build it for Windows for you.

What plans do you have? I am very interested.

It would be great to expand it's capabilities to make it a good companion with Weather_routing, and as a good recorder of polar data with adjustible filters, either in real time or by playing a nmea file to create a polar. If it is possible to keep it simple [Gille..'s request too] that would be great.
rgleason is offline   Reply With Quote
Old 15-02-2015, 00:58   #51
Registered User

Join Date: Nov 2014
Location: Netherlands
Posts: 219
Re: Plugin Polar

Quote:
Originally Posted by rgleason View Post
Peter,

This is just wonderful! I can build it for Windows for you.

What plans do you have? I am very interested.

It would be great to expand it's capabilities to make it a good companion with Weather_routing, and as a good recorder of polar data with adjustable filters, either in real time or by playing a nmea file to create a polar. If it is possible to keep it simple [Gille..'s request too] that would be great.
No major plans yet, just wanted the plugin to be available to all platforms.

Basically it is still the plugin Konni made.
Just made some small changes like adding some more data points.
Now the points go from 5 to 180 degrees in 5 degree steps (before from 24 to 180 in 8 degree steps.)
Also I changed the saved layouts a bit to be compatible with the Weather_routing plugin.
The original OCPN layout I couldn't find to be used anywhere, so I changed it to be the same as the QVTlm format that weather-routing could read.

At this moment there are 4 methods for creating a polar:
1. Reading through ALL the logbook files. There is a filter possibility for sail settings here. Also if there is an engine found running in the logbook, no points are taken. (logbookkonni plugin must be installed and used)
2. Reading the NMEA stream. This can be the active stream or a played VDR file through the VDR plugin. If there are ERRPM messages found in the NMEA stream the collecting of points is stopped until the ERRPM messages are stopped.
3. Reading from a VDR file from disk directly. This will complete much faster. Also the ERRPM messages will be taken into account here.
4. Manually enter the points into the grid and then save the polar.

Regards,
Peter
ptulp is offline   Reply With Quote
Old 15-02-2015, 01:00   #52
Registered User

Join Date: Apr 2012
Location: Port Steven, NSW, Australia
Boat: Van der Stadt Samoa 48
Posts: 142
Re: Plugin Polar

Is it possible to accumulate real data from the instruments over a couple of weeks, in order to get a better statistical background.

Regards, Lars
Taarnskov is offline   Reply With Quote
Old 15-02-2015, 01:08   #53
Registered User

Join Date: Nov 2014
Location: Netherlands
Posts: 219
Re: Plugin Polar

Quote:
Originally Posted by Taarnskov View Post
Is it possible to accumulate real data from the instruments over a couple of weeks, in order to get a better statistical background.

Regards, Lars
Lars,

If you use the logbook plugin to collect that data for some time you could then use the polar plugin to take the logbook data to create the polar.

Peter
ptulp is offline   Reply With Quote
Old 15-02-2015, 01:38   #54
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,740
Re: Plugin Polar

Why not using the VDR in this case (longer periods) - and you can switch it ON/OFF for capturing just relevant data?
bcn is offline   Reply With Quote
Old 15-02-2015, 05:16   #55
Registered User
 
rgleason's Avatar

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

github search for ptulp yields nothing.

github search for polar_pi yields
https://github.com/cowelld/Polar_pi
https://github.com/konnibe/polar_pi
https://github.com/nohal/polar_pi

So where is the correct repository ptulp?
Thanks for the description of capabilities, it can assist us in adding a plugin wiki.
rgleason is offline   Reply With Quote
Old 15-02-2015, 05:24   #56
Registered User

Join Date: Nov 2014
Location: Netherlands
Posts: 219
Re: Plugin Polar

Quote:
Originally Posted by rgleason View Post
github search for ptulp yields nothing.

github search for polar_pi yields
https://github.com/cowelld/Polar_pi
https://github.com/konnibe/polar_pi
https://github.com/nohal/polar_pi

So where is the correct repository ptulp?
Thanks for the description of capabilities, it can assist us in adding a plugin wiki.
Strange that it does not find my repository. It should be there.
https://github.com/ptulp/polar_pi/

Peter
ptulp is offline   Reply With Quote
Old 15-02-2015, 05:30   #57
Registered User
 
rgleason's Avatar

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

Tried coweld's github

Code:
..\o-plugin\c-polar_pi\build>cmake ..
-- *** Staging to build Polar_pi ***
CMake Error at CMakeLists.txt:161 (ADD_DEPENDENCIES):
  add_dependencies called with incorrect number of arguments
-- Configuring incomplete, errors occurred!
So it is probably not that one.
rgleason is offline   Reply With Quote
Old 15-02-2015, 18:59   #58
Registered User
 
rgleason's Avatar

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

Strange indeed. Thanks. Will compile in the morning.

Sent from my SCH-I545 using Cruisers Sailing Forum mobile app
rgleason is offline   Reply With Quote
Old 16-02-2015, 05:21   #59
Registered User
 
rgleason's Avatar

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

Ptulp must have added an "s" so it did not work.
found https://github.com/ptulp/polar_pi/
compiled without a glitch and uploaded to

OpenCPN Beta File Thingie rguser rgpass

Look in 4.0 Win PI directory for
polar_pi-1.001-ov4.0-win32.exe

Tried mode "Data from VDR" and selected
Harmut-Netherlands-Markermeer-Wind-AIS.txt

from OpenCPN Beta File Thingie NMEA directory
It loaded and did not seem to show anything.
Tried loading same file into VDR and then doing mode "Data from NMEA"
with NMEA Debug Window up and running showing streaming nmea data.
I wasn't getting anything being recorded after hitting "Record Start"

I guess I don't have the sequence or something. Maybe using the wrong Nmea file, but Harmut's file covers wind and ais!

Any suggestions?

I tried loading a polar file and was not successful with Boat_Alexandra.csv or Nell_Boat.csv for weather_routing. However I did load boat_class40.pol
and boat_A35.pol successfully.
all found in my C:\ProgramData\opencpn\plugins\weather_routing folder.
Changed boat_Alexandra.csv to boat_.Alexandra.pol and it would not load.
Will have to investigate further. It loads Shannon38.pol

It draws a nice chart. More testing later.

THANK YOU!
rgleason is offline   Reply With Quote
Old 16-02-2015, 10:42   #60
Registered User

Join Date: Nov 2014
Location: Netherlands
Posts: 219
Re: Plugin Polar

On OSX and Ubuntu the Harmut file does produce data.
Note that if the Source is Speedo it takes some time to see some data as the boat is in the harbour for some time before there is some speed registered.
If the speed is 0 the input is ignored.
If you select GPS as Source you will see data sooner.
ptulp is offline   Reply With Quote
Reply


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 19:31.


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.