Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-07-2012, 10:05   #136
GWB
Registered User

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

Thanks for the reply Thomas. Do you know if VHW (speed through water) will be incorporated anytime soon?
Thanks again!
__________________

__________________
GWB is offline   Reply With Quote
Old 05-07-2012, 10:37   #137
Registered User

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

STW is already available!
Time to read the documentation
Dashboard Plugin | Official OpenCPN Homepage
Thomas
__________________

__________________
cagney is offline   Reply With Quote
Old 05-07-2012, 10:51   #138
GWB
Registered User

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

Quote:
Originally Posted by cagney View Post
STW is already available!
Time to read the documentation
Dashboard Plugin | Official OpenCPN Homepage
Thomas
Unless I'm mistaken (this happens a lot!) STW is not the same as VHW ..or at least, OCPN does not recognize the VHW header...
__________________
GWB is offline   Reply With Quote
Old 05-07-2012, 11:02   #139
Registered User

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

I can't test this myself, but a look at the code for the Dashboard, indicates that it should read VHW sentences.

Thomas
__________________
cagney is offline   Reply With Quote
Old 09-07-2012, 06:22   #140
Registered User

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

Yes, Thomas is right (as always ;-) )
VHW NMEA sentence is read by the dashboard. It's values can be used in heading and stw display (also included in the bottom of the speedometer instrument)

Jean-Eudes
__________________
SethDart is offline   Reply With Quote
Old 11-10-2012, 08:26   #141
Registered User

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

After a truly Epic adventure, the French/Swedish window resizing ninjas presents: THE DASHBOARD REBORN

Features:
- resizable dashboards
- context menu
- timer controller refresh (every 1s)
- new color scheme, can be styled through chartsymbols.xml
- instrument unit defined from nmea input
- new compass dial (HDT), old compass (COG) renamed to "GPS Compass"
- pretty moon phase display
- AWA dial obsoleted (duplicate with AWA+AWS dial)
- cleaner wind instrument naming

It's just pushed to master, to be included in next beta!
__________________
SethDart is offline   Reply With Quote
Old 11-10-2012, 08:35   #142
Registered User

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

I forgot the most visible part (the resizing feature was such a nightmare..): the new graphics are pretty, antialiased.

Enjoy!

BTW, many many thanks to Jesper for so many hours coding, testing, doing it all over again to achieve the goals, and more. Cheers ;-)
__________________
SethDart is offline   Reply With Quote
Old 11-10-2012, 09:29   #143
Registered User

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

...as they say: Pics, or it didn't happen!

__________________
JesperWe is offline   Reply With Quote
Old 11-10-2012, 11:49   #144
Registered User

Join Date: Jul 2010
Posts: 51
Re: Plugin: DashBoard

Quote:
Originally Posted by JesperWe View Post
...as they say: Pics, or it didn't happen!

Looks great!
__________________
stensmo is offline   Reply With Quote
Old 12-10-2012, 02:51   #145
Registered User
 
rooiedirk's Avatar

Join Date: Aug 2010
Location: Netherlands
Boat: Oneoff
Posts: 289
Re: Plugin: DashBoard

Hoi,
Looks are definitely improved.
In my copy of master the True Wind & Speed instruments does't show a value and has the background for a app. wind instrument.
WKR
Dirk
Attached Thumbnails
Click image for larger version

Name:	Dashboard1.png
Views:	120
Size:	73.1 KB
ID:	48146  
__________________
rooiedirk is offline   Reply With Quote
Old 12-10-2012, 04:57   #146
Registered User

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

Quote:
Originally Posted by rooiedirk View Post
Hoi,
Looks are definitely improved.
In my copy of master the True Wind & Speed instruments does't show a value and has the background for a app. wind instrument.
WKR
Dirk
The naming is not optimal !

True Wind Angle shows the true wind direction actually, and looks correct. The True Wind Angle & Speed shows angle versus the boat, and should look the same as the apparent angle, but show true instead of apparent.

For the True Wind Angle & Speed to show an angle you need that information in your NMEA stream. A lot of systems do not include it by default.
__________________
JesperWe is offline   Reply With Quote
Old 12-10-2012, 12:04   #147
Registered User

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

The DashBoard plugin crashes opencpn consistently after 55 minutes. Here are before and after pictures and the log file.


Code:
________

