Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 13-06-2013, 07:57   #61
Registered User

Join Date: Sep 2010
Posts: 121
Re: New Watchman Plugin

Hi,

I found new "feature" in watchman_win32_pi110_v04_pi.dll.
Previously in watchman_win32_pi110_v03_pi.dll when I used VDR and configured alarm for GPS signal it was working before, but now I have N/A.

Kubek
Attached Thumbnails
Click image for larger version

Name:	Watchman.jpg
Views:	114
Size:	406.8 KB
ID:	62450  
__________________

__________________
kubek is offline   Reply With Quote
Old 13-06-2013, 09:11   #62
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,303
Re: New Watchman Plugin

Kubek are you saying, gps alarm signal does not work with watchman_win32_pi110_v04_pi.dll, but it did work with watchman_win32_pi110_v03_pi.dll?

Sorry, hope Sean or someone can fix it.
Can anyone compare the versions so we can fix it?

Thank you Kubek.

I think if you register for githup (free) and look here
https://github.com/seandepagnier?tab=activity

at this last commit on June 11
https://github.com/seandepagnier/wat...commits/master
and look at the code changes you might figure it out.

actually I then looked at the June 8 commit, "Fix bug in COG"
I think that is where it is located.
https://github.com/seandepagnier/wat...a3137a60c52df5
However I don't know what to do exactly.
__________________

__________________
rgleason is online now   Reply With Quote
Old 13-06-2013, 12:46   #63
Registered User

Join Date: Sep 2010
Posts: 121
Re: New Watchman Plugin

Hi,

There you can find output from v3 of Watch Man plugin with configured alarm for GPS status.

Kubek
Attached Thumbnails
Click image for larger version

Name:	WatchMan_v3.jpg
Views:	112
Size:	215.8 KB
ID:	62471  
__________________
kubek is offline   Reply With Quote
Old 13-06-2013, 13:40   #64
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,303
Re: New Watchman Plugin

kubek, can you add .doc to the one that works and does not have the test alarm and upload here? Thanks I deleted that one.
__________________
rgleason is online now   Reply With Quote
Old 13-06-2013, 14:07   #65
Registered User

Join Date: Sep 2010
Posts: 121
Re: New Watchman Plugin

Quote:
Originally Posted by rgleason View Post
kubek, can you add .doc to the one that works and does not have the test alarm and upload here? Thanks I deleted that one.
Hi,

watchman_win32_pi110_v03_pi.dll - is working with GPS alarm
watchman_win32_pi110_v04_pi.dll - GPS alarm doesn't work

Kubek
Attached Files
File Type: doc watchman_win32_pi110_v03_pi.dll.doc (127.0 KB, 39 views)
File Type: doc watchman_win32_pi110_v04_pi.dll.doc (137.0 KB, 44 views)
__________________
kubek is offline   Reply With Quote
Old 13-06-2013, 15:11   #66
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,303
Re: New Watchman Plugin

Kubek,

from Github Commit History

June 2 add off course error
June 6 update for course error
June 8 fix bug in cog
June 10 watchman_win32_pi110_v03_pi.dll - GPS alarm works
June 11 add test alarm button
June 11 fix bug
June 13 watchman_win32_pi110_v04_pi.dll - GPS alarm does not

The June 8 and June 6 bugs the were in Watchman_pi.cpp
Also I went back to recycle bin to see when files were created, see above.

Do you agree from your recollection that the plugin was working after June 8?
__________________
rgleason is online now   Reply With Quote
Old 13-06-2013, 15:35   #67
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,303
Re: New Watchman Plugin

Quote:
configured alarm for GPS signal it was working before, but now I have N/A.
Do you know if:
Is it picking up the nmea GPS signal but not making an alarm sound?
Is it not picking up the nmea GPS signal and therefor is not making an alarm sound?
__________________
rgleason is online now   Reply With Quote
Old 13-06-2013, 18:00   #68
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,303
Re: New Watchman Plugin

