Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 13-10-2012, 09:07   #151
Registered User

Join Date: Dec 2008
Boat: Journeyman
Posts: 705
Re: Plugin: DashBoard

I can reproduce. MSW only. Doesn't need NMEA stream, only Dashboard showing.
Under debugger it crashes too. Call Stack is unfortunately useless :-(

Currently trying to verify that it's really Dashboard and no other change.
__________________

__________________
JesperWe is offline   Reply With Quote
Old 13-10-2012, 09:24   #152
Registered User

Join Date: Dec 2008
Boat: Journeyman
Posts: 705
Re: Plugin: DashBoard

Oh, it's an over-free(), by the way. But I don't know of what.
__________________

__________________
JesperWe is offline   Reply With Quote
Old 13-10-2012, 11:33   #153
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,135
Re: Plugin: DashBoard

Quote:
Originally Posted by JesperWe View Post
Oh, it's an over-free(), by the way. But I don't know of what.
I'm not at all sure that this relates to the original problem, but seems to fit in as a double free problem. I had been running for 1.5 hrs with the dashboard displayed. After going through a VDR track, own ship returned to the start, and I switched of the VDR.
Next I went to the route manager and deleted all tracks.
Back to the, now gray, ownship. A right click surprisingly brought up the track menu (I'm running an up to date master). I clicked "delete" and had a segfault.

Click image for larger version

Name:	freex2.png
Views:	77
Size:	99.7 KB
ID:	48200

Thomas
__________________
cagney is offline   Reply With Quote
Old 13-10-2012, 15:46   #154
Registered User

Join Date: Dec 2011
Boat: MC-Tec, Akilaria 950
Posts: 200
Re: Plugin: DashBoard

Looks nice ...
I think you have to explain the difference between (True) Wind Angle
and (True) Wind Direction ...

Until now, direction meant where the wind is blowing from (i.e. compass rose --> NE) and "angle" was related to the boat axis (i.e. 120 port from the bow)

Now it seems this is vice versa ?

The dial "True Wind Angle" now shows the compass rose, but definitely displays wrong data.

Please compare the 2 screenshots. It plays the same VDR file, the old style is correct, the new is wrong !

Thomas
Attached Thumbnails
Click image for larger version

Name:	old_correct.gif
Views:	79
Size:	15.9 KB
ID:	48219   Click image for larger version

Name:	new_wrong.gif
Views:	78
Size:	21.0 KB
ID:	48220  

__________________
tom_BigSpeedy is offline   Reply With Quote
Old 13-10-2012, 15:46   #155
Registered User

Join Date: Apr 2009
Location: Marina Del Rey
Boat: Hylas 44
Posts: 385
Re: Plugin: DashBoard

The problem is with the TrueWindAngle instrument (the one using the compass rose). I don't know what the problem is but while adding 1 instrument at a time failure occurred after adding TrueWindAngle. Failure still requires 55 minutes.

Chuck
__________________
ChuckSK is offline   Reply With Quote
Old 13-10-2012, 17:04   #156
Registered User

Join Date: Apr 2009
Location: Marina Del Rey
Boat: Hylas 44
Posts: 385
Re: Plugin: DashBoard

OK, the Compass instrument also caused failure. Maybe the problem is in DrawCompassRose.

Chuck
__________________
ChuckSK is offline   Reply With Quote
Old 13-10-2012, 17:35   #157
Registered User

Join Date: Dec 2008
Boat: Journeyman
Posts: 705
Re: Plugin: DashBoard

OK I have found and corrected the crash problem. It was a GDI handle leak affecting all circular dial instruments. The fix is in master.
__________________
JesperWe is offline   Reply With Quote
Old 14-10-2012, 09:18   #158
Registered User

Join Date: Dec 2008
Boat: Journeyman
Posts: 705
Re: Plugin: DashBoard

Quote:
Originally Posted by tom_BigSpeedy View Post
The dial "True Wind Angle" now shows the compass rose, but definitely displays wrong data.
This problem is now hopefully sorted, both the naming and the data mixup.
__________________
JesperWe is offline   Reply With Quote
Old 14-10-2012, 12:34   #159
Registered User

Join Date: Dec 2011
Boat: MC-Tec, Akilaria 950
Posts: 200
Re: Plugin: DashBoard

Hi Jesper,

sorry, data mixup isn't sorted, it's even worth, see the 2 screenshots.
The old style is from beta 919 and correct.

The new style is wrong :
* text based instruments for True Wind Angle and App Wind Angle :
the direction indicators are missing and both show identical values !
* True Wind Direction now has an indicator ??

* dial instrument with compass rose (True Wind Direction) : based on the sample file I sent you this morning, true wind direction was 50-60 (NE)
* dial instrument +-180 (True Wind Angle & Speed): the angle based on the boat axis was ~110

Thomas
Attached Thumbnails
Click image for larger version

Name:	correct.gif
Views:	77
Size:	11.9 KB
ID:	48291   Click image for larger version

Name:	wrong.gif
Views:	80
Size:	18.2 KB
ID:	48292  

__________________
tom_BigSpeedy is offline   Reply With Quote
Old 14-10-2012, 14:42   #160
Registered User

Join Date: Dec 2008
Boat: Journeyman
Posts: 705
Re: Plugin: DashBoard

Quote:
Originally Posted by tom_BigSpeedy View Post
sorry, data mixup isn't sorted, it's even worth, see the 2 screenshots.
The old style is from beta 919 and correct.
The mixup thing that got sorted in that patch was True and Apparent angle now shows the same value in the numeric and in the dial. Before it was backwards. If the data is right or wrong that's J-E's ballpark :-)
__________________
JesperWe is offline   Reply With Quote
Old 16-10-2012, 19:32   #161
GWB
Registered User

Join Date: Sep 2008
Location: Brookings, Oregon
Boat: Westsail 32
Posts: 287
Images: 1
Re: Plugin: DashBoard

Is it possible to download the dashboard dll alone from somewhere? I dont see it on the OCPN plugin download page.
Thanks for any help
__________________
GWB is offline   Reply With Quote
Old 17-10-2012, 04:05   #162
Registered User

Join Date: Dec 2008
Boat: Journeyman
Posts: 705
Re: Plugin: DashBoard

The Dashboard pi is part of the standard O installer, so there is not separate download. And the new plugin depends on modifications in the core so you can't run it with the currently available versions.
__________________
JesperWe is offline   Reply With Quote
Old 19-10-2012, 14:01   #163
GWB
Registered User

Join Date: Sep 2008
Location: Brookings, Oregon
Boat: Westsail 32
Posts: 287
Images: 1
Re: Plugin: DashBoard

Gotcha - thank you!
__________________
GWB is offline   Reply With Quote
Old 25-10-2012, 14:18   #164
Registered User

Join Date: Jul 2009
Location: Washington, DC
Boat: Custom Gaff Ketch, Dory hulled, 26' LOD, 33' LOA
Posts: 13
Images: 1
Re: Plugin: DashBoard

Wow! Looks like you are addressing one of the feature requests I had asked for. Only improvement I can think of is the dual needle I mentioned here: http://opencpn.org/ocpn/flyspray/ind...ct=6&pagenum=2

On the other hand if you have the predictor line and the heading line showing from the ship on the chart it is really good enough!
__________________
Paul_Carroll is offline   Reply With Quote
Old 26-10-2012, 06:58   #165
Registered User

Join Date: Mar 2010
Location: Normandy, France
Boat: Flush Poker, 8.25m (Point Barre)
Posts: 332
Re: Plugin: DashBoard

Hi Paul,

Interesting idea... I was thinking of something slightly different: the compass rose could show COG and the boat drawing HDG. I've created the appropriate dial in just a few lines of code but I don't have any NMEA sample to test with.
Can you record (with the VDR plugin for example) a few minutes of NMEA stream with both HDG and COG sentences and send it to me please?

Thanks,
Jean-Eudes
__________________

__________________
SethDart 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
OpenCPN PlugIn Development bdbcat OpenCPN 63 15-09-2015 06:28


Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities


Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 23:59.


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.