Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 19-07-2014, 10:13   #46
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,778
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, 14:24   #47
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,421
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 online now   Reply With Quote
Old 19-07-2014, 14:59   #48
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,778
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, 10:55   #49
Registered User

Join Date: Nov 2014
Location: Netherlands
Posts: 179
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, 14:40   #50
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,421
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 online now   Reply With Quote
Old 15-02-2015, 01:58   #51
Registered User

Join Date: Nov 2014
Location: Netherlands
Posts: 179
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, 02:00   #52
Registered User

Join Date: Apr 2012
Location: Port Vila, Vanuatu
Boat: Van der Stadt Samoa 48
Posts: 128
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, 02:08   #53
Registered User

Join Date: Nov 2014
Location: Netherlands
Posts: 179
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, 02:38   #54
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 2,769
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 online now   Reply With Quote
Old 15-02-2015, 06:16   #55
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,421
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 online now   Reply With Quote
Old 15-02-2015, 06:24   #56
Registered User

Join Date: Nov 2014
Location: Netherlands
Posts: 179
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, 06:30   #57
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,421
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 online now   Reply With Quote
Old 15-02-2015, 19:59   #58
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,421
Re: Plugin Polar

Strange indeed. Thanks. Will compile in the morning.

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

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,421
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 online now   Reply With Quote
Old 16-02-2015, 11:42   #60
Registered User

Join Date: Nov 2014
Location: Netherlands
Posts: 179
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

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




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 08:05.


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.