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 10-08-2015, 00:54   #16
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
re: Watchdog Plugin

Quote:
Originally Posted by Baikal View Post
Let the plugin takes the coordinates automatically when an alarm is triggered.
Do you mean when the anchor alarm is triggered, it could have an option to move the new anchor position to where the boat has dragged to?

Or do you mean it should automatically reset the position whenever the anchor alarm is enabled?
seandepagnier is offline   Reply With Quote
Old 10-08-2015, 01:43   #17
Registered User

Join Date: Sep 2012
Location: Baikal
Posts: 581
re: Watchdog Plugin

Quote:
Originally Posted by boat_alexandra View Post
Do you mean when the anchor alarm is triggered, it could have an option to move the new anchor position to where the boat has dragged to?

Or do you mean it should automatically reset the position whenever the anchor alarm is enabled?
actions
1. turn on anchor alarm - a circular area alarm is automatically created by the position of the vessel
2. turn off the anchor alarm - position zone reset
Baikal is offline   Reply With Quote
Old 08-09-2015, 00:37   #18
Registered User

Join Date: Sep 2012
Location: Baikal
Posts: 581
re: Watchdog Plugin

Suggestions for WatchDog UI
Add Checkbox to enable and disable the alarm
Attached Thumbnails
Click image for larger version

Name:	checkboxJPG.JPG
Views:	251
Size:	27.6 KB
ID:	108610  
Baikal is offline   Reply With Quote
Old 08-09-2015, 05:47   #19
Registered User

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

it has a check box already like this
seandepagnier is offline   Reply With Quote
Old 08-09-2015, 06:46   #20
Registered User

Join Date: Sep 2012
Location: Baikal
Posts: 581
Re: Watchdog Plugin

Quote:
Originally Posted by boat_alexandra View Post
it has a check box already like this
it is an empty field!
you need a field where one could press
Baikal is offline   Reply With Quote
Old 08-09-2015, 07:08   #21
Registered User

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

This is what I am seeing. If you click where the X is, it toggles it.
Attached Thumbnails
Click image for larger version

Name:	Screenshot - 09082015 - 06:07:12 PM.png
Views:	193
Size:	11.0 KB
ID:	108618  
seandepagnier is offline   Reply With Quote
Old 08-09-2015, 07:15   #22
Registered User

Join Date: Sep 2012
Location: Baikal
Posts: 581
Re: Watchdog Plugin

Quote:
Originally Posted by boat_alexandra View Post
This is what I am seeing. If you click where the X is, it toggles it.
if you turn off the alarm by pressing the (X) there is an empty field!
That is why I suggest to make a checkbox that would be seen Switch
Attached Thumbnails
Click image for larger version

Name:	gde..JPG
Views:	276
Size:	28.9 KB
ID:	108619  
Baikal is offline   Reply With Quote
Old 08-09-2015, 07:19   #23
Registered User

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

Quote:
Originally Posted by Baikal View Post
if you turn off the alarm by pressing the (X) there is an empty field!
That is why I suggest to make a checkbox that would be seen Switch
This is a good idea, I didn't understand. So I will put a box around the X, or you can contribute art work if you can make it look better.
seandepagnier is offline   Reply With Quote
Old 08-09-2015, 07:28   #24
Registered User

Join Date: Sep 2012
Location: Baikal
Posts: 581
Re: Watchdog Plugin

Quote:
Originally Posted by boat_alexandra View Post
This is a good idea, I didn't understand. So I will put a box around the X, or you can contribute art work if you can make it look better.
I'm not a programmer unfortunately, but I can work with graphics and generate ideas.
I think that in the off mode will be quite a frame around
Attached Thumbnails
Click image for larger version

Name:	vs.png
Views:	235
Size:	34.1 KB
ID:	108620  
Baikal is offline   Reply With Quote
Old 08-09-2015, 07:28   #25
Registered User

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

Try now from git
seandepagnier is offline   Reply With Quote
Old 08-09-2015, 07:46   #26
Registered User

Join Date: Sep 2012
Location: Baikal
Posts: 581
Re: Watchdog Plugin

Quote:
Originally Posted by boat_alexandra View Post
Try now from git
Super! Thank you!
Baikal is offline   Reply With Quote
Old 08-09-2015, 11:28   #27
Registered User

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

Sean..
I haven't used Watchdog for a while but I really like the "new" UI. I'll give it a test on my next trip.
I'm using Win, VS2010, OCPN 4.1.818 and got a build error; "couldn't find GL/glext.h". I commented out as of my diff below. Will that do any harm?
Code:
diff --git a/src/GL/gl.h b/src/GL/gl.h
index ce5e90e..13f490c 100644
--- a/src/GL/gl.h
+++ b/src/GL/gl.h
@@ -2141,16 +2141,15 @@ typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLsh
  * Define this token if you want "old-style" header file behaviour (extensions
  * defined in gl.h).  Otherwise, extensions will be included from glext.h.
  */
-#if defined(GL_GLEXT_LEGACY)
+//#if defined(GL_GLEXT_LEGACY)
 /* All extensions that used to be here are now found in glext.h */
-#else  /* GL_GLEXT_LEGACY */
+//#else  /* GL_GLEXT_LEGACY */
-#include <GL/glext.h>
+//#include <GL/glext.h>
-#endif  /* GL_GLEXT_LEGACY */
+//#endif  /* GL_GLEXT_LEGACY */

 #if GL_ARB_shader_objects
Thanks
Håkan
Hakan is offline   Reply With Quote
Old 08-09-2015, 23:11   #28
Registered User

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

Hakan,

I just added this file, it should build now.
seandepagnier is offline   Reply With Quote
Old 08-09-2015, 23:32   #29
Registered User

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

Sean..
Yes! now it builds fine.
Thanks/ Håkan
Hakan is offline   Reply With Quote
Old 09-09-2015, 00:17   #30
Registered User

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

Sean....again
First build and now also run for test. - Two issues:
1.
It seems that if the GL/glext.h is present the Landfall guard is pointing to a false direction. See the two pictures. The first is todays pull including GL/glext.h. The next is when I again has commented out as of the diff above. I haven't tested if it is only a graphic failure or if also the calculations are false.
2.
If I check the Landfall "Graphics enabled" box the yellow line is drawn, as in the pictures, but then Watchdog, and OCPN, hangs.
See the pictures. Translation from Swedish: Watchdog (Svarar inte) = Watchdog (Don't respond) This program halt is independent of if I have commented out GL/glext.h or not.

More details?, please ask.
Håkan
Attached Thumbnails
Click image for larger version

Name:	Watchdog_w_gl.jpg
Views:	225
Size:	249.3 KB
ID:	108681   Click image for larger version

Name:	Watchdog_wo_gl.jpg
Views:	205
Size:	225.3 KB
ID:	108682  

Hakan is offline   Reply With Quote
Reply

Tags
plug


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
Plugin: DashBoard SethDart OpenCPN 644 02-04-2024 16:55
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 21:40.


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.