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 14-02-2014, 16:31   #106
Registered User

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

Any reason this plugin cannot be released for general use? If not, I plan to in a few days.
seandepagnier is offline   Reply With Quote
Old 14-02-2014, 23:58   #107
Registered User
 
AISEAG's Avatar

Join Date: May 2012
Location: Dahouet (Brittany)
Boat: BENETEAU
Posts: 491
Re: New Watchman Plugin

Hi Sean,



This pluging has already answered to some of my needs

Very useful

Serge
AISEAG is offline   Reply With Quote
Old 16-02-2014, 05:51   #108
Registered User
 
AISEAG's Avatar

Join Date: May 2012
Location: Dahouet (Brittany)
Boat: BENETEAU
Posts: 491
Re: Watchdog / Watchman Plugin

Hi Sean,

I have been thru Features Requests and have oriented several alarms related demands to "Watchdog / Watchman project" into Tracker/ Flyspray.

Thanks for all


Tracker is here OpenCPN::Tracker All Projects: Tasklist

Login and Registration is here OpenCPN::Tracker All Projects: Tasklist at the top

Serge
AISEAG is offline   Reply With Quote
Old 16-02-2014, 13:40   #109
Registered User
 
rgleason's Avatar

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

This should be the Watchdog Tracker List:
OpenCPN::Tracker pi - Watchdog / Watchman (Beta): Tasklist

It would be very helpful if users tested the plugin and advised which of the items in Watchdog Tracker were fixed and advised if there are any others.
rgleason is offline   Reply With Quote
Old 16-02-2014, 14:10   #110
Registered User
 
rgleason's Avatar

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

This plugin has these alarms now:
Landfall - GPS course crosse land in < x minutes
- GPS fix is < X nm from coastline
NMEA -Require nmea data similar to $IIDBT $IIGLL every X seconds.
Deadman - No user activity for x minutes
Anchor Watch - Sync to boat and Radius in meters.
Off Course -Off course by > x degrees, with course of xxx, Current Course button.
Under speed -Speed over ground < x knots
Over speed - Speed over ground > x knots
Depth - not implemented.
Wind - not implemented.

Please test them, as plugin is being released very soon by Sean.
rgleason is offline   Reply With Quote
Old 16-02-2014, 14:30   #111
Registered User
 
rgleason's Avatar

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

Can we close these?
FS#1093 http://opencpn.org/ocpn/flyspray/ind...093&project=34
FS#790 FS#790 : ALARM GPS - Trigger Alarm when GPS-connection is lost
FS#769 FS#769 : ALARM Sounds - Different warning sounds for different alerts.
rgleason is offline   Reply With Quote
Old 17-02-2014, 00:49   #112
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,735
Re: New Watchman Plugin

Opening the context:
The technique applied here to watch for obstructions (or other parameters) would come handy to implement a "route checker" for the route manger:

In commercial software packages there are options to print a route plan from the designed route that alerts about obstructions or not complied parameters for a safe route (draught, minimum distance to shore, ...).
Some ideas are expressed already in FS#717 "waypoint warnings" and #594 "Play route".

Hubert
bcn is offline   Reply With Quote
Old 17-02-2014, 10:31   #113
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: New Watchman Plugin

I can see some problems with this plugin i relation to the main code.

*Some features already exist in the main code, for example Anchor Watch. While this old hack could do with some updating and a better interface, it's not a good policy to re-implement it in a plugin, leaving the old code as is.
*The main code contains a few alarms with a careful thought through priority between them. What happens if a plugin and a main alarm are triggered at the same time? This is important as safety is involved.
*The main code alarms still only uses one alarm sound....

Some coordination is called for between Sean & Dave here, to decide on the best way forward in this area.


Thomas
cagney is offline   Reply With Quote
Old 18-02-2014, 14:18   #114
Registered User
 
rgleason's Avatar

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

Sean fixed some Landfall and Rendering issues, so this has been recompiled.

