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 08-11-2016, 20:11   #1
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
ODraw - 1.3 beta

Hi,
I have just started work on the next version of OD to add some new functionality that has been requested.

If you want to try this out you will need a clone of my ocpn_draw_pi git repository and use the 'release1.3' branch.

Currently I will not be providing executables as it is too early in the process for that. If you want to try the beta you will need to compile it yourself.

The new beta is currently at patch 1.3.3. This includes the following changes
  • Ability to move paths and points (boundaries, boundary points, text points, ebl points, GZ points) using just the left mouse button, i.e press and drag with the left mouse button. There is a setting on the general properties page to enable this
  • Ability to move a single segment of a boundary. This is accessed by a right click on the boundary and selecting 'Move Boundary Segment'
  • Ability to merge two or more boundaries. Whilst holding the Ctrl key down left click on boundaries you want to merge. The release the Ctrl key and right mouse click and you will get a merge menu. You can merge and create a bounding boundary and leave the original boundaries or you can do the same and delete the original boundaries.
  • Constrain movement of any OD object to Lat or Lon only. This is done by holding either the Ctrl or Shift key down whilst moving. The Ctrl key will lock the Longitude and the Shift key will lock the Latitude.

I am currently investigating the implementation of Parallel Index Lines. This was brought up in the OD 1.2 thread
http://www.cruisersforum.com/forums/...ml#post2167440

As I am now working on the new version I would appreciate it if the list of items in flyspray was updated with votes for what is required so that I know what is the more important updates to add.

Jon
jongough is offline   Reply With Quote
Old 09-11-2016, 03:46   #2
Registered User
 
rooiedirk's Avatar

Join Date: Aug 2010
Location: Netherlands
Boat: Oneoff
Posts: 514
Re: ODraw - 1.3 beta

