Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 03-07-2013, 21:25   #1
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: chesapeake bay
Boat: bristol 27
Posts: 2,822
Sail Trim Plugin

since customs decided to take away my boat and put it on the hard indefinitely instead of clearing me out to leave the country, I am still here and have internet and can work on plugins! I overstayed my visa which is why they can do absolutely anything they want, I'm lucky not to be deported (yet)


very basic plugin, but the idea is you can pull the mainsheet in or adjust anything
and quickly visualize speed changes. Also for very light air, it does a much better predictor lowpass to make it easier to adjust things on self steering when drifting.. Any ideas for enhancements?

https://github.com/seandepagnier/trimplot_pi
__________________

__________________
boat_alexandra is online now   Reply With Quote
Old 16-07-2013, 08:35   #2
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,414
Re: sail trim plugin

Sean, I've been "Gone Sailing"


Glad you've gotten your boat back and the authorities have let you go to leave NZ. What a relief! Will be sad not to have my programming buddy around for a long while, but hope you have a safe sail.

I've been sailing with several friends to Maine.

Attached is the compiled Sail Trim plugin which appears to show a historic chart of Speed, Course and Course Prediction. I have run it with VDR and several files in the Nmea directory on Opencpn Beta File Thingie, and it seems to record fine. I have not tried the Course Prediciton yet.

Windows Users: Take the doc off the attached file and put it in your plugins directory.
Attached Images
 
Attached Files
File Type: doc trimplot_pi dll.doc (113.0 KB, 51 views)
__________________

__________________
rgleason is online now   Reply With Quote
Old 16-07-2013, 11:31   #3
Registered User

Join Date: Jul 2009
Location: The Netherlands
Boat: Koopmans, 33 ft cutter
Posts: 170
Re: sail trim plugin

The plugin doesn't show up after pressing the plugins icon in Options, not even after putting a dot between pi and dll.
OpenCPN 3.3.604.
__________________
Zoef is offline   Reply With Quote
Old 16-07-2013, 15:36   #4
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,414
Re: sail trim plugin

Humm, I believe I compiled it using 3.3.604. What do you have?
Maybe I should see if it compiles for 3.2.0?
Nope, it will not compile in 3.2.0 because it uses PositionBearingDistance identifier which requires 3.3.604 or later I believe.

Therefore you should be using 3.3.604 Opencpn for this plugin.
__________________
rgleason is online now   Reply With Quote
Old 17-07-2013, 00:55   #5
Registered User

Join Date: Jul 2009
Location: The Netherlands
Boat: Koopmans, 33 ft cutter
Posts: 170
Re: sail trim plugin

I am using 3.3.604 Opencpn. Any suggestions?
__________________
Zoef is offline   Reply With Quote
Old 17-07-2013, 09:10   #6
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,414
Re: sail trim plugin

Ok using, Opencpn v3.3.604 or later, try this. Remove the doc. Make sure there are NO Spaces in the file name. It works for me using 3.3.604
Attached Files
File Type: doc trimplot2_pi.dll.doc (113.0 KB, 47 views)
__________________
rgleason is online now   Reply With Quote
Old 17-07-2013, 09:25   #7
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,395
Re: sail trim plugin

...there's something you're not telling we widows usrs. What could it be?

"8:20:37 AM: PlugInManager: Loading PlugIn: D:\KEEPERS\Navigation\OPEN CPNinstall+help\O-Beta\plugins/trimplot2_pi.dll
8:20:37 AM: Error: Failed to load shared library 'D:\KEEPERS\Navigation\OPEN CPNinstall+help\O-Beta\plugins/trimplot2_pi.dll' (error 127: the specified procedure could not be found.)
8:20:37 AM: PlugInManager: Cannot load library: D:\KEEPERS\Navigation\OPEN CPNinstall+help\O-Beta\plugins/trimplot2_pi.dll


.....?
__________________
HappySeagull is offline   Reply With Quote
Old 17-07-2013, 12:01   #8
Registered User

Join Date: Jul 2009
Location: The Netherlands
Boat: Koopmans, 33 ft cutter
Posts: 170
Re: sail trim plugin

