Cruisers Forum
 


Join CruisersForum Today

Closed Thread
 
Thread Tools Rating: Thread Rating: 4 votes, 4.75 average. Display Modes
Old 28-08-2009, 23:20   #826
Obsfucator, Second Class
 
dacust's Avatar

Cruisers Forum Supporter

Join Date: Feb 2008
Location: Southeast USA.
Boat: 1982 Sea Ray SRV360
Posts: 1,743
Quote:
Originally Posted by manimaul View Post
Perhaps the s57s should be expanded when you specify chart directories. This might make it take quite some time though.
I'd like the option. Maybe also an option where I could batch-convert. I'd like that even better. Also, an option to re-convert. When I get an update.

But, on my machine with the 1000's of ENC charts I have, I wouldn't want it to automatically do it at folder selection time. Not only time considerations, but disk, as well.

-dan
__________________

dacust is offline  
Old 29-08-2009, 02:18   #827
Senior Cruiser
 
idpnd's Avatar

Cruisers Forum Supporter

Join Date: Sep 2007
Location: Almerķa, ES
Boat: Chiquita 46 - Libertalia
Posts: 1,551
Quote:
Originally Posted by manimaul View Post
btw, anybody use IRC? How about #opencpn on freenode?
Good idea.. The new icons are nice btw!

Quote:
Originally Posted by bdbcat View Post
Anyway, we now have to poll the gpsd driver to determine its version number, and apply the proper correction factor to the ship speed.
That would explain the rather odd results I got! I also got weird results with the included "xgpsspeed" programme..
__________________

__________________
idpnd is offline  
Old 29-08-2009, 03:02   #828
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
dacust & dave

I have been testing for the "cursor jump to center" problem.
I am only able to recreate the problem when "Wheel-zoom-to-cursor" is activated.

idpnd:
I use this options when starting xgps(speed).
xgpsspeed -speedunits knots
Default seems to be km/h.
For more details check "man xgpsspeed"

Thomas
__________________
cagney is offline  
Old 29-08-2009, 07:05   #829
Senior Cruiser
 
idpnd's Avatar

Cruisers Forum Supporter

Join Date: Sep 2007
Location: Almerķa, ES
Boat: Chiquita 46 - Libertalia
Posts: 1,551
If you look at the screenshot below after 2 hours worth' of tracking, opencpn uses 63% memory (around 500mb) plus most of the swap. System then becomes unresponsive. I had options "waypoint every 30 seconds and every mile", which I've set to "every mile" now in an attempt to reduce resource consumption. Restarting the programme helps, reducing the memory usage (although the tracks are loaded again).

Thanks for your attention

Max
Attached Thumbnails
Click image for larger version

Name:	Screenshot.png
Views:	123
Size:	241.6 KB
ID:	9609  
__________________
idpnd is offline  
Old 29-08-2009, 08:35   #830
Registered User
 
manimaul's Avatar

Join Date: Feb 2008
Location: Seattle, WA
Posts: 416
Nice touch

I just noticed the new ownship, cog and sog. I like it, very nice!



I'm in #opencpn on freenode today. Dave, I had some questions about how to embed pngs in wxwidgets as c++ . This might polish up the display a touch more and give us better alpha control for marks overlayed on the charts. It might also be a good move if you decide to use kml overlays as kml tiles are png by default.

Here is a chart I converted yesterday to kml using png tiles. http://matrixmariner.com/kml/18440_1/openlayers.html
__________________
manimaul is offline  
Old 29-08-2009, 08:58   #831
Registered User
 
manimaul's Avatar

Join Date: Feb 2008
Location: Seattle, WA
Posts: 416
Here is a reference: Embedding PNG Images - WxWiki
Here are our icons in cpp: icons.cpp and icons.h
I'm trying to teach myself how to do this and I'll accept any pointers in the right direction.

Will
__________________
manimaul is offline  
Old 29-08-2009, 11:35   #832
Registered User
 
manimaul's Avatar

Join Date: Feb 2008
Location: Seattle, WA
Posts: 416
Looks like Max found a memory leak. I ran a cvs version from this morning through valgrind.

This is with opencpn running for 3 minutes with track on and gps input.
The memory fills up very quick with track on. There is still a leak with track off, though not quite as big.

Log is here: valgrind.log

==15485== LEAK SUMMARY:
==15485== definitely lost: 1,623,063 bytes in 15,997 blocks.
==15485== indirectly lost: 23,796,680 bytes in 86,821 blocks.
==15485== possibly lost: 2,237,552 bytes in 13,811 blocks.
==15485== still reachable: 18,758,976 bytes in 133,760 blocks.
==15485== suppressed: 0 bytes in 0 blocks.
==15485== Reachable blocks (those to which a pointer was found) are not shown.
==15485== To see them, rerun with: --leak-check=full --show-reachable=yes
__________________
manimaul is offline  
Old 29-08-2009, 14:30   #833
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Dave

Another problem not seen before the latest beta.
OpenCPN hangs whenever a SENC is being created.
This is not related to a single chart. I have tried multiple charts from
four different countries.
Can I help you with more info?