I get an error ;-(
ocpn_draw_pi.cpp:2261:10: error: ‘class LLBBox’ has no member named ‘SetMin'
__________________
Navigation is know where you are and what to do to get where you want.
But also: Know where you don't want to be and what to do to don't get there.
rooiedirk is offline   Reply With Quote
Old 09-11-2016, 11:45   #3
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
Re: ODraw - 1.3 beta

Can you check that you are using the release1.3 branch for your compile. The line you mentioned that has llbb.SetMin is in the master branch, which is version 1.2. That code was changed on the 5/11/2016 with commit 47d4b95e.

At the moment you should have commit df90d224.

Thanks
Jon
jongough is offline   Reply With Quote
Old 11-11-2016, 20:00   #4
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
Re: ODraw - 1.3 beta

Hi,
I have just created a new branch from release1.3, this is 'perpendicular-index-line' and contains an attempt, using Rick's idea of an EBL, to draw index lines. To use this you create an EBL with the 'perpendicular index line' option checked. This will draw a line perpendicular to the EBL which will extend across the screen. All the settings for the EBL apply to this as do all the actions.

Can you give this a go and see if it is going to be useful.

The alternative, a parallel index line, is more complex and, whilst based on an EBL, would have its own interactions. I do have the starting of this, but there is quite a bit of coding to do to get it to work.

This change is patch 1.3.4

Jon
jongough is offline   Reply With Quote
Old 19-11-2016, 14:40   #5
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
Re: ODraw - 1.3 beta

Hi,
I have created patch 1.3.6 which has the first pass at the implementation of Parallel Index Lines (PIL). These lines are aligned with a central line drawn from the boat to any distance, the main criteria being the angle of the line.

When a PIL is drawn a single Index Line is draw on the screen. You can move, offset, this line by right clicking and selecting 'Move' or by going into the properties of the line and selecting the offset you would like. You can also change the colour and style of the line. You can add an index line by right clicking on the central line and selecting add. You can delete an index line by right clicking the line and selecting delete.

There is a new tab in the OD properties page for all the default settings for the PIL. The PIL has its own properties page as do the index lines which are accessible by either right single click or left double click.

Please give it a go and let me know if it meets the requirements or if I have missed the point all together.

Thanks
Jon

PS. there are no binaries for this yet. I am working on that now
jongough is offline   Reply With Quote
Old 20-11-2016, 20:23   #6
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,715
Images: 2
Re: ODraw - 1.3 beta

Jon, this looks very good to me but I have not tried it yet. It will probably be a week and 1/2 before I can run it so please someone give it a spin!! Maybe Hakan is able? -I am away from my computer at present.
rgleason is offline   Reply With Quote
Old 21-11-2016, 18:11   #7
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
Re: ODraw - 1.3 beta

Hi,
I have just created a beta release of 1.3, which is patch 1.3.8. I have created a windows installer, deb, rpm and tz install files so that it can be tried out. These are debug builds and are built against 4.5.0 of OCPN. You will find the binaries on github, here:
https://github.com/jongough/ocpn_dra...ses/tag/v1.3.8

Jon
jongough is offline   Reply With Quote
Old 22-11-2016, 01:59   #8
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 3,007
Re: ODraw - 1.3 beta

Hello Jon

How are you ?

Quote:
Originally Posted by jongough View Post
Hi,
I have just created a beta release of 1.3, which is patch 1.3.8. ...These are debug builds and are built against 4.5.0 of OCPN. Y..
https://github.com/jongough/ocpn_dra...ses/tag/v1.3.8
Jon
Downloaded, installed under 4.4.0.... But, it do not appear in list of plugin when I go to Options/Plugins. And the previous version is desappeared.

As we have not 4.5 beta version ??????
Gilletarom is offline   Reply With Quote
Old 22-11-2016, 20:57   #9
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
Re: ODraw - 1.3 beta

Hello Gilletarom,
I'm good and trying to get back into OD.

I have put a debug install version of OCPN 4.5.0 up on git as well now, so you should be able to install both OCPN and OD. I am also trying to get a 4.4.0 version of OCPN up and running so that I can try the new OD against it.

Regards
Jon
jongough is offline   Reply With Quote
Old 22-11-2016, 22:27   #10
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
Re: ODraw - 1.3 beta

Hi,
With the introduction of the ability to select multiple boundaries and draw a surrounding boundary is there a need to make this capability available via JSON or the ODAPI?

Jon
jongough is offline   Reply With Quote
Old 23-11-2016, 00:29   #11
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 3,007
Re: ODraw - 1.3 beta

Hello Jon,
Quote:
Originally Posted by jongough View Post
Hello Gilletarom,
...
I have put a debug install version of OCPN 4.5.0 up ...
Jon
Problem : See screen copy.
O 4.5 do not run on my PC because a dll is not present.
Attached Thumbnails
Click image for larger version

Name:	OpenCPN 4.5.0_English_Options_Boundary.jpg
Views:	140
Size:	76.8 KB
ID:	136660  
Gilletarom is offline   Reply With Quote
Old 23-11-2016, 22:35   #12
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
Re: ODraw - 1.3 beta

Gilletarom,
I have put up 1.3.9 which should work with both OCPN 4.4.0 & 4.5.0. I have also provided an OCPN 4.5.0 release build. You will find this here:
https://github.com/jongough/ocpn_dra...ses/tag/v1.3.9

Jon
jongough is offline   Reply With Quote
Old 23-11-2016, 23:20   #13
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
Re: ODraw - 1.3 beta

Gilletarom,
I have done some testing and on my systems (virtualised windows) the plugin shows on 4.4.0, but the items are not selectable, but that may be an artefact of the way I am running it (the windows don't always draw correctly for me in the virtualised windows). On 4.5.0 they all seem to work. I will continue to investigate what is going on with 4.4.0.

So, give it a go and see what happens.

Jon

PS. Currently the information box for non-opengl does not show up when moving the index line (it does in 1.3.10, but....).
jongough is offline   Reply With Quote
Old 23-11-2016, 23:35   #14
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 3,007
Re: ODraw - 1.3 beta

Hello Jon,
Quote:
Originally Posted by jongough View Post
Gilletarom,
I have done some testing and on my systems (virtualised windows) the plugin shows on 4.4.0, but the items are not selectable, but that may be an artefact of the way I am running it (the windows don't always draw correctly for me in the virtualised windows). On 4.5.0 they all seem to work. I will continue to investigate what is going on with 4.4.0.
I re-download O 4.5, and re-install it. It dos not run. same problem. The same dll is not present. See my yesterday post and more exactly, read the screen copy that I joined yesterday.

Gilletarom.
Gilletarom is offline   Reply With Quote
Old 23-11-2016, 23:43   #15
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
Re: ODraw - 1.3 beta

Have you tried OD 1.3.9 ? It should work with 4.4.0. I am trying to get a debug version of 4.4.0 going to see what is wrong on my windows system, but that may take a little while. I am also trying to get a clean machine to install 4.5.0 on to see if I can replicate your issue with the missing dll.

I always have a fight with windows. It does things 'slightly' different and for me it can be difficult to replicate what windows users are seeing, I just don't have the hardware to run windows native.
jongough 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
Beta Test / Technical bdbcat OpenCPN 2881 28-06-2024 02:46
ODraw - beta 1.1 jongough OpenCPN 99 06-07-2016 01:20
Beta Marine Diesel michaelmrc Engines and Propulsion Systems 48 23-03-2016 13:44
Winmor (Virtual TNC) Software Out on Beta Testing for WL2K Hamsailor Marine Electronics 2 13-10-2009 21:33

Advertise Here


All times are GMT -7. The time now is 14:15.


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.