I've just checked all of the following plugins, GPS works in each one,but AIS does not. Used NavMonPC on 100x speed with 38400 baud, with Hartmut's nmea file on the website. Checked each alarm for each version various ways.

Version 3 is basic and version 5 has Sean's commit for June 11 fix code reverted back. We need to figure out why AIS signal is not getting through.
watchman_win32_pi110_v03_pi.dll - is working with GPS alarm, basic version

watchman_win32_pi110_v04_pi.dll - GPS alarm doesn't work (Rick found it did), Test button for alarm sound, expand and contracts, highlights alert in red.

watchman_win32_pi110_v04-2_pi.dll - GPS alarm work too. test button for alarm sound, expands and contracts for alarms, highlights alert in red

Requires Opencpn3.3.424

Note: Version 04-2 is the same as v04 but with one line of code changed back June11 "fix bug" in watchman_pi.cpp I reverted back to previous, the following:

Code:
if(mb) {          wxMessageDialog mdlg(m_parent_window, _("ALARM!!!!"), 

-                             wxString(_("Watchman"), wxOK | wxICON_ERROR)); 

+                             _("Watchman"), wxOK | wxICON_ERROR);          mdlg.ShowModal();

The filenames explain which version for each screenshot.
Attached Thumbnails
Click image for larger version

Name:	Watchman-NavmonPC-Test-GPS-Alarm-1-v04.jpg
Views:	96
Size:	324.7 KB
ID:	62492   Click image for larger version

Name:	Watchman-NavmonPC-Test-GPS-Alarm-2-v04.jpg
Views:	90
Size:	287.1 KB
ID:	62493  

Click image for larger version

Name:	Watchman-NavmonPC-Test-GPS-Alarm-3-v05.jpg
Views:	96
Size:	272.6 KB
ID:	62494   Click image for larger version

Name:	Watchman-NavmonPC-Test-GPS-Alarm-4-v05.jpg
Views:	89
Size:	272.6 KB
ID:	62495  

Click image for larger version

Name:	Watchman-NavmonPC-Test-GPS-Alarms-4-v03.jpg
Views:	101
Size:	399.1 KB
ID:	62496  
__________________
rgleason is online now   Reply With Quote
Old 13-06-2013, 18:16   #69
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,303
Re: New Watchman Plugin

Plugins-Beta-Opencpn-3.3
Opencpn Beta Login - Plugins - rguser, rgpass.
__________________
rgleason is online now   Reply With Quote
Old 14-06-2013, 04:28   #70
Registered User

Join Date: Sep 2010
Posts: 121
Re: New Watchman Plugin

Hi,

I played with different version of the plugin watchman and different VDR files.
I found that problem was NOT with plugin itself, but with VDR file!!!
My mistake, If I used VDR file "Rausch.nmea" from File Thingie 2.5.7 I had no GPS alarm on all plugin versions, but if I used my own VDR file, I always had GPS alarm working on all plugin versions. So, there was no plugin fault, but wrong VDR file with missing some NMEA sentences inside. Sorry again for false alarm about plugin!

I attached two screenshot with:
- v04_2 with Rausch.nmea VDR - no GPS alarm!
- v04 with my own VDR file - GPS alarm works!
and I attached also my VDR file with only GPS sentences for testing purpose

Kubek
Attached Thumbnails
Click image for larger version

Name:	watchman_win32_pi110_v04_pi.dll.png
Views:	94
Size:	216.1 KB
ID:	62505   Click image for larger version

Name:	watchman_win32_pi110_v04-2_pi.dll.png
Views:	90
Size:	286.4 KB
ID:	62506  

Attached Files
File Type: doc jonskie_2011.08.26.zip.doc (135.2 KB, 39 views)
__________________
kubek is offline   Reply With Quote
Old 14-06-2013, 06:04   #71
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,303
Re: New Watchman Plugin

kubek, Have you noticed Watchman popping up when you've dismissed it? -How does this work? Is it supposed to always be running in the background?
I think I was getting Alarms without having the Watchman clicked. I think it was v04-2.

