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 29-04-2016, 22:59   #1
Registered User

Join Date: Nov 2009
Location: Cyprus
Boat: Amel Super Maramu 2000 53'
Posts: 55
Plugin Watchdog

For the past 10 days I have been trying without success to get Watchdog to sound an alarm when crossing a boundary line drawn using OCPN Draw. I have used every combination of the boundary setup, three computers (Win 7 64 and Win 7 32 and a Win 10 tablet). I did get the tablet to sound an alarm once, but I was unable to repeat it.

Thinking that maybe the NMEA source from my Comar AIS did not contain the required position sentence required by Watchdog, I also tried sourcing from my Furuno GP-80 and a Ublox-7 USB GPS receiver. Still the same result.

When I used Nobetec, all I had to do was click on the boundary tool, draw a line with my mouse and when the boat crossed the line the alarm went off. Simple, robust and above all, reliable.

Whilst Watchdog tries to do much more, frankly I cannot rely upon it to wake me when I am napping single handed.

Maybe I am doing something stupid? Unfortunately the info supplied with the plugin is minimal. Maybe the problem is not with Watchdog but with the line drawn by OPCN Draw?

Can anyone please help me understand what is going wrong please?
Biggles is offline   Reply With Quote
Old 30-04-2016, 00:29   #2
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
Re: Plugin Watchdog

Biggles,
Can you create a few screen shots showing your setup in Watchdog and the Boundary you are trying to detect. Can you also include the version/patch numbers of WD, OD and OCPN.

I have just done this on my system and got the attached.

Jon
Attached Thumbnails
Click image for larger version

Name:	exclusion boundary alam.png
Views:	176
Size:	168.9 KB
ID:	123453   Click image for larger version

Name:	gps alarm settings.png
Views:	254
Size:	63.0 KB
ID:	123454  

Click image for larger version

Name:	OD-version.png
Views:	157
Size:	11.6 KB
ID:	123455   Click image for larger version

Name:	watchdog-version.png
Views:	128
Size:	9.0 KB
ID:	123456  

jongough is offline   Reply With Quote
Old 30-04-2016, 02:14   #3
Registered User

Join Date: Nov 2009
Location: Cyprus
Boat: Amel Super Maramu 2000 53'
Posts: 55
Re: Plugin Watchdog

Hello Jon,

thanks for the reply. I have set up a boundary for an alarm when closer than 0.5 nms. The yacht is in fact 105 metres from the line but no alarm has been triggered. Here are the screen shots. OCPN is 4.2.0.

Ian
Attached Thumbnails
Click image for larger version

Name:	Watchdog Line Config.jpg
Views:	158
Size:	101.3 KB
ID:	123458   Click image for larger version

Name:	Watchdog Line.jpg
Views:	158
Size:	51.2 KB
ID:	123459  

Click image for larger version

Name:	Boundary Line set up.jpg
Views:	174
Size:	104.7 KB
ID:	123460   Click image for larger version

Name:	Boundary Line.jpg
Views:	183
Size:	22.9 KB
ID:	123461  

Click image for larger version

Name:	Watchdog Version.jpg
Views:	116
Size:	18.2 KB
ID:	123462   Click image for larger version

Name:	OD Properties.jpg
Views:	121
Size:	79.3 KB
ID:	123463  

Biggles is offline   Reply With Quote
Old 30-04-2016, 02:40   #4
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
Re: Plugin Watchdog

Ian,
It looks like you are trying to use a single line that has no 'interior'. In the current version of Watchdog and OD this will not work (there is a feature request to enable the checking of 'line' crossing, but will probably not be until OD v1.2).

Try drawing a 3 or more point boundary, set the type as 'exclusion' as this will show the lines with shading on the inside (it will actually have no effect on your WD as you have selected type 'Any'), as this make some sort of sense. If you look at the boundary I drew you will see the shading on the inside.

The reason it will not work with the line you drew is that currently a check (about 160 actually) is done to see if a lat/lon is 'inside' the boundary, so unless you were VERY lucky getting a lat/lon inside a 'one dimensional' boundary is unlikely.

Jon
jongough is offline   Reply With Quote
Old 30-04-2016, 03:40   #5
Registered User

Join Date: Nov 2009
Location: Cyprus
Boat: Amel Super Maramu 2000 53'
Posts: 55
Smile Re: Plugin Watchdog

Hi Jon,

hey thanks for solving the issue. A triangular boundary does work. I was trying to use it as I did in Nobeltec, which was much simpler. It would be nice to see a dialog pop up when the alarm is triggered offering a 1 click cancellation of the alarm whilst still retaining the boundary line.

It would also be better if the prog remembered the last choice of alarm sound so that when you set up a new line you don't have to reselect the sound. I use a whoopwhoop .wav file to differentiate from an AIS alert.

Looking forwards to 1.2 OD! Thanks for sorting this out Jon.

Cheers

Ian
Biggles is offline   Reply With Quote
Old 30-04-2016, 12:07   #6
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,249
Re: Plugin Watchdog

Ian
Of course you can get a pop-up message from Watchdog if you like.
You've maybe not read about it's facilities? Watchdog | Official OpenCPN Homepage
Also OD offers a lot more opportunities: Ocpn_Draw | Official OpenCPN Homepage
Håkan
Hakan is offline   Reply With Quote
Old 01-05-2016, 23:30   #7
Registered User

Join Date: Nov 2009
Location: Cyprus
Boat: Amel Super Maramu 2000 53'
Posts: 55
Re: Plugin Watchdog

Hakan,


