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 24-10-2010, 15:01   #46
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,500
Thomas, and everyone else....

git 1024 is flawed, as is common between announced Beta releases.
Patience is a virtue....

Thomas, especially, on the ocpn hang. The backtrace implies problems with libgps. Does it hang with and without PlugIns active? With and without libgps?

We made no changes to nmea code on this release, although that means nothing in an event driven environment

Real Beta coming soon. Please stand by....

Dave
bdbcat is offline   Reply With Quote
Old 25-10-2010, 08:14   #47
Registered User

Join Date: Mar 2010
Location: Normandy, France
Boat: Flush Poker, 8.25m (Point Barre)
Posts: 340
windows buil

Hi all,

Here's a patch to solve up/down instrument moving for Windows. Strangely Mask is empty for this OS whereas it's full for GNU/Linux (or looks being so)

Code:
diff --git a/plugins/dashboard_pi/src/dashboard_pi.cpp b/plugins/dashboard_pi/src/dashboard_pi.cpp
index ec278d6..bc19a0d 100644
--- a/plugins/dashboard_pi/src/dashboard_pi.cpp
+++ b/plugins/dashboard_pi/src/dashboard_pi.cpp
@@ -866,14 +866,11 @@ void dashboard_pi::OnInstrumentUp(wxCommandEvent& event)
 
       wxListItem item;
       item.SetId(itemID);
+      item.SetMask(wxLIST_MASK_TEXT | wxLIST_MASK_IMAGE | wxLIST_MASK_DATA);
       m_pListCtrlInstruments->GetItem(item);
-      wxListItem item2;
-      item2.SetData(item.GetData());
-      item2.SetImage(item.GetImage());
-      item2.SetText(item.GetText());
-      item2.SetId(itemID-1);
       m_pListCtrlInstruments->DeleteItem(itemID);
-      m_pListCtrlInstruments->InsertItem(item2);
+      item.SetId(itemID-1);
+      m_pListCtrlInstruments->InsertItem(item);
       m_pListCtrlInstruments->SetItemState(itemID-1, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED);
       UpdateButtonsState();
 }
@@ -885,14 +882,11 @@ void dashboard_pi::OnInstrumentDown(wxCommandEvent& event)
 
       wxListItem item;
       item.SetId(itemID);
+      item.SetMask(wxLIST_MASK_TEXT | wxLIST_MASK_IMAGE | wxLIST_MASK_DATA);
       m_pListCtrlInstruments->GetItem(item);
-      wxListItem item2;
-      item2.SetData(item.GetData());
-      item2.SetImage(item.GetImage());
-      item2.SetText(item.GetText());
-      item2.SetId(itemID+1);
       m_pListCtrlInstruments->DeleteItem(itemID);
-      m_pListCtrlInstruments->InsertItem(item2);
+      item.SetId(itemID+1);
+      m_pListCtrlInstruments->InsertItem(item);
       m_pListCtrlInstruments->SetItemState(itemID+1, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED);
       UpdateButtonsState();
 }
Sorry for taking so long, I don't have Windows around for testing. It's been about 8 years since I've dev anything on that OS

I'll send it to flyspray ASAP. Can it be pushed in current beta for the Windows build on opencpn.org?

Thanks,
Jean-Eudes
SethDart is offline   Reply With Quote
Old 25-10-2010, 08:22   #48
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,500
Jean-Eudes...

I'll apply the patch when it appears in Flyspray.

It looks like we will have a new Beta later today. Some NMEA problems

Dave
bdbcat is offline   Reply With Quote
Old 10-11-2010, 16:07   #49
Registered User

Join Date: Nov 2010
Location: Bologna, Italy
Posts: 24
NMEA interpretation problem

Hello All,

I am testing the new beta 1026 of OpenCPN, and find it a really wonderful Nav sw; I am testing also the Dashboard plugin, another wonderful piece of sw, that was really missing to OpenCPN to complete it.

In my opinion there is anyway some NMEA sentence interpretation problem:
1) the Apparent wind instrument is in reality showing the True wind (speed and angle) from xxMWV sentence, while the apparent is coming from xxVWR and not shown.

2) the True wind instrument (direction and speed) is not showing data from xxMWD sentence

3) the Heading from xxVHW is not shown

It would be nice to have the possibility to choose the data from different sentences from configuration and to have an instrument showing both apparent and true wind angle and speed (having different colour indicators).

Thanks anyway for the wonderful work.

Stefano
fastm is offline   Reply With Quote
Old 24-11-2010, 06:48   #50
Registered User
 
idpnd's Avatar

Join Date: Sep 2007
Location: Almería, ES
Boat: Chiquita 46 - Libertalia
Posts: 1,558
Hello, enjoying the dashboard & loving the overhauled plugin manager (2.2 1111)!

