Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 21-12-2015, 22:36   #616
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 883
Re: Ocpn-Draw and Boundary

David,
I have implemented rollover popups for the display text for Text Points. This is in patch 589 of OD. The documentation is not up to date with this change.

You will find on the 'Display Text' tab of the Text Point properties now has three options for the display of the text: 'Always', 'On Rollover Only' and 'Never'. The defaults for these can be set on the Text Point page of the main properties under 'Options/plugins'.

I have only tested this with the latest version of OCPN and there appears to be a close down issue in this version. It will work with the version that Rick has recently created.

Jon
__________________

__________________
jongough is offline   Reply With Quote
Old 23-12-2015, 00:58   #617
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 883
Re: Ocpn-Draw and Boundary

Rick,
I have updated the DR tool, patch 590, so that the right click menu now includes 'Update initial conditions'. This will display the same dialog that you get when you create a DR, but this time it is filled in with the settings you used to create the selected DR. When you click OK the DR effectively gets recreated with the new values. Not quite what you asked for, but I hope a step in the right direction.

Jon
__________________

__________________
jongough is offline   Reply With Quote
Old 23-12-2015, 06:05   #618
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,401
Re: Ocpn-Draw and Boundary

Thanks Jon. Many ways to skin the cat.
__________________
rgleason is online now   Reply With Quote
Old 23-12-2015, 23:58   #619
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 883
Re: Ocpn-Draw and Boundary

Rick,
I have just started the Guard Zone stuff. I have submitted changes to the AIS system to put out JSON messages containing enough information for the Watchdog plugin. I have submitted a change to the Watchdog plugin that will get and process the AIS message and then allow the OD plugin to be checked for an AIS target in a 'Guard Zone'. Currently there is no 'Guard Zone' object, so the check is done, like the anchor alarm, using the Boundary GUID. This is still a work in progress and for the real 'Guard Zones' I will need more information, but we can make a poor man's Guard Zone using the current Boundaries.

I know there are holes in it at the moment as the Watchdog is only going to check every second for a single AIS target in a boundary. I am currently thinking how to implement it so that it happens when an AIS message is received. As I intimated, this is the skeleton of the Guard Zone stuff.

Patch 591 of OD has the requisite code in it.

Jon
__________________
jongough is offline   Reply With Quote
Old 24-12-2015, 01:59   #620
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,967
Re: Ocpn-Draw and Boundary

Jon..Sean..
This will for sure be fine. The Watchdog changes will though need its new header
C:\Builds\OCPN\watchdog_pi\src\Alarm.cpp(40): fatal error C1083: Cannot open include file: 'AIS_Target_Info.h': No such file or directory

Håkan
__________________
Hakan is offline   Reply With Quote
Old 24-12-2015, 02:18   #621
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 883
Re: Ocpn-Draw and Boundary

Håkan,
I missed out on uploading the new file. I have submitted an update for that. I have also submitted an update which I think will allow each AIS message to be checked as it is created rather than on the timer. I have also submitted another update to the mainline AIS to try and ensure that the information being supplied has been properly initialised.

You should be able to make sure everything still works at the moment, but until the change to the AIS code is implemented you will not be able to test the new functionality.

Jon
__________________
jongough is offline   Reply With Quote
Old 24-12-2015, 03:00   #622
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,401
Re: Ocpn-Draw and Boundary

Sounds good Jon. Started to setup Tablet for development yesterday.
__________________
rgleason is online now   Reply With Quote
Old 24-12-2015, 13:55   #623
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,401
Re: Ocpn-Draw and Boundary

Just got opencpn and draw compiled.
__________________
rgleason is online now   Reply With Quote
Old 24-12-2015, 20:23   #624
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,401
Re: Ocpn-Draw and Boundary

Will check for WatchDog changes tomorrow, and do some testing of OD with current beta.
__________________
rgleason is online now   Reply With Quote
Old 25-12-2015, 15:04   #625
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,401
Re: Ocpn-Draw and Boundary

Opencpn Beta File Thingie rguser rgpass

4.1.1108 PI Win directory
ocpn_draw_pi-0.4.591-ov4.1.1108-b20625f-pr153-ais-messaging-win32
watchdog_pi-1.9004-ov4.1.1108-with-pr153-ais-mess-win32

Home
Main Root Directory
opencpn_4.1.1108_GIT9-cba9f98-PR519-Ptizef

Which works with ocpn_draw and watchdog
Also has the AIS target scaling final version.

All for windows testing.
__________________
rgleason is online now   Reply With Quote
Old 25-12-2015, 15:05   #626
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,401
Re: Ocpn-Draw and Boundary

Jon, I have been testing the Watchdog alarms, one at a time, and they seem to be working as expected. Need to test further and will report.
__________________
rgleason is online now   Reply With Quote
Old 25-12-2015, 19:44   #627
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 883
Re: Ocpn-Draw and Boundary

I have now managed to test the Guard Zone code with an AIS 'test' data feed and check that it works. I have submitted a new patch to Watchdog to disentangle the AIS and OD messages. I have also put up a new patch, 592, for OD to provide the name and description of the Guard Zone that has triggered the alarm.

I believe that Guard Zones now works with AIS data using Boundaries with specific GUIDs (like a reverse anchor watch). It would be interesting to here if anyone has a live AIS feed to check this out with.

Jon
__________________
jongough is offline   Reply With Quote
Old 25-12-2015, 20:44   #628
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,401
Re: Ocpn-Draw and Boundary

Wow. Jon does watchdog need to be compiled too.
__________________
rgleason is online now   Reply With Quote
Old 26-12-2015, 05:32   #629
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 883
Re: Ocpn-Draw and Boundary

You will need to compile OD and Watchdog with the my patch, not sure if it has been accepted yet, to get it working correctly. I think I also need the alarm message box to show some ship details so that you know who has encroached the guard zone. I may get to that tomorrow.

Jon
__________________
jongough is offline   Reply With Quote
Old 26-12-2015, 07:56   #630
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,401
Re: Ocpn-Draw and Boundary

As Jon has advised earlier, there is no relationship between the Boundary and Boundary Point graphics for "inclusion, exclusion, neither" selections and the Watchdog Alarms. For example a Watchdog (WD) "Anchor" alarm can be set using a Ocpn_Draw (OD) Exclusive Boundary or Exclusive Boundary Point with Ring, (hatched interior) and the anchor alarm will still work when the Own Boat moves out of the boundary area.

In WD when setting an anchor watch alarm, it is best to have own boat located within the boundary before "Get Boundary Guid" otherwise the wrong GUID may be found.

When setting WD alarms for GPS course & time and GPS fix which are essentially WD "exclusion" alarms, the alarm sounds when the condition is reached regardless of the OD graphic appearance of the boundary (inclusive, exclusive, neither). Also these WD alarms are searching for crossing of ANY boundary, so the boundary GUID is not necessary.

Jon please correct if I have this wrong.
__________________

__________________
rgleason is online now   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
Rookie questions - boundary circles; exporting options; GPX files fredgmeyer OpenCPN 5 23-05-2014 23:22
Buoys out in Boundary Bay, BC Carogan Liveaboard's Forum 0 27-08-2012 07:41
For Sale: Cascade Designs Seal Line Boundary 70 Dry Bag thesparrow Classifieds Archive 0 14-03-2011 16:27
Current draw and insulation of portable fridges troppo Plumbing Systems and Fixtures 6 06-03-2011 10:00
amperage draw for Garmin radar and MFD janders Marine Electronics 8 16-12-2008 18:00



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 12:09.


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.