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 26-12-2017, 08:52   #16
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
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, 08:55   #17
Registered User

Join Date: Jun 2015
Posts: 379
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, 09:06   #18
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
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, 09:49   #19
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,475
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 offline   Reply With Quote
Old 26-12-2017, 10:39   #20
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,739
Images: 2
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:	130
Size:	400.3 KB
ID:	161040  
rgleason is offline   Reply With Quote
Old 26-12-2017, 11:29   #21
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,256
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, 11:30   #22
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
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, 11:37   #23
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,256
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, 11:56   #24
Registered User
 
rooiedirk's Avatar

Join Date: Aug 2010
Location: Netherlands
Boat: Oneoff
Posts: 514
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:	180
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, 12:01   #25
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
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, 12:08   #26
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,256
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, 12:35   #27
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,256
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, 13:19   #28
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
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, 13:50   #29
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,796
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, 14:01   #30
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
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


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 05:44
How to use MMR2-C-Map card reader with OCPN ? Flemming Torp OpenCPN 6 28-05-2012 08:39
Pictures of OCPN in action. cagney OpenCPN 0 03-04-2012 09:16
Furuno and OCPN KrisCatteceur Navigation 2 12-01-2012 13:04
Does OCPN support NMEA 0183 v3.1? Netsurfer OpenCPN 5 25-05-2010 07:42

Advertise Here


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


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.