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 16-11-2015, 17:01   #376
Registered User

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

Jon.
Confirmed! Very nice. And new exiting features as well.

Thanks
Håkan
Hakan is offline   Reply With Quote
Old 17-11-2015, 05:51   #377
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: Ocpn-Draw and Boundary

Jon, I am finding it hard to keep up with you guys! I have compiled it and just tried it briefly it looks very interesting. I need to expllore it more but will have to do that later.

It is now on

Opencpn Beta Win File Thingie rguser rgpass

Look in directory 4.1.1108 PI Win
for ocpn_draw-0.4.522-ov4.1.1108

You will also find files for
Watchdog
Weatherfax

Will try & test ocpn_draw more extensively later! Thank you Jon!
Looking very interesting.
rgleason is offline   Reply With Quote
Old 18-11-2015, 14:52   #378
Registered User

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

Rick,
Just to keep you on your toes I have put up another patch, 555, which makes Boundary Points work the same as Boundaries, i.e. they can be "Exclusion", "Inclusion" or "Neither". If they are "Exclusion", when you have range rings showing and at least one range ring, then the range ring will be filled in. If they are "Inclusion", then the same will apply, but a boarder will be drawn round the range ring. If they are "Neither" then all you will get is range rings.

I have updated the JSON message that is passed back to requests for if a point is in a boundary to include the "BoundaryObjectType" which can be "Boundary" or "Boundary Point" and the "BoundaryType" which can be "Exclusion", "Inclusion" or "Neither". This will allow the Watchdog plugin to use these messages for both anchor watch type events and "keep out's".

I think I have all the items that people requested done now. Just possibly a bit more tidying up of the interface and icons.

Jon
jongough is offline   Reply With Quote
Old 19-11-2015, 00:34   #379
Registered User

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

Jon
Excellent work you've done! Nice coding and a very good result.
I've tested the most, except Watchman connections, on Windows 10 and XP and also built on both VS2010 and 13.
My own primary use will be EBL in connection with my radar and boundaries with text notes for mussel growth extensions here around.
Many thanks
Håkan
Hakan is offline   Reply With Quote
Old 20-11-2015, 10:54   #380
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: Ocpn-Draw and Boundary

Jon,
The plugin is working well. I should give it another comprehesive test today or tomorrow, but I did git fetch and compile this morning, so I have the lastest.
I noticed you added a delete to DR just last cycle, great.

This is good, I need to test it more. My watchdog sound alarms are not working in Windows, do they work for you? I left several messages for Sean about this.
In the compile README there are no notes requiring inclusion of portaudio, and watchdog compiles fine, also watchdog does find the GUID.

Quote:
I have updated the JSON message that is passed back to requests for if a point is in a boundary to include the "BoundaryObjectType" which can be "Boundary" or "Boundary Point" and the "BoundaryType" which can be "Exclusion", "Inclusion" or "Neither". This will allow the Watchdog plugin to use these messages for both anchor watch type events and "keep out's".
I had a couple of thoughts about your new DR tool which I think is very useful.
There are a couple of ways to think about entering a DR:
1. Set the parameters including direction and then hit ok
2. Set the parameters for intermediate waypoint and enter the direction with a temp wp for defining direction.

There are also a couple of alternatives that might be very useful once the DR string has been laid down:
1. Right click: Rotate DR string by moving endpoint
2. Right click: Rotate DR string by moving start endpoint.
Maybe these are the same choices just dependent on proximity?

Another might be to extend or stretch the DR Object from either end.
1. Right click: Stretch DR string by simply adding (or subtracting) incremental wp segments as defined by the mouse location, keeping the direction the same.

I need to test the Inclusion and Exclusion alarms more for Boundary and Boundary Points with Rings and while doing that make some better screenshots for the manual.

Then I need to add these features to the manual.

Its turning into a great user toolbox!
Boundaries, Boundary Points with inclusion and exclusion, EBL, DR, Text points. Thank you Jon. Also Hakan, thank you for your help too.

I've uploaded the latest compile to
Opencpn Beta File Thingie rguser, rgpass

4.1.1108 PI Win directory.
rgleason is offline   Reply With Quote
Old 20-11-2015, 18:54   #381
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: Ocpn-Draw and Boundary

Another right click selection for DR string that would be very nice is
"Move entire DR string."
rgleason is offline   Reply With Quote
Old 20-11-2015, 22:30   #382
Registered User

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

Rick,
I have just tried under windows and the watchdog is not working for me. It does not seem to be firing the message to OD to check for inside or outside boundaries. It works under linux, so I am not sure what is going on. I will have a quick look.

For DR, isn't the whole point to say how fast you are going, the direction you are going to see where you think you will end up? Making it more than that is rather like route planning. You can move individual DR points by right clicking and selecting move, but this will rather destroy the real meaning of the DR plot. If there is a need for a more general planning tool, then that could be added, but I would need to know more details about what is required and what to do with the resultant objects. It is quite possible to put out a route based on the DR object (this is not done currently and would require a bit of work, but it would be possible), or any other path type object, I would just need to know the specification of the output.

I would like to stop making major (?) changes to the plugin and get it settled in so that it is ready when the next stable version of OCPN is released. I think that more input from the other users is needed, otherwise I am concerned that the tool will become too complicated (it probably is getting that way already) for general users. Perhaps Dave or Pavel can provide some input as to what should/shouldn't be added. After all Dave is the one that wanted this as a general drawing tool.

