Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

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 15-02-2012, 03:26   #46
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,237
Re: New Waypoint Properties Implementation

New build available at http://opencpn.xtr.cz/opencpn.exe
All the problems directly related to this feature should be fixed now. Again, please test your waypoint usage scenarios - the more bizarre they are, the better
Source on github.

Pavel
nohal is online now   Reply With Quote
Old 15-02-2012, 06:20   #47
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: New Waypoint Properties Implementation

Pavel

Yeah, the speed is up!
Crash whenever I try to add something to description.

Thomas
cagney is offline   Reply With Quote
Old 15-02-2012, 06:25   #48
Registered User
 
sinbad7's Avatar

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,731
Images: 57
Send a message via Skype™ to sinbad7
Re: New Waypoint Properties Implementation

Pavel..

Thanks a million!!! Looking good!! No crashes...

My only problem is the 'my ship' icon has become 'minimized' for some reason.
I also use OCPN for road trips around Brazil and have changed to a CAR icon for the moment. You can see it if you zoom VERY much (40) but there are other strange effects as a yellow cloud and old direction marks.

Tore
Attached Thumbnails
Click image for larger version

Name:	Screenshot_01 Feb. 15 12.23.jpg
Views:	145
Size:	20.8 KB
ID:	37427  
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 15-02-2012, 06:43   #49
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,237
Re: New Waypoint Properties Implementation

Tore...
Please go a few posts back to http://www.cruisersforum.com/forums/...tml#post887695 and read it again for the yellow cloud and ownship icon size explanation.

Pavel
nohal is online now   Reply With Quote
Old 15-02-2012, 06:50   #50
Registered User
 
sinbad7's Avatar

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,731
Images: 57
Send a message via Skype™ to sinbad7
Re: New Waypoint Properties Implementation

Pavel..

No problem with Description entries. Put a fairly large text file there.
Will read previous post as suggested thanks.

Tore
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 15-02-2012, 07:17   #51
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: New Waypoint Properties Implementation

Pavel
This may be a 64 bit problem.
ddd seems to get hung when trying a backtrace, so here is some gdb output.
Code:
$ gdb ./opencpn
GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /home/thomas/Testing/GitHub/OpenCPN/build/opencpn...done.
(gdb) run
Starting program: /home/thomas/Testing/GitHub/OpenCPN/build/opencpn 
[Thread debugging using libthread_db enabled]

(opencpn:30898): Gdk-CRITICAL **: IA__gdk_drawable_get_size: assertion `GDK_IS_DRAWABLE (drawable)' failed

(opencpn:30898): Gdk-CRITICAL **: IA__gdk_drawable_get_depth: assertion `GDK_IS_DRAWABLE (drawable)' failed
[New Thread 0x7fffe955b700 (LWP 30914)]
[Thread 0x7fffe955b700 (LWP 30914) exited]

Error opening coefficient file
[New Thread 0x7fffe955b700 (LWP 30916)]
[New Thread 0x7fffde82b700 (LWP 30918)]

