|
|
21-12-2015, 21:36
|
#616
|
Registered User
Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
|
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
|
|
|
22-12-2015, 23:58
|
#617
|
Registered User
Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
|
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
|
|
|
23-12-2015, 05:05
|
#618
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,532
|
Re: Ocpn-Draw and Boundary
Thanks Jon. Many ways to skin the cat.
|
|
|
23-12-2015, 22:58
|
#619
|
Registered User
Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
|
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
|
|
|
24-12-2015, 00:59
|
#620
|
Registered User
Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,119
|
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
|
|
|
24-12-2015, 01:18
|
#621
|
Registered User
Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
|
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
|
|
|
24-12-2015, 02:00
|
#622
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,532
|
Re: Ocpn-Draw and Boundary
Sounds good Jon. Started to setup Tablet for development yesterday.
|
|
|
24-12-2015, 12:55
|
#623
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,532
|
Re: Ocpn-Draw and Boundary
Just got opencpn and draw compiled.
|
|
|
24-12-2015, 19:23
|
#624
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,532
|
Re: Ocpn-Draw and Boundary
Will check for WatchDog changes tomorrow, and do some testing of OD with current beta.
|
|
|
25-12-2015, 14:04
|
#625
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,532
|
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.
|
|
|
25-12-2015, 14:05
|
#626
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,532
|
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.
|
|
|
25-12-2015, 18:44
|
#627
|
Registered User
Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
|
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
|
|
|
25-12-2015, 19:44
|
#628
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,532
|
Re: Ocpn-Draw and Boundary
Wow. Jon does watchdog need to be compiled too.
|
|
|
26-12-2015, 04:32
|
#629
|
Registered User
Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
|
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
|
|
|
26-12-2015, 06:56
|
#630
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,532
|
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.
|
|
|
|
|
Thread Tools |
Search this Thread |
|
|
Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
Advertise Here
Recent Discussions |
|
|
|
|
|
|
|
|
|
|
|
|
Vendor Spotlight |
|
|
|
|