Thomas
__________________
cagney is offline  
Old 29-08-2009, 14:50   #834
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

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

I have created a large number of ENC charts both in the US (Georgetown area) as well as most of the Dutch inland waterways without any problems whatsoever.
I am running Vista... Could it be a memory overload problem on your PC?
__________________
sinbad7 is offline  
Old 29-08-2009, 15:19   #835
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,878
Cursor jump....

dacust....

Thanks for the detailed click-by-click analysis.
I believe you.

Here is what I know:

Cursor jump with "wheel-zoom-to-cursor" is well understood. Fixed for next Beta.

Unfortunately, I have been unable to reproduce the cursor jump on full zoom-out, nor the chart selection box jumps. This is on XP, and Ubuntu.

Are you XP, or Vista?

Anybody else seeing cursor jumps with "wheel-zoom-to-cursor" OFF?

I plan to try a Vista system later today.....

Bugs on the list outstanding:
1. Cursor jumps. ???
2. possible Linux SENC creation hang(Cagney: try run with ddd and break in..)
I have no problems here. Works OK for me.
3. Memory leak in tracks. Checking....
4. Anything else I forgot to write down?

Working tonight....
Dave
__________________
bdbcat is offline  
Old 29-08-2009, 15:32   #836
Registered User

Join Date: Aug 2009
Posts: 211
Hi Dave

Just a quick note of thanks for all the hard work you are putting into this project. I've been following the thread for a while and had previously heard about OpenCPN - just thought I'd pop my head above the parapet.

Regards

Keith
__________________
ColdFusion is offline  
Old 29-08-2009, 16:17   #837
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Dave

I'm attaching a few screen dumps. Hopefully you can deduce what is going on.The dialog with the progress-bar comes up - then the program hangs. "Top" reports load average of about 1.5, I have more than 1.5 gig free swap, opencpn use 50 - 80%CPU .

Thomas
Attached Thumbnails
Click image for larger version

Name:	snapshot54.png
Views:	88
Size:	49.6 KB
ID:	9614   Click image for larger version

Name:	snapshot55.png
Views:	91
Size:	48.1 KB
ID:	9615  

Click image for larger version

Name:	snapshot57.png
Views:	84
Size:	49.3 KB
ID:	9616  
__________________
cagney is offline  
Old 29-08-2009, 16:45   #838
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,878
Cagney....

Thanks for the screens.

Not much help here, though. All three show the system waiting for GPSD data, which happens in a separate thread from the main SENC processing. The NMEA thread seems to be running normally. It is the main SENC thread that is hanging, presumably.

So, please try it again, this time with no NMEA data source at all. That way there is only one thread running, and ddd will perforce stop in the correct thread.


Thanks
Dave
__________________
bdbcat is offline  
Old 29-08-2009, 17:18   #839
Obsfucator, Second Class
 
dacust's Avatar

Cruisers Forum Supporter

Join Date: Feb 2008
Location: Southeast USA.
Boat: 1982 Sea Ray SRV360
Posts: 1,743
Quote:
Originally Posted by bdbcat View Post
dacust....

Thanks for the detailed click-by-click analysis.
I believe you.

Here is what I know:

Cursor jump with "wheel-zoom-to-cursor" is well understood. Fixed for next Beta.

Unfortunately, I have been unable to reproduce the cursor jump on full zoom-out, nor the chart selection box jumps. This is on XP, and Ubuntu.

Are you XP, or Vista?

Anybody else seeing cursor jumps with "wheel-zoom-to-cursor" OFF?

I plan to try a Vista system later today.....

Bugs on the list outstanding:
1. Cursor jumps. ???
2. possible Linux SENC creation hang(Cagney: try run with ddd and break in..)
I have no problems here. Works OK for me.
3. Memory leak in tracks. Checking....
4. Anything else I forgot to write down?

Working tonight....
Dave
I'm on XP

5. Preview window doesn't update (click for original post)
6. temp folder clean-up

I noticed huge numbers of files in my temp folder. Looks like it isn't being cleaned up after S57 creations. Like C:\Documents and Settings\user\Local Settings\Temp\15F.tmp 2,531 kb. I deleted them all and OpenCPN still runs normally.

FYI: I wen through and created all my inland waters USACE charts in one session. No hangs.

-dan
dacust is offline  
Old 29-08-2009, 17:39   #840
Obsfucator, Second Class
 
dacust's Avatar

Cruisers Forum Supporter

Join Date: Feb 2008
Location: Southeast USA.
Boat: 1982 Sea Ray SRV360
Posts: 1,743
Dumb questions warning

Dumb questions will follow. Not just this post, I assure you.

I am starting to use Unbutu. I installed it on an old iPac and have loaded OpenCPN. Says it installed fine. Where is it?

My background. I do some very light sys-admin stuff on several unix systems, like Red Hat, HP/UX and AIX. Command line, only. Took me a little while, but finally figured out you have to use sudo with Unbuntu. In other words, I can find my way around a system a little bit, know how to use vi enough to get by, but I am barely more than a newbie.

I'm gonna google to find out how to map a drive to my XP box to pull over the charts.

-dan
__________________

dacust is offline  
Closed Thread

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




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 07:28.


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.