Jon
jongough is offline   Reply With Quote
Old 21-11-2015, 02:49   #383
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: Ocpn-Draw and Boundary

Jon, I agree we want it to be ready. Also you've programming like crazy and are probably read to put down the pencil for awhile and do something else. Your project certainly took on a life of its own!
I am perfectly happy to wait for others comments and ideas, requests which I think will be in ways which ask for a little more flexibilty to adjust the DR, but I may be proven wrong. I do think we need to use it in practice and learn more.
rgleason is offline   Reply With Quote
Old 21-11-2015, 03:00   #384
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: Ocpn-Draw and Boundary

Thank you Jon. I hope many others will start using this tool
rgleason is offline   Reply With Quote
Old 21-11-2015, 04:57   #385
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: Ocpn-Draw and Boundary

Jon, I found a rendering problem when OpenGL is on, because the inclusion "center" area gets rendered with hatch, when it should not. Please see attached. I hope you can fix it. Thanks.
Attached Thumbnails
Click image for larger version

Name:	Boundary-Inclusion-OpenGL-on.png
Views:	124
Size:	97.3 KB
ID:	113445   Click image for larger version

Name:	Boundary-Inclusion-OpenGL-off.png
Views:	140
Size:	102.0 KB
ID:	113446  

rgleason is offline   Reply With Quote
Old 21-11-2015, 05:12   #386
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: Ocpn-Draw and Boundary

Sean and Jon,

I moved the boat inside the "Boundary Point Inclusion" example.
Then copied the Guid from "Boundary Point Inclusion" properties and pasted that Guid into Watchdog > Configuration > Edit.
I then tried the Watchdog button to get Guid from the Boundary Point Inclusion example. It got the correct Guid. This was with opengl on and off.

However, the alarm notice is, as you can see, the "Anchor is outside the inclusion area"

Also the alarm is still not sounding.

I have recompiled both Ocpn_Draw and Watchdog this morning with fresh git, and have used yesterday's compile of opencpn with fresh opencpn.lib for both plugins.

I think it the alarm has something to do with portaudio, but first we have to get the reversal of outside and inside alarms fixed. Then deal with the audio in Windows. By the way, the audio for windows, was a problem before the reversal of outside and inside cropped up.

What happens in Linux?
Attached Thumbnails
Click image for larger version

Name:	Boundary-Point-Inclusion-Test-Fails.png
Views:	99
Size:	87.6 KB
ID:	113447  
rgleason is offline   Reply With Quote
Old 21-11-2015, 05:15   #387
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: Ocpn-Draw and Boundary

I am also wondering why the lines for boundaries arent rendered, yet the Boundary Points do have lines. It seems to be independent of opengl on or off. Is it possibly that the line is rendered first, then the pattern is rendered thus covering the lines?
Or perhaps for the boundaries, the pattern has to be just inside of or outside of the line depending on inclusion or exclusion?

I think I mentioned this once before. Jon has exhausted himself trying to fix this, so I think a fresh view by someone like Sean if he has the inclination might be helpful. Or some suggestions to fix it. Thanks.
rgleason is offline   Reply With Quote
Old 21-11-2015, 05:27   #388
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: Ocpn-Draw and Boundary

In the main Beta Ocpn 4.1.1108 thread, I get the sense there is a rush to get the bugs out, particularly mapping, and issue. Why not make sure there aren't any bugs? I think that is going to take more time, also while making sure, there are other things that need to be confirmed and done, like some additional features, plugins and documentation which also take time.
rgleason is offline   Reply With Quote
Old 21-11-2015, 06:50   #389
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: Ocpn-Draw and Boundary

Quote:
Originally Posted by rgleason View Post
In the main Beta Ocpn 4.1.1108 thread, I get the sense there is a rush to get the bugs out, particularly mapping, and issue. Why not make sure there aren't any bugs?
It is logically impossible to prove any non-trivial software system is free of bugs. What I think we need are regression testing of all features. There are many features of O that require specialized hardware thus they only get tested by the few that have the equipment. If each hardware dependent feature had low level data creation capability like VDR then creating a regression test suite would be at least conceivable. But O is so rich feature wise and has so many hardware platforms to support that we reach a place where just finding all the bugs is more difficult than fixing them.

VDR is a good regression testing tool but it bypasses the internal data collection code (e.g. UDP/TCP NMEA data input). So bugs in the low level data input code is not included. A separate server program that played out the IP packet data could solve that and it would not require any plugin as the server would be indistinguishable from the real hardware.

Sorry for hijacking this thread but I don't know where to discuss this topic. Perhaps what is needed is a dedicated set of regression testers and tool sets.
transmitterdan is offline   Reply With Quote
Old 21-11-2015, 08:06   #390
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: Ocpn-Draw and Boundary

Dan. I think I understand part of this rekated to nmea and vdr, and having a server, but what is regression testing? I agree it is more difficult negotiating multiple platforms.
rgleason is offline   Reply With Quote
Reply


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 22:22
Buoys out in Boundary Bay, BC Carogan Liveaboard's Forum 0 27-08-2012 06:41
For Sale: Cascade Designs Seal Line Boundary 70 Dry Bag thesparrow Classifieds Archive 0 14-03-2011 15:27
Current draw and insulation of portable fridges troppo Plumbing Systems and Fixtures 6 06-03-2011 09:00
amperage draw for Garmin radar and MFD janders Marine Electronics 8 16-12-2008 17:00

Advertise Here


All times are GMT -7. The time now is 03:16.


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.