17:33:15: 2012-10-11
17:33:15:  ------- Starting OpenCPN -------
17:33:15: Version 3.1.919 Build 2012-09-19
17:33:15: wxWidgets version: wxWidgets 2.8.12
17:33:15: MemoryStatus:  mem_total: 3573 mb,  mem_initial: 13 mb
17:33:15: SData_Locn is C:\Program Files\OpenCPN\
17:33:15: Using existing Config_File: C:\ProgramData\opencpn\opencpn.ini
17:33:15: Styles loading from C:\Program Files\OpenCPN\uidata\styles.xml
17:33:15: No styles found at: C:\ProgramData\opencpn\
17:33:15: No styles found at: C:\ProgramData\opencpn\.opencpn\
17:33:15: Setting Viewpoint Lat/Lon 33.9429, -118.696
17:33:15: Setting Ownship Lat/Lon 34.2338, -118.268
17:33:15: System default Language:  en_US
17:33:15: Opencpn language set to:  en_US
17:33:16: ChartSymbols loaded from C:\Program Files\OpenCPN\s57data\chartsymbols.xml
17:33:17: Using s57data in C:\Program Files\OpenCPN\s57data
17:33:17: Setting Viewpoint Lat/Lon 33.9429, -118.696
17:33:17: Setting Ownship Lat/Lon 34.2338, -118.268
17:33:17: NMEA Data Source is....Serial:COM7
17:33:18: AIS Data Source is....Serial:COM5
17:33:18: OpenPD: 320, new_count = 1 for COM7
17:33:19: NMEA AutoPilot Port is....None
17:33:20: PlugInManager searching for PlugIns in location C:\Program Files\OpenCPN\plugins
17:33:20: PlugInManager: Loading PlugIn: C:\Program Files\OpenCPN\plugins/dashboard_pi.dll
17:33:20:   C:\Program Files\OpenCPN\plugins/dashboard_pi.dll Version detected: 106
17:33:20: PlugInManager: Loading PlugIn: C:\Program Files\OpenCPN\plugins/grib_pi.dll
17:33:20:   C:\Program Files\OpenCPN\plugins/grib_pi.dll Version detected: 107
17:33:20: OpenGL-> Renderer String: Intel 965/963 Graphics Media Accelerator
17:33:20: OpenGL-> Detected Intel renderer, disabling stencil buffer
17:33:20: OpenGL-> Detected Intel renderer, disabling FBO
17:33:20: OpenGL-> Framebuffer Objects unavailable
17:33:20: OpenGL-> Using Depth buffer clipping
17:33:20: OpenGL-> Estimated Max Resident Textures: 172
17:33:20: ChartDB Cache policy:  Application target is 1024 MBytes
17:33:20: Loading chart db version: V017
17:33:20: Chartdb: Chart directory list follows
17:33:20:   Chart directory #0: C:\Users\Chuck\Charts\BSB_charts
17:33:20:   Chart directory #1: C:\Users\Chuck\Charts\ENC_charts
17:33:20:   Chart directory #2: C:\Users\Chuck\Charts\CM93January2011
17:33:20:   Chart directory #3: C:\Users\Chuck\Charts\Google_charts
17:33:21: GPS Watchdog Timeout is: 6 sec.
17:33:21: Initializing Chart C:\Users\Chuck\Charts\CM93January2011\CM93January2011\00300000\A\00300000.A
17:33:21: CM93Composite Chart Root is C:\Users\Chuck\Charts\CM93January2011\CM93January2011\
17:33:21: Loaded CM93 Dictionary from C:\Users\Chuck\Charts\CM93January2011\CM93January2011\
17:33:21: Loading CM93 cell C:\Users\Chuck\Charts\CM93January2011\CM93January2011\03300720/C/03660720.C
17:33:22: Loading CM93 cell C:\Users\Chuck\Charts\CM93January2011\CM93January2011\03300720/B/03600720.B
17:33:23: LOGBOOK:  2012-10-12 00:33:23 UTC  GPS Lat   34.23387 Lon -118.26820 COG  190.13000 SOG   0.97
18:00:00: LOGBOOK:  2012-10-12 01:00:00 UTC  GPS Lat   34.23374 Lon -118.26810 COG  253.45000 SOG   0.18
18:00:00: Using bells sound file: C:\Program Files\OpenCPN\sounds\4bells.wav
18:27:52: Debug: ..\..\src\msw\font.cpp(395): 'CreateFont' failed with error 0x00000000 (the operation completed successfully.).
18:27:52: Debug: ..\..\src\msw\dc.cpp(2563): assert "hdcDst && hdcSrc" failed in AlphaBlt(): AlphaBlt(): invalid HDC
18:27:52: Debug: ..\..\src\msw\dc.cpp(2590): 'AlphaBlend' failed with error 0x00000057 (the parameter is incorrect.).
18:27:52: Debug: ..\..\src\msw\dib.cpp(134): 'CreateDIBSection' failed with error 0x00000057 (the parameter is incorrect.).
18:27:52: Debug: ..\..\src\msw\dc.cpp(2626): 'BitBlt' failed with error 0x00000006 (the handle is invalid.).
18:27:52: Debug: ..\..\src\msw\dc.cpp(2634): assert "dataDst && dataSrc" failed in wxAlphaBlend(): failed to get raw data in wxAlphaBlend
18:27:52: Debug: ..\..\src\msw\font.cpp(395): 'CreateFont' failed with error 0x00000000 (the operation completed successfully.).
18:27:52: Debug: ..\..\src\msw\font.cpp(395): 'CreateFont' failed with error 0x00000000 (the operation completed successfully.).
18:27:52: Debug: ..\..\src\msw\font.cpp(395): 'CreateFont' failed with error 0x00000000 (the operation completed successfully.).
18:27:52: Debug: ..\..\src\msw\font.cpp(395): 'CreateFont' failed with error 0x00000000 (the operation completed successfully.).
18:27:52: Debug: ..\..\src\msw\dc.cpp(2563): assert "hdcDst && hdcSrc" failed in AlphaBlt(): AlphaBlt(): invalid HDC
18:27:52: Debug: ..\..\src\msw\dc.cpp(2590): 'AlphaBlend' failed with error 0x00000057 (the parameter is incorrect.).
18:27:52: Debug: ..\..\src\msw\dib.cpp(134): 'CreateDIBSection' failed with error 0x00000057 (the parameter is incorrect.).
18:27:52: Debug: ..\..\src\msw\dc.cpp(2626): 'BitBlt' failed with error 0x00000006 (the handle is invalid.).
18:27:52: Debug: ..\..\src\msw\dc.cpp(2634): assert "dataDst && dataSrc" failed in wxAlphaBlend(): failed to get raw data in wxAlphaBlend
18:27:52: Debug: ..\..\src\msw\font.cpp(395): 'CreateFont' failed with error 0x00000000 (the operation completed successfully.).
18:27:52: Debug: ..\..\src\msw\dc.cpp(2563): assert "hdcDst && hdcSrc" failed in AlphaBlt(): AlphaBlt(): invalid HDC
18:27:52: Debug: ..\..\src\msw\dc.cpp(2590): 'AlphaBlend' failed with error 0x00000057 (the parameter is incorrect.).
18:27:52: Debug: ..\..\src\msw\dib.cpp(134): 'CreateDIBSection' failed with error 0x00000057 (the parameter is incorrect.).
18:27:52: Debug: ..\..\src\msw\dc.cpp(2626): 'BitBlt' failed with error 0x00000006 (the handle is invalid.).
18:27:52: Debug: ..\..\src\msw\dc.cpp(2634): assert "dataDst && dataSrc" failed in wxAlphaBlend(): failed to get raw data in wxAlphaBlend
18:27:52: Debug: ..\..\src\msw\font.cpp(395): 'CreateFont' failed with error 0x00000000 (the operation completed successfully.).
18:27:52: Debug: ..\..\src\msw\font.cpp(395): 'CreateFont' failed with error 0x00000000 (the operation completed successfully.).
18:27:52: Debug: ..\..\src\msw\dc.cpp(2563): assert "hdcDst && hdcSrc" failed in AlphaBlt(): AlphaBlt(): invalid HDC
18:27:52: Debug: ..\..\src\msw\dc.cpp(2590): 'AlphaBlend' failed with error 0x00000057 (the parameter is incorrect.).
18:27:52: Debug: ..\..\src\msw\dib.cpp(134): 'CreateDIBSection' failed with error 0x00000057 (the parameter is incorrect.).
18:27:52: Debug: ..\..\src\msw\dc.cpp(2626): 'BitBlt' failed with error 0x00000006 (the handle is invalid.).
18:27:52: Debug: ..\..\src\msw\dc.cpp(2634): assert "dataDst && dataSrc" failed in wxAlphaBlend(): failed to get raw data in wxAlphaBlend
18:27:52: Debug: ..\..\src\msw\bitmap.cpp(1108): 'SelectObject(destBitmap)' failed with error 0x00000006 (the handle is invalid.).
18:27:52: Debug: ..\..\src\msw\bitmap.cpp(1114): 'BitBlt' failed with error 0x00000006 (the handle is invalid.).
18:27:52: Debug: ..\..\src\msw\bitmap.cpp(1108): 'SelectObject(destBitmap)' failed with error 0x00000006 (the handle is invalid.).
18:27:52: Debug: ..\..\src\msw\bitmap.cpp(1114): 'BitBlt' failed with error 0x00000006 (the handle is invalid.).
18:27:52: Debug: ..\..\src\msw\bitmap.cpp(1108): 'SelectObject(destBitmap)' failed with error 0x00000006 (the handle is invalid.).
18:27:52: Debug: ..\..\src\msw\bitmap.cpp(1114): 'BitBlt' failed with error 0x00000006 (the handle is invalid.).
18:27:52: Debug: ..\..\src\msw\bitmap.cpp(1108): 'SelectObject(destBitmap)' failed with error 0x00000006 (the handle is invalid.).
18:27:52: Debug: ..\..\src\msw\bitmap.cpp(1114): 'BitBlt' failed with error 0x00000006 (the handle is invalid.).
18:27:52: Debug: ..\..\src\msw\dib.cpp(134): 'CreateDIBSection' failed with error 0x00000057 (the parameter is incorrect.).
18:27:52: Debug: ..\..\src\msw\bitmap.cpp(1092): assert "ret.Ok()" failed in wxBitmap::GetSubBitmapOfHDC(): GetSubBitmap error
18:27:52: Debug: ..\..\src\msw\bitmap.cpp(1108): 'SelectObject(destBitmap)' failed with error 0x00000006 (the handle is invalid.).
18:27:52: Debug: ..\..\src\msw\bitmap.cpp(1114): 'BitBlt' failed with error 0x00000006 (the handle is invalid.).
18:27:52: Debug: ..\..\src\msw\dc.cpp(1181): assert "bmp.Ok()" failed in wxDC::DoDrawBitmap(): invalid bitmap in wxDC::DrawBitmap
18:27:53: Debug: ..\..\src\msw\dib.cpp(134): 'CreateDIBSection' failed with error 0x00000057 (the parameter is incorrect.).
18:27:53: Debug: ..\..\src\msw\font.cpp(395): 'CreateFont' failed with error 0x00000006 (the handle is invalid.).
18:27:53: Debug: ..\..\src\msw\font.cpp(395): 'CreateFont' failed with error 0x00000006 (the handle is invalid.).

