|
|
28-08-2009, 22:20
|
#826
|
Obsfucator, Second Class
Join Date: Feb 2008
Location: Southeast USA.
Boat: 1982 Sea Ray SRV360
Posts: 1,745
|
Quote:
Originally Posted by manimaul
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
|
|
|
29-08-2009, 01:18
|
#827
|
Registered User
Join Date: Sep 2007
Location: Almería, ES
Boat: Chiquita 46 - Libertalia
Posts: 1,558
|
Quote:
Originally Posted by manimaul
btw, anybody use IRC? How about #opencpn on freenode?
|
Good idea.. The new icons are nice btw!
Quote:
Originally Posted by bdbcat
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..
|
|
|
29-08-2009, 02:02
|
#828
|
Registered User
Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
|
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
|
|
|
29-08-2009, 06:05
|
#829
|
Registered User
Join Date: Sep 2007
Location: Almería, ES
Boat: Chiquita 46 - Libertalia
Posts: 1,558
|
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
|
|
|
29-08-2009, 07:35
|
#830
|
Registered User
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
|
|
|
29-08-2009, 07:58
|
#831
|
Registered User
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
|
|
|
29-08-2009, 10:35
|
#832
|
Registered User
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
|
|
|
29-08-2009, 13:30
|
#833
|
Registered User
Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
|
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
|
|
|
29-08-2009, 13:50
|
#834
|
Registered User
Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,731
|
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?
|
|
|
29-08-2009, 14:19
|
#835
|
Marine Service Provider
Join Date: Mar 2008
Posts: 7,387
|
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
|
|
|
29-08-2009, 14: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
|
|
|
29-08-2009, 15:17
|
#837
|
Registered User
Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
|
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
|
|
|
29-08-2009, 15:45
|
#838
|
Marine Service Provider
Join Date: Mar 2008
Posts: 7,387
|
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
|
|
|
29-08-2009, 16:18
|
#839
|
Obsfucator, Second Class
Join Date: Feb 2008
Location: Southeast USA.
Boat: 1982 Sea Ray SRV360
Posts: 1,745
|
Quote:
Originally Posted by bdbcat
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
|
|
|
29-08-2009, 16:39
|
#840
|
Obsfucator, Second Class
Join Date: Feb 2008
Location: Southeast USA.
Boat: 1982 Sea Ray SRV360
Posts: 1,745
|
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
|
|
|
|
|
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 |
|
|
|
|