The AIS signal is not working for me. Why? Does Watchman have an AIS collision alarm? 3 miles? Within some interference zone?

Also, I found that it would be nice to have:
1. Popup message should say what the alarm is and condition not met.
1. Specific sounds for each alarm type. -Need different wave files.
2. Alarm Settings for loudness and duration, persistance and frequency.
3. Second Back up alarm with similar settings.
4. Button for reset and dismissal of all alarms.

I think I found that raucsh file was not working with VDR so I changed to NavMonPC and used Hartmut file which is very good.
I relabeled all Nmea files for location and type and put the back up on FileThingie, also yours with "GpsOnly". Thanks.
Opencpn Beta - File Thingie rguser rgpass
Let me know how that Version 04-2 modification (reversion) works please. I have no idea what Sean was fixing, maybe we'll find out.

-- So should we actually be using Version 04 of watchman, not 04-2?

(Version 04-2 reverts the June 11 "fix code", for the wrong reasons - your problem about not receiving gps signal due to rausch.nmea not haviing gps nmea cog!!!)

How do we get the AIS signal working?
__________________
rgleason is online now   Reply With Quote
Old 14-06-2013, 08:28   #72
Registered User

Join Date: Sep 2010
Posts: 121
Re: New Watchman Plugin

Hi,

I seen the pop-out window with alarm when watchman plugin was dismissed.
I thought that is good idea to have this kind of behavior and this is not done be mistake.

"-- So should we actually be using Version 04 of watchman, not 04-2?"
I vote to use watchman_win32_pi110_v04_pi.dll and to forget 04-2 version.

"Also, I found that it would be nice to have"
I agree with your wish list and I think that "depth alarm" will be also a nice to have feature.

Kubek
Attached Thumbnails
Click image for larger version

Name:	watchman_win32_pi110_v04_pi.dll_alarm_when_plugin_is_switched_off.png
Views:	91
Size:	156.5 KB
ID:	62522  
__________________
kubek is offline   Reply With Quote
Old 14-06-2013, 08:48   #73
Registered User

Join Date: Sep 2010
Posts: 121
Re: New Watchman Plugin

Hi,

I try to play with "Off Course Alarm" and I have doubt how it works.

- Value "Off Course By >" can be changed from 0 to 180 - my understanding - that is a max error for course without alarm.

- Value "With Course of" is 0 to 10 - but in my opinion this should be value of COG, and also button "Current Course" should set this value, If I try to change it to value above 10 than it is set to 10 again.

Kubek
Attached Thumbnails
Click image for larger version

Name:	Watchman_Off_Course_Alarm.png
Views:	85
Size:	171.1 KB
ID:	62530  
__________________
kubek is offline   Reply With Quote
Old 14-06-2013, 10:04   #74
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,303
Re: New Watchman Plugin

kubek, I am having trouble getting my head around the entire Off course alarm.
Would you mind explaining to me how:
1. How you think the author intended it to work.
2. How it actually works.
3. How you would like it to work.

I think the Depth alarm is a good one. What features?

Maybe after we figure some of this out, we should make a two comprehensive Flyspray entries under Plugins (1. Watchman Bugs 2. Watchman Feature requests)
__________________
rgleason is online now   Reply With Quote
Old 14-06-2013, 10:39   #75
Registered User

Join Date: Sep 2010
Posts: 121
Re: New Watchman Plugin

rgleason,

Sorry for my english, "I agree with your wish list and I think that "depth alarm" will be also a nice to have feature." I think that nice to have feature is depth alarm also.

I think that in "Off Course Alarm" is a bug that in "With Course of" field should allow us to set value from 0 to 360 and if you press "Current Course" button - it should fill-out this with COG from GPS.

The "Off Course By >" it is working fine.
Only we need to unblock "With Course of" from 0-10 to 0-360
and "Current Course" button should populate this value from COG

I agree with you about Flyspray entries under Plugins.

Kubek
__________________

__________________
kubek 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 10:02.


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.