Chuck
Attached Thumbnails
Click image for larger version

Name:	NewDashBoard_before.JPG
Views:	126
Size:	260.3 KB
ID:	48166   Click image for larger version

Name:	NewDashBoard_after.JPG
Views:	116
Size:	86.3 KB
ID:	48167  

__________________
ChuckSK is offline   Reply With Quote
Old 12-10-2012, 12:45   #148
Marine Service Provider

Join Date: Oct 2009
Location: In the U.S.
Boat: FP Tobago 35 [sold]
Posts: 401
Re: Plugin: DashBoard

Quote:
Originally Posted by JesperWe View Post
For the True Wind Angle & Speed to show an angle you need that information in your NMEA stream. A lot of systems do not include it by default.
Don't most Nav instrument displays, like PolarCom and NavMonPC simply use the TWA and Heading to calculate the True Wind Direction?

Seems like a simple calculation to do, but don't know anything about how the plugin works.
__________________
Mark (It's Irie - Sailing Blog)
The Wirie AP+ and The Wirie pro - Long Range Marine WiFi and 2/3/4G Systems
kiltym is offline   Reply With Quote
Old 12-10-2012, 12:47   #149
Marine Service Provider

Join Date: Oct 2009
Location: In the U.S.
Boat: FP Tobago 35 [sold]
Posts: 401
Re: Plugin: DashBoard

Quote:
Originally Posted by kiltym View Post
Don't most Nav instrument displays, like PolarCom and NavMonPC simply use the TWA and Heading to calculate the True Wind Direction?

Seems like a simple calculation to do, but don't know anything about how the plugin works.
Sorry, think I was confused.

Seems the True Wind Direction is correct, just not data for the TWA and TWS.

My bad.
__________________
Mark (It's Irie - Sailing Blog)
The Wirie AP+ and The Wirie pro - Long Range Marine WiFi and 2/3/4G Systems
kiltym is offline   Reply With Quote
Old 13-10-2012, 07:25   #150
Registered User

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

Quote:
Originally Posted by ChuckSK View Post
The DashBoard plugin crashes opencpn consistently after 55 minutes. Here are before and after pictures and the log file.
Chuck, I cannot reproduce that. It's been running here for more that 3 hours without crashing. Your debug trace has nothing related to the dashboard plugin. Can you try to reproduce with the dashboard plugin disabled?
Are you playing some specific nmea stream? Is it plugged to your nmea network or is it just left running as is, without any input?

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 78 29-07-2017 02:15


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:36.


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.