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 01-07-2014, 08:46   #151
Registered User
 
rgleason's Avatar

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

I am going to git clone this later. I am getting various results, can't figure out why. Don't do anything with it until I get back to you please.
Sorry
Rick
rgleason is offline   Reply With Quote
Old 02-07-2014, 05:27   #152
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,422
Re: New Watchman Plugin

I really don't think this plugin can work with opencpn 3.2. Maybe it compiles but it will not load.
seandepagnier is offline   Reply With Quote
Old 02-07-2014, 06:45   #153
Registered User
 
rgleason's Avatar

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

Sean, You are correct. I tried it in 3.3.1824 and it works. Then tried it in 3.2.0 and it does not show in the Plugins list and I have the 7/1/14 dll in the plugins folder...

Okay, I am moving watchman back up to 3.3.1824
but should I compile it with a opencpn.lib v3.3.1824? <----????
even thought he plugin API says use the earlier v3.2?
rgleason is offline   Reply With Quote
Old 19-07-2014, 07:22   #154
Registered User
 
rgleason's Avatar

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

PLEASE NOTE

Watchdog presently does not have alarms and access to instrument data for depth and wind. The reason for this is Sean does not have instruments that output Nmea data so he has difficulty testing and programming for test features.

What is needed is to find some older unused instruments (Raymarine, Simrad, B&S, Garmin, whatever) which output Nmea data, and send those to him.

So please, if you are changing some 10 year old instruments to a new instrument package, please help yourself and everyone, and find out how to send those instruments to Sean. He will put them to very good use.

This will permit Watchdog to have alarms for Wind settings and depth.

(He certainly would not mind a fluxgate compass and autopilot either, although he does have Wind Self-steer).

PS: Sean did not ask me to write this, but I believe that not having instruments is the reason these alarms are not there. Being a practical person, if he did have instruments, he would have a much bigger reason to write the alarms code for those features.
rgleason is offline   Reply With Quote
Old 19-07-2014, 07:33   #155
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,546
Re: New Watchman Plugin

Rick,

it would be easy to use some recorded files of VDR with wind and depth for this task.

Gerhard
CarCode is offline   Reply With Quote
Old 19-07-2014, 07:43   #156
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,422
Re: New Watchman Plugin

It would be possible to implement this feature without the hardware, but I have no interest or reason to do so. I am always accepting patches if someone else would like to.
seandepagnier is offline   Reply With Quote
Old 19-07-2014, 13:35   #157
Registered User
 
rgleason's Avatar

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

Thanks Gerhard, thats a good suggestion, but I am not really a programmer and I also regard Sean as a long distance friend.

Ok, so perhaps someone in our group is changing to new instruments this fall and has a nice set of older but fully operational depth, wind, gyro, and why not tillerpilot or wheelpilot.. I am sure Sean would accept these instruments for his boat!

With instruments, at some point he'll be inclined to add these alarms for himself and the rest of us too. So let Sean know if you have some extra instruments that output Nmea hanging around your garage or basement shop. He will put them to good use and I am sure there will be more alarm improvements to Watchdog eventually once Sean has a good reason to do so.
rgleason is offline   Reply With Quote
Old 29-07-2014, 06:30   #158
Registered User
 
rgleason's Avatar

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

Found watchdog had changed.. Git pull. cmake..
Don't know why cpack worked but there is an error.

Code:
Build FAILED.

"C:\Data-Dart\Up-Soft\Navigation\o-plugin\watchdog_pi\build\ALL_BUILD.vcxproj" (default target) (1) ->
"C:\Data-Dart\Up-Soft\Navigation\o-plugin\watchdog_pi\build\watchdog_pi.vcxproj"
(default target) (3) ->(ClCompile target) ->
  ..\src\Alarm.cpp(741): warning C4800: 'long' : forcing value to bool 'true' or 'false' (performance warning) [C:\Data-Dart\Up-Soft\Navigation\o-plugin\watchdog_pi\build\watchdog_pi.vcxproj]

"C:\Data-Dart\Up-Soft\Navigation\o-plugin\watchdog_pi\build\ALL_BUILD.vcxproj" (default target) (1) ->
"C:\Data-Dart\Up-Soft\Navigation\o-plugin\watchdog_pi\build\watchdog_pi.vcxproj"
 
(default target) (3) ->(ClCompile target) ->
  ..\src\WatchdogDialog.cpp(36): error C2668: 'wxConfigBase::Read' : ambiguous call to overloaded function [C:\Data-Dart\Up-Soft\Navigation\o-plugin\watchdog_pi\build\watchdog_pi.vcxproj]

    1 Warning(s)
    1 Error(s)

