Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 14-02-2014, 16:31   #106
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: North Carolina
Boat: bristol 27
Posts: 2,720
Re: New Watchman Plugin

Any reason this plugin cannot be released for general use? If not, I plan to in a few days.
__________________

__________________
boat_alexandra 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: 386
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: 386
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: 8,261
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: 8,261
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: 8,261
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: 2,611
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 online now   Reply With Quote
Old 17-02-2014, 10:31   #113
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,205
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: 8,261
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, 31 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: 8,261
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
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: North Carolina
Boat: bristol 27
Posts: 2,720
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.
__________________
boat_alexandra 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: 8,261
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
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: North Carolina
Boat: bristol 27
Posts: 2,720
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?
__________________
boat_alexandra 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: 8,261
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: 8,261
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

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 823 07-06-2017 09:32
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 03:44.


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.