you have misunderstood my comment. Yes I know you can get a pop up message when the alarm is triggered. However this pop up does not permit you to cancel the alarm like Nobeltec did. If you have repeat triggering enabled which is sensible if you are relying on the alarm to wake you up, then as far as I can see, the alarm can only be cancelled by shutting down watchdog or deleting the boundary line. It would be much neater if you could cancel watchdog by clicking on a pop up message and at the same time leaving the boundary line on the chart for future use.


Regards


Ian
Biggles is offline   Reply With Quote
Old 02-05-2016, 00:14   #8
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,249
Re: Plugin Watchdog

Ian..
Oh - I see - sorry.
How about this feature then? In the small box listing your alarm set up and its present status you can click in the box to activate - X - or deactivate each alarm.
In the picture below my boundary watch is active and will alarm, if limits are exceeded, the other not.
Attached Thumbnails
Click image for larger version

Name:	WD.PNG
Views:	113
Size:	5.4 KB
ID:	123555  
Hakan is offline   Reply With Quote
Old 02-05-2016, 00:43   #9
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,796
Re: Plugin Watchdog

Håkan,

what perhaps would be handy - not only for Ian - is an option to toggle the setting of an alarm when this alarm is firing and you acknowledge it.

A Deadman setting will most probably be persistent, Speed as well, but in the case of a boundary or line alarm that Jon is implementig now this is something like an Arrival Alert, which is needed just once.
Or a Start line for our racers...

Hubert
bcn is offline   Reply With Quote
Old 02-05-2016, 09:31   #10
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
Re: Plugin Watchdog

Don't forget you can set the alarm to auto reset, or to repeat (or not). Would these not be sufficient?

The new message for boundaries could also be used in weather routing and may make it make more sense.

I will not be able to do further work on OD or WD for a couple of weeks as I have had to go away, but if this is an issue can you raise a feature request on WD flyspray? I will then have a look when I get back.

Jon
jongough is offline   Reply With Quote
Old 02-05-2016, 11:46   #11
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,249
Re: Plugin Watchdog

Hubert
re:"A Deadman setting will most probably be persistent, Speed as well, but in the case of a boundary or line alarm that Jon is implementig now this is something like an Arrival Alert, which is needed just once."
For the line I think I understand the purpose; you're maybe talking about a line limit on a route for example. That's a one time use - ok - and I suppose you suggest it should be able to delete the line watch upon acknowledge in pup-up window. Could be usable.
For a "normal" boundary, e.g. an area, I often use it persistent and without a GUID. For example some fish net squares.
Håkan
Hakan is offline   Reply With Quote
Old 06-05-2016, 13:14   #12
Registered User

Join Date: Nov 2009
Location: Cyprus
Boat: Amel Super Maramu 2000 53'
Posts: 55
Re: Plugin Watchdog

Quote:
Originally Posted by Hakan View Post
Ian..
Oh - I see - sorry.
How about this feature then? In the small box listing your alarm set up and its present status you can click in the box to activate - X - or deactivate each alarm.
In the picture below my boundary watch is active and will alarm, if limits are exceeded, the other not.
It could be done your way, but as crossing a boundary could well be associated with a high activity requirement I would rather see the message pop up to say something like 'The vessel has crossed a boundary. Press Enter to cancel the alarm'. My experience so far with reset enabled is that the alarm keeps going off just when you think it has been silenced and you have just left the nav station to go and tack. A simple quick means of silencing it is needed. Pressing enter would be a very easy way. Nobeltec works this way and I have found it simple to use.

Thanks for the replies and thoughts and of course to the developer.

Ian
Biggles is offline   Reply With Quote
Old 19-05-2016, 19:23   #13
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
Re: Plugin Watchdog

Hi,
I have just put into git patch 045 of the watchdog plugin. This uses the OD beta 1.1.1 'line crossing' check for boundaries. If you do not have the beta of OD the current method, i.e. checking for points inside a boundary, will be used. If you have the beta OD then for Distance it will:
check if a boundary is within the specified distance, based on 10deg increments starting at North. It will find the closest boundary and, if you have graphics enabled for the alarm, will draw a line to the closest part of the closest boundary
And for Time it will:
Check for a boundary within the specified time/distance from the boat based on the COG. Again, if you have graphics enabled for the alarm it will draw a line to the boundary.
This change should reduce the load on the system and provide for one dimensional boundaries being used above.

Jon
jongough is offline   Reply With Quote
Old 23-05-2016, 06:38   #14
Registered User
 
plang732's Avatar

Join Date: Sep 2009
Location: Brussels/Belgium
Boat: One off, sailboat 44'
Posts: 21
Watchdog : lat/long units does not match OPCN settings

Hi,

The picture at http://www.thoe.be/guest/OCPN-Statusline.png is showing the the bearing is given from the cursor to the ship in the status line (which is not useful) and from the ship to the cursor in the original statusline of OpenCPN.

Is it possible to fix this ?

Thanks

Pierre
plang732 is offline   Reply With Quote
Reply

Tags
plug

« Nv Charts | Mbtiles »

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
Watchdog Plugin seandepagnier OpenCPN 640 22-05-2024 05:07
OpenCPN PlugIn Development bdbcat OpenCPN 161 04-09-2019 12:50
UncleMag Intro - Watchdog for World Cruisers ! UncleMag Meets & Greets 4 03-02-2011 00:47
Florida to Bahamas Watchdog countrybimm Atlantic & the Caribbean 54 20-04-2010 15:50

Advertise Here


All times are GMT -7. The time now is 07:06.


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.