CPack: Create package using NSIS
CPack: Install projects
CPack: - Install project: watchdog_pi
CPack: Create package
CPack: - package: C:/Data-Dart/Up-Soft/Navigation/o-plugin/watchdog_pi/build/wat
chdog_pi-1.1-win32.exe generated.

C:\Data-Dart\Up-Soft\Navigation\o-plugin>
Code:
void Alarm::ConfigItem(bool read, wxString name, wxControl *control)
{
    wxFileConfig *pConf = GetConfigObject();

    wxCheckBox *cb = dynamic_cast<wxCheckBox*>(control);
    if(cb) {
        if(read)
741--->            cb->SetValue(pConf->Read(name, (long)cb->GetValue()));
        else
            pConf->Write(name, cb->GetValue());
        return;
    }
rgleason is offline   Reply With Quote
Old 30-07-2014, 04:07   #159
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,422
Re: New Watchman Plugin

trying to fix a warning I made an error

Try now
seandepagnier is offline   Reply With Quote
Old 30-07-2014, 06:26   #160
Registered User
 
rgleason's Avatar

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

Sorry about that. Compile no Errors.
Uploaded to Opencpn Beta File Thingie
Checked it and it works.
2 bells ding,ding
3 bells goes ding,ding ...ding
4 bells goes ding,ding...ding,ding


Quote:
Build succeeded.

"C:\Data-Dart\Up-Soft\Navigation\o-plugin\watchdog_pi\build\ALL_BUILD.vcxproj" (
default target) (1) ->
"C:\Data-Dart\Up-Soft\Navigation\o-plugin\watchdog_pi\build\watchdog_pi.vcxproj"
(default target) (3) ->(ClCompile target) ->
..\src\WatchdogDialog.cpp(36): warning C4800: 'long' : forcing value to bool '
true' or 'false' (performance warning) [C:\Data-Dart\Up-Soft\Navigation\o-plugin
\watchdog_pi\build\watchdog_pi.vcxproj]
1 Warning(s)
0 Error(s)
CPack: - package: C:/..../o-plugin/watchdog_pi/build/watchdog_pi-1.1-win32.exe generated.
rgleason is offline   Reply With Quote
Old 25-08-2014, 06:23   #161
Registered User
 
rgleason's Avatar

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

See for update to the plugin
Sean Depagnier's Plugins - Page 11 - Cruisers & Sailing Forums

Please test and advise.
rgleason is offline   Reply With Quote
Old 01-09-2014, 07:03   #162
Registered User
 
rgleason's Avatar

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

New update to plugin fixes starboard alarm.

http://www.cruisersforum.com/forums/...ml#post1618511
rgleason is offline   Reply With Quote
Old 23-12-2014, 01:11   #163
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,239
Re: New Watchman Plugin

Sean...
In WinXP Plugin ver: 1.1 from OpenCPN.org
Alarm message box is not automatically reset
If for example anchor alarm is close to a limit and the alarm is frequently trigged a new message box is loaded for each trig.

A Tracker note is added: FS#1635 : Alarm message box is not automatically reset
Here's picture attached which I couldn't load in Tracker.

Thanks
Håkan
Attached Thumbnails
Click image for larger version

Name:	Watchdog_anchor.jpg
Views:	250
Size:	212.3 KB
ID:	94151  
Hakan is offline   Reply With Quote
Old 10-01-2015, 09:54   #164
Registered User

Join Date: Nov 2014
Location: Netherlands
Posts: 219
Re: New Watchman Plugin

Sean,

I also updated the watchdog plugin for build and execution for OSX.
Again tested for OSX and Ubuntu, NOT for Windows.

Peter
ptulp is offline   Reply With Quote
Old 01-05-2015, 13:51   #165
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 3,007
Re: New Watchman Plugin

Hello Sean d'Epagnier,

There is somme new items, in the file language. I need clarification on two of them.
- Second deadman,
- Second deadman activity.

What do you understand for each of them ?

Thank by advance.

Gilletarom.
Gilletarom 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Logbook Konni for OpenCPN konni OpenCPN 1128 15-05-2022 11:25
OpenCPN Release Candidate Version 3.1.1411 Released bdbcat OpenCPN 48 24-02-2013 06:59
GRIB Weather Mark Ward OpenCPN 26 12-02-2012 21:33
Route Properties, Missing Functions James Baines OpenCPN 13 13-07-2011 04:31

Advertise Here


All times are GMT -7. The time now is 14:02.


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.