Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 26-12-2017, 09:52   #16
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,112
Re: OCPN Beta 4.8.1 PreAlpha

Quote:
Originally Posted by cagney View Post
Pavel

When activating your new cog/sog feature in "options" this pops up:
Attachment 161021

I tested this alpha from the command line and these are the last few lines:
Code:
/usr/include/wx-3.0/wx/datetime.h(876): assert "IsValid() && dt.IsValid()" failed in operator!=(): invalid wxDateTime

[1]+  Trace/breakpoint trap   (core dumped) /usr/local/bin/opencpn
Kubuntu 16.04 /64bits

Thomas
Thomas...
I would say this is a wx error and the assert should not be created here (And isn't with wx 3.1)

But will replace the logic with something else that works with wx3.0 as well.

Pavel
__________________

__________________
nohal is offline   Reply With Quote
Old 26-12-2017, 09:55   #17
Registered User

Join Date: Jun 2015
Posts: 237
Re: OCPN Beta 4.8.1 PreAlpha

Quote:
Originally Posted by boat_alexandra View Post
Isn't the plugin that requests the record responsible for freeing it? How is it leaking?
It's grib_pi leaking not weather_routing and the easier for plugging it was some changes in grib record format layout, which impacts weather routing.
Once I broke grib record compatibility adding unrelated changes make sense.

Quote:
Originally Posted by boat_alexandra View Post
If it could share records between configurations that might be nice, but I doubt it would help performance that much. How much memory?
With nice grib we have around a 18h file is 65 MB (current step is 15mn), finding the start best time on a 32 bits system can rapidly exhausted linux 3GB limits and likely does the same on Windows.


Quote:
Originally Posted by boat_alexandra View Post
Maybe it could just copy the records and use smart pointers within the weather routing plugin?

In any case, I'm happy to accept working changes that improve performance, but I'm just asking some basic questions.
It's what it does, using wx smart pointers in weather routing only.
__________________

__________________
did-g is offline   Reply With Quote
Old 26-12-2017, 10:06   #18
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,112
Re: OCPN Beta 4.8.1 PreAlpha

Thomas, Hakan...
Should be fixed in master now.

Pavel
__________________
nohal is offline   Reply With Quote
Old 26-12-2017, 10:49   #19
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,959
Re: OCPN Beta 4.8.1 PreAlpha

did/Sean...

I understand that weather routing Plugin needs update for new O482 GRIB plugin data structures.

Can weather routing be made backward compatible to O prior to 4.8.2 coming? Or do we need to declare/accept API breakage and have a specific plugin set for O4.8.2+?

Thanks
Dave
__________________
bdbcat is online now   Reply With Quote
Old 26-12-2017, 11:39   #20
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,808
VFkaps 1.1 works.

Dave and Mike, VFkaps now works! Just download and click on the new purlpe chart Icon that appears to refresh the new kap file, and the VFkap appears.

Dave thank you for the fix.
Compiled 29d570b Merge pull request #940 from davidsanner/colorConfig
Installed on SurfacePro3 Win10
Attached Thumbnails
Click image for larger version

Name:	VFkaps.jpg
Views:	44
Size:	400.3 KB
ID:	161040  
__________________
rgleason is online now   Reply With Quote
Old 26-12-2017, 12:29   #21
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 2,074
Re: OCPN Beta 4.8.1 PreAlpha

Quote:
Originally Posted by nohal View Post
Thomas, Hakan...
Should be fixed in master now.

Pavel
Pavel..
Sorry. no difference. When checked, 2 sek, the SOG varies between 0 and 19 knots and COG often 180 degr wrong and various values in between.
While unchecked SOG is 5.3+-0.3 knots and COG 29+-2 degr, (/5 minutes).

Håkan
__________________
Hakan is offline   Reply With Quote
Old 26-12-2017, 12:30   #22
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,112
Re: OCPN Beta 4.8.1 PreAlpha

Quote:
Originally Posted by Hakan View Post
Pavel..
Sorry. no difference. When checked, 2 sek, the SOG varies between 0 and 19 knots and COG often 180 degr wrong and various values in between.
While unchecked SOG is 5.3+-0.3 knots and COG 29+-2 degr, (/5 minutes).

Håkan
Hakan...
Can I have a short VDR recording of your data?

Pavel
__________________
nohal is offline   Reply With Quote
Old 26-12-2017, 12:37   #23
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 2,074
Re: OCPN Beta 4.8.1 PreAlpha

Quote:
Originally Posted by nohal View Post
Hakan...
Can I have a short VDR recording of your data?

Pavel
Pavel
Here's the file: https://www.dropbox.com/s/jc872vqze5...fjord.txt?dl=0
Håkan
__________________
Hakan is offline   Reply With Quote
Old 26-12-2017, 12:56   #24
Registered User
 
rooiedirk's Avatar

Join Date: Aug 2010
Location: Netherlands
Boat: Oneoff
Posts: 314
Re: OCPN Beta 4.8.1 PreAlpha

The chart info popup box is no longer positioned above pianobar button, if not running full size window See att..
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20171226_205123.jpg
Views:	44
Size:	187.9 KB
ID:	161047  
__________________
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 26-12-2017, 13:01   #25
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,112
Re: OCPN Beta 4.8.1 PreAlpha

Hakan...
Can reproduce what you see with very slow VDR replay rate and "too short" dampening interval for the position->SOG/COG calculation.
This is expected as the VDR plugin replays the messages at a constant rate, not according to their timestamps, which means once there is eg. a burst of AIS info, the delay between the position messages gets much longer than in a real system.

Anyway, even with VDR playing your file at only 3 messages per second (Which is obviously much less than what it was while recorded), I can get the COG predictor point "mostly in the right direction" with the dampening interval set to 10 second maximum.
The calculated speed is of course something between "just right" and "total nonsense" while using VDR to test this feature as the messages do not come at the intervals they did in the original traffic so the "distance/time" formula is vastly unreliable.

Keep on mind that this is really not meant to replace the SOG/COG info from a correctly working GPS, but to produce "at least something" in case the data is completely missing or wrong.

Pavel
__________________
nohal is offline   Reply With Quote
Old 26-12-2017, 13:08   #26
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 2,074
Re: OCPN Beta 4.8.1 PreAlpha

Pavel..
Very good, understood and accepted. A simple simulation error in other words. Someone sailing in real to do further testing then.
Thanks
Håkan
__________________
Hakan is offline   Reply With Quote
Old 26-12-2017, 13:35   #27
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 2,074
Re: OCPN Beta 4.8.1 PreAlpha

Quote:
Originally Posted by rooiedirk View Post
The chart info popup box is no longer positioned above pianobar button, if not running full size window See att..
On Win10:
Yes I see the same. The pop-up position refers to the whole screen independent of OCPN canvas size. Just now I can't say when this was introduced.
Håkan
__________________
Hakan is offline   Reply With Quote
Old 26-12-2017, 14:19   #28
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,282
Re: OCPN Beta 4.8.1 PreAlpha

Quote:
Originally Posted by Hakan View Post
On Win10:
Yes I see the same. The pop-up position refers to the whole screen independent of OCPN canvas size. Just now I can't say when this was introduced.
Håkan
On Linux the pop-up position is correct for both vector & raster charts.

Pavel's fix for the assertion error worked!

From another thread...
The real scale bitmap for "Own Ship" does not work correctly with the latest git-code.

The Ais target Icon is much smaller than in 4.8.0. Is that intentional ?

Thomas
__________________
cagney is offline   Reply With Quote
Old 26-12-2017, 14:50   #29
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 2,815
Re: OCPN Beta 4.8.1 PreAlpha

Quote:
Originally Posted by cagney View Post
On Linux the pop-up position is correct for both vector & raster charts.
On our Linux ARM (OS Armbian) the pop-up is displaced. Same like Dirk's report.
__________________
bcn is offline   Reply With Quote
Old 26-12-2017, 15:01   #30
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,282
Re: OCPN Beta 4.8.1 PreAlpha

Correction

I tested the wrong version...
The pop-up is displaced on Linux/64 as well.

Thomas
__________________

__________________
cagney is offline   Reply With Quote
Reply

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
OCPN Beta Version 4.1 PlugIns bdbcat OpenCPN 5 28-09-2015 06:44
How to use MMR2-C-Map card reader with OCPN ? Flemming Torp OpenCPN 6 28-05-2012 09:39
Pictures of OCPN in action. cagney OpenCPN 0 03-04-2012 10:16
Furuno and OCPN KrisCatteceur Navigation 2 12-01-2012 14:04
Does OCPN support NMEA 0183 v3.1? Netsurfer OpenCPN 5 25-05-2010 08:42



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

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


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2018, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.