Could we have a time indicator as well? I know that's what the old rolex is for but I cant afford one currently

Edit: Added on flyspray
__________________
sv Libertalia
idpnd is offline   Reply With Quote
Old 10-12-2010, 02:30   #51
Registered User

Join Date: Mar 2010
Location: Normandy, France
Boat: Flush Poker, 8.25m (Point Barre)
Posts: 340
Dashboard v1.1 started...

Multi-dashboard with caption, width, orientation, visibility & instrument list for each

Known bugs:
- Caption change is only updated after show+hide for floating panel (AUI)
- Dock constraints may require OpenCPN restart to be updated (AUI perspective)

FS#289 : Multi-dashboard

Please test & comment ;-)
Attached Thumbnails
Click image for larger version

Name:	Dashboard-1.1.png
Views:	343
Size:	157.7 KB
ID:	21836  
SethDart is offline   Reply With Quote
Old 11-12-2010, 15:24   #52
Registered User

Join Date: Nov 2010
Location: Sydney (AUS)
Boat: Hanse 370
Posts: 132
Hello SethDart
I like the Dashboard a lot. Is there a way to show COG and other direction indicators in Magnetic rather than True? Since I often hand steer to a physical compass on the binnacle I like my electronic instruments to agree (more or less) with the physical compass.
Gypsy23 is offline   Reply With Quote
Old 12-12-2010, 04:53   #53
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,547
Gipsy23,

you might want to read this: What is Magnetic Declination?

This site shows you also the amount of declination of your location.

Gerhard
CarCode is offline   Reply With Quote
Old 12-12-2010, 05:07   #54
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Andrés, who created this program has offered to help in implementing a similar feature as a plugin.
SethDart, I hope you did not lose the mail I forwarded, a while back.

Thomas
cagney is offline   Reply With Quote
Old 12-12-2010, 05:48   #55
Registered User

Join Date: Sep 2009
Location: Rome
Posts: 320
Why not integrate the WMM2010?

World Magnetic Model - Software Download

Ciao, Marco.
GPS-Marco is offline   Reply With Quote
Old 12-12-2010, 11:26   #56
Registered User

Join Date: Apr 2010
Location: Netherlands
Boat: 110mtr Lyaemer
Posts: 47
Could the speedometer be persuaded to display in km/h too??
gaea is offline   Reply With Quote
Old 12-12-2010, 11:47   #57
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,547
gaea,

you are traveling your boat with a boat trailer on the roads?
Only just joking but indeed there might be some inland waterway speed limits in km/h instead of the usually knots.

Gerhard
CarCode is offline   Reply With Quote
Old 12-12-2010, 12:13   #58
Registered User

Join Date: Apr 2010
Location: Netherlands
Boat: 110mtr Lyaemer
Posts: 47
Quote:
Originally Posted by CarCode View Post
gaea,
Only just joking but indeed there might be some inland waterway speed limits in km/h instead of the usually knots.
Indeed.
My boat is 110 metres long and doesn't fit on a usual trailer.
In inland navigation km/h is usual. So speed limits are in km/h too, just like on your 'Mittelandkanal'.

See:http://www.wsa-minden.de/schifffahrt...ten/index.html
gaea is offline   Reply With Quote
Old 13-12-2010, 06:44   #59
Registered User

Join Date: Mar 2010
Location: Normandy, France
Boat: Flush Poker, 8.25m (Point Barre)
Posts: 340
Future work

Magnetic vs True is on my todo list.

Ability to change units as well

Handle correctly Apparent vs True in MWV (it can provide one or the other) Plus adding support to VWT and MWD

Re #49: Heading from xxVHW - I misunderstood that sentence, I thought it's water heading rather than compass heading ; wich may differ. Can anyone confirm please?

Time indicator will come soon... but probably only as text

Re: Magnetic Declination: Thomas, I received your message but no time yet to see how it can be included/used in the dashboard. I'll probably add an instrument for magnetic declination display either from existing nmea sentences or computed with this. I'll ping Andrès when I'm ready.

Use timers to handle timeout/disconnect, see FS#218

Some of these changes will come as options to existing instruments/dials. I already wrote some ideas in FS#121

Thanks for your comments
SethDart is offline   Reply With Quote
Old 13-12-2010, 12:00   #60
Registered User

Join Date: Nov 2010
Location: Sydney (AUS)
Boat: Hanse 370
Posts: 132
Thanks for the feedback on your plans. I look fwd to new versions. Ray
Gypsy23 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
OpenCPN PlugIn Development bdbcat OpenCPN 161 04-09-2019 12:50

Advertise Here


All times are GMT -7. The time now is 13:32.


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.