(opencpn:30898): Gdk-CRITICAL **: IA__gdk_window_get_origin: assertion `GDK_IS_WINDOW (window)' failed
[New Thread 0x7fffddba9700 (LWP 30920)]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff4b7dd8f in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
(gdb) back
#0  0x00007ffff4b7dd8f in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#1  0x00007ffff4b9a48e in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#2  0x00007ffff4b9bbc8 in gtk_text_layout_get_line_display ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#3  0x00007ffff4b9d7b8 in gtk_text_layout_get_cursor_locations ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#4  0x00007ffff4ba9510 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#5  0x00007ffff4ba9547 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#6  0x00007ffff4badf30 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#7  0x00007ffff33fe0a4 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#8  0x00007ffff341002a in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#9  0x00007ffff34196b1 in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#10 0x00007ffff3419852 in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#11 0x00007ffff4b855bc in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#12 0x00007ffff4b87bf6 in gtk_text_buffer_select_range ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#13 0x00007ffff76ecd9e in wxTextCtrl::SetInsertionPoint(long) ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#14 0x00007ffff76ee1c7 in wxTextCtrl::DoSetValue(wxString const&, int) ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#15 0x00000000005a393e in MarkInfoImpl::OnDescChangedExt (this=0xc5c680, event=...)
    at /home/thomas/Testing/GitHub/OpenCPN/src/routeprop.cpp:2404
#16 0x00007ffff7b6dcf5 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#17 0x00007ffff7b6e0df in wxEvtHandler::SearchDynamicEventTable(wxEvent&) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#18 0x00007ffff7b6e192 in wxEvtHandler::ProcessEvent(wxEvent&) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#19 0x00007ffff77628f1 in wxTextCtrlBase::SendTextUpdatedEvent() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#20 0x00007ffff76ee1da in wxTextCtrl::DoSetValue(wxString const&, int) ()
---Type <return> to continue, or q <return> to quit---
Thomas
cagney is offline   Reply With Quote
Old 15-02-2012, 07:18   #52
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,237
Re: New Waypoint Properties Implementation

Quote:
Originally Posted by cagney View Post
Pavel

Yeah, the speed is up!
Crash whenever I try to add something to description.

Thomas
Thomas...
Fetch the source again - Different WX behavior under Linux - new Windows build not needed.

Pavel
nohal is online now   Reply With Quote
Old 15-02-2012, 07:24   #53
Registered User
 
sinbad7's Avatar

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,731
Images: 57
Send a message via Skype™ to sinbad7
Re: New Waypoint Properties Implementation

Pavel..

Quote:
OwnshipLengthMeters=nn
OwnshipBeamMeters=mm
OwnshipGPSOffsetY=yy
OwnshipGPSOffsetX=xx
OwnshipMinMM=kk
I can not find any of these new commands in my .ini file ?
I tried adding them and put the value OwnshipLengthMeters=5, re boooted OCPN but my icon is still the same size (minimal)

Am I configuring the right file?

Tore
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 15-02-2012, 07:30   #54
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: New Waypoint Properties Implementation

Quote:
Originally Posted by nohal View Post
Thomas...
Fetch the source again - Different WX behavior under Linux - new Windows build not needed.

Pavel
Thanks Pavel!

That did the trick.

Thomas
cagney is offline   Reply With Quote
Old 15-02-2012, 07:51   #55
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,237
Re: New Waypoint Properties Implementation

Tore...
Yes, you are editing the right file. The minimal size on screen (in millimeters) is defined by OwnshipMinMM
You have to note that your icon really scales, so if you say the size of your vehicle is 5m, you have to zoom very close to it to make it even appear.

Try some "insane supertanker" values to understand how it works, for example:
Code:
OwnshipLengthMeters=1000
OwnshipBeamMeters=250    
OwnshipGPSOffsetY=500
OwnshipGPSOffsetX=125
OwnshipMinMM=50
and then change them to
Code:
OwnshipLengthMeters=1000
OwnshipBeamMeters=250    
OwnshipGPSOffsetY=500
OwnshipGPSOffsetX=125
OwnshipMinMM=5
All of this has to be in the [Settings] section of the INI file.

Pavel
nohal is online now   Reply With Quote
Old 15-02-2012, 08:02   #56
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,423
Re: New Waypoint Properties Implementation

@Tore
per yellow blot I think pavel was saying goto toolbox/Etc and uncheck "highlight track"
HappySeagull is offline   Reply With Quote
Old 15-02-2012, 09:43   #57
Registered User
 
sinbad7's Avatar

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,731
Images: 57
Send a message via Skype™ to sinbad7
Re: New Waypoint Properties Implementation

Pavel..

I did as you mentioned in your #55 but the icon does NOT change size at all?
Are you sure it works with Vista?

Happy.. yes I did that thanks,but 'old tracks' in pink still appears.

Tore
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 15-02-2012, 09:56   #58
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,237
Re: New Waypoint Properties Implementation

Tore...
I have absolutely no idea whether it works with Vista, but don't see any reason why it shouldn't... Vista is a total crap, but in this it's no different from the other Windows versions.
Let's try one thing - remove your user icon for a while, backup your ini and replace it with the one I've placed at http://opencpn.xtr.cz/opencpn.ini
Don't bother with the charts and just close the toolbox after you start opencpn. You should end up with something very similar to what I attach bellow.

Pavel
Attached Thumbnails
Click image for larger version

Name:	huge_boat.png
Views:	177
Size:	30.1 KB
ID:	37429  
nohal is online now   Reply With Quote
Old 15-02-2012, 10:46   #59
Registered User
 
sinbad7's Avatar

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,731
Images: 57
Send a message via Skype™ to sinbad7
Re: New Waypoint Properties Implementation

Pavel..

No,still the same but this time a boat icon instead of a car.
The attached is at max zoom in.

Must say I don't care much for this new 'own ship' icon system which is
in my opinion un-necessarily complicated.

Does that mean all my .xpm UserIcons no longer works as an alternative to the
default vectorized boat icon?

Tore
Attached Thumbnails
Click image for larger version

Name:	Screenshot_03 Feb. 15 16.42.jpg
Views:	170
Size:	74.2 KB
ID:	37435  
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 15-02-2012, 10:48   #60
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,237
Re: New Waypoint Properties Implementation

Tore...
Could you attach your .ini please?

Thanks

Pavel
nohal is online now   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
Raymarine C-Series Waypoint and Route Import + Export scotte Marine Electronics 42 18-09-2012 20:30
Maxsea TZ, NAIS-300, Maretron USB100 all on N2K akio.kanemoto Marine Electronics 89 21-07-2012 09:32
'Distance to Waypoint' Difference janp391 OpenCPN 1 02-09-2011 08:24
Format Waypoint Text Onscreen ? iduff OpenCPN 2 24-08-2011 07:33
Route Properties, Missing Functions James Baines OpenCPN 13 13-07-2011 04:31

Advertise Here
  Vendor Spotlight
No Threads to Display.


All times are GMT -7. The time now is 10:52.


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.