Quote:
Originally Posted by rgleason View Post
Ok using, Opencpn v3.3.604 or later, try this. Remove the doc. Make sure there are NO Spaces in the file name. It works for me using 3.3.604
Copied the plugin, made sure no spaces etc. It didn't show up in the Options.
Uninstalled OpenCPN completely, followed by fresh install. Copied the sail trim plugin and started OpenCPN. The dashboard and grip plugins showed up, not the sail trim plugin.
Suggest you test the plugin on a fresh 3.3.604 install.
__________________
Zoef is offline   Reply With Quote
Old 17-07-2013, 14:56   #9
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,414
Re: sail trim plugin

Sorry, that is a pain. Are you using the Opencpn .3.604.exe dated 7/2/2013on Opencpn Beta File Thingie ? File Thingie 2.5.7 use: rguser, rgpass

File Thingie 2.5.7 This directory

It should show up in settings > plugins as TrimPlot
__________________
rgleason is online now   Reply With Quote
Old 18-07-2013, 05:19   #10
Registered User

Join Date: Jul 2009
Location: The Netherlands
Boat: Koopmans, 33 ft cutter
Posts: 170
Re: sail trim plugin

After re-installing I was using of course using the default exe, opencpn.exe which, according to the properties, has file version 3.3.604.0.
I replaced it by opencpn3.3.604.exe from File Thingie. This exe is slightly bigger than the original exe.
Now, when pressing the plugin icon in Options, nothing at all shows, not even the default plugins.
My OS is win7 x64.
__________________
Zoef is offline   Reply With Quote
Old 18-07-2013, 05:38   #11
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,414
Re: sail trim plugin

Zoef, sorry it is not working for you. I've uploaded another version of 3.3.604 and a more recent opencpn3.3.711.exe version both of which run Trimplot in my setup. You could try those exe also making sure you have a full setup with all the appropriate directories.
__________________
rgleason is online now   Reply With Quote
Old 18-07-2013, 08:55   #12
Registered User

Join Date: Jul 2009
Location: The Netherlands
Boat: Koopmans, 33 ft cutter
Posts: 170
Re: sail trim plugin

Thank you for the support but it is, unfortunately, all in vain. For now I give up. Maybe things work better for me in the next version of OpenCPN.
__________________
Zoef is offline   Reply With Quote
Old 18-07-2013, 09:35   #13
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,414
Re: sail trim plugin

Zoef, sorry I compiled it and it caused so much trouble. It does work for me, and if I happen to figure out why it is not for you, I'll post. It is an interesting start for a plugin, but not nearly as significant yet as Climatology, Weather_Routing and Weatherfax.
__________________
rgleason is online now   Reply With Quote
Old 18-07-2013, 13:41   #14
Registered User
 
edelvoilier's Avatar

Join Date: Dec 2011
Location: France - Haute Savoie
Boat: Edel 4DL 7m10
Posts: 53
Re: sail trim plugin

Hi boat_alexandra.

It's ok for me with opencpn 3.3.604 But can you explain how it works ?
Thanks a lot for your help
__________________
edelvoilier is offline   Reply With Quote
Old 18-07-2013, 17:46   #15
Registered User
 
Surveyor's Avatar

Join Date: Mar 2010
Location: Ft. Pierce, FL - Bislig, Philippines - Gladstone QLD
Boat: 1968 Alberg 30 #329
Posts: 451
Re: sail trim plugin

If you are using Win 7 then the reason you can not see the plugin is most likely because of Microsoft's aggressive anti malware built into the OS. See pic below. Even tho it gives me the option to unblock the ddls compiled by Rick, it doesnt actually unblock them. Related to the unsign drivers PITA they introduced with Win 7.

__________________

__________________
Jim - Bahala na!
http://svcookie.blogspot.com/
KK4GGF
Surveyor is offline   Reply With Quote
Reply

Tags
sail

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
Feature Requests bdbcat OpenCPN 2492 14-12-2017 08:44
New IAC Fleetcode Plugin for OpenCPN CBorchardt OpenCPN 72 27-02-2016 12:42
Autopilot Output Device Open Failed George64 OpenCPN 52 14-08-2012 08:00
For Sale: Parasailor 2.0 (67sqm) - Brand New isolamia Classifieds Archive 1 12-08-2011 04:51



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 13:04.


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.