Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools 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: 8,007
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
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: BVI
Boat: bristol 27
Posts: 2,640
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.
__________________

__________________
boat_alexandra 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: 8,007
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: 8,007
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: Monastir, Tunisia
Boat: Westerly Pentland
Posts: 1,664
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
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: BVI
Boat: bristol 27
Posts: 2,640
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.
__________________
boat_alexandra 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: 8,007
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: 8,007
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
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: BVI
Boat: bristol 27
Posts: 2,640
Re: New Watchman Plugin

trying to fix a warning I made an error

Try now
__________________
boat_alexandra 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: 8,007
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: 8,007
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: 8,007
Re: New Watchman Plugin

New update to plugin fixes starboard alarm.

Sean Depagnier's Plugins
__________________
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: 1,797
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
Hkan
Attached Thumbnails
Click image for larger version

Name:	Watchdog_anchor.jpg
Views:	129
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: 167
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 mtres
Posts: 2,209
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

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
Logbook Konni for OpenCPN konni OpenCPN 822 14-02-2017 19:01
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


Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities


Copyright 2002- Social Knowledge, LLC All Rights Reserved.

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


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.