I've also updated this file on Opencpn Beta File Thingie
Attached Files
File Type: doc watchdog_win32_pi110_v10_ov331328_pi.dll.doc (184.0 KB, 55 views)
rgleason is offline   Reply With Quote
Old 18-02-2014, 14:25   #115
Registered User
 
rgleason's Avatar

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

The Depth and Wind alarms are not implemented yet because Sean needs some instruments for testing. If you have some working unused Wind and Depth instruments please consider contributing them to Sean.
rgleason is offline   Reply With Quote
Old 18-02-2014, 17:06   #116
Registered User

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

Quote:
Originally Posted by cagney View Post
I can see some problems with this plugin i relation to the main code.

*Some features already exist in the main code, for example Anchor Watch. While this old hack could do with some updating and a better interface, it's not a good policy to re-implement it in a plugin, leaving the old code as is.
*The main code contains a few alarms with a careful thought through priority between them. What happens if a plugin and a main alarm are triggered at the same time? This is important as safety is involved.
*The main code alarms still only uses one alarm sound....

Some coordination is called for between Sean & Dave here, to decide on the best way forward in this area.


Thomas
Yes, well the plugin allows users to run external commands as well as multiple sounds, as well as display more information related to the alarm. From my point of view we could remove the alarms from the main code, but the issue is, Dave probably doesn't want to, at least not anytime soon as it will remove essential features from the base install.

With that said, I intend that users of watchdog_pi (like statusbar_pi) can simply not use the features in the main program in favor of the plugin. Eventually, who knows, maybe we can remove them from the main program and simplify things, but that cannot begin to happen until well after watchdog is released for general use and really put to the test by many users.
seandepagnier is offline   Reply With Quote
Old 23-04-2014, 15:08   #117
Registered User
 
rgleason's Avatar

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

Sean,
I have git pulled watchdog and tried standalone compile with MSVC++ again.
It seems to complete successfully... see attached output.
This is an improvement over before.
I find a new watchdog.dll under C:\o-plugin\watchdog_pi\Debug

Tried to use it under MSVC++ as a debug plugin, it had some problem with osc data. Then tried to use it with v3.3.1606 thinking it was actuallly a release version, that choked up opencpn on start.

Does the attached file give you any ideas for getting this to work?
Also how would I create a release version? It seems to be defaulting to creating a Debug version.

Thanks
rgleason is offline   Reply With Quote
Old 27-04-2014, 05:46   #118
Registered User

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

Quote:
Originally Posted by rgleason View Post
Sean,
I have git pulled watchdog and tried standalone compile with MSVC++ again.
It seems to complete successfully... see attached output.
This is an improvement over before.
I find a new watchdog.dll under C:\o-plugin\watchdog_pi\Debug

Tried to use it under MSVC++ as a debug plugin, it had some problem with osc data. Then tried to use it with v3.3.1606 thinking it was actuallly a release version, that choked up opencpn on start.

Does the attached file give you any ideas for getting this to work?
Also how would I create a release version? It seems to be defaulting to creating a Debug version.

Thanks
By adding
Code:
SET(CMAKE_BUILD_TYPE Debug)
to the cmakelist file?

Does the plugin work using it in release mode with the release built opencpn?
seandepagnier is offline   Reply With Quote
Old 27-04-2014, 09:44   #119
Registered User
 
rgleason's Avatar

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

Ok, I've been searching and I quit...watchdog_pi_manifest.rc has debug in it but I can't find the file.
rgleason is offline   Reply With Quote
Old 27-04-2014, 10:32   #120
Registered User
 
rgleason's Avatar

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

Found an email from Markus Elfing - You've probably already fixed this, but it gives clues to me for my problem:
Quote:
Some parameters (like "${CMAKE_SOURCE_DIR}/build" and "${wxWidgets_USE_FILE}") are passed to CMake commands in your build scripts without enclosing them by quotation marks. I see that these places will result in build difficulties if the contents of the used variables will contain special characters like spaces.
I would recommend to apply advices from a Wiki article.
rgleason 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 21: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.