Cruisers Forum
 


Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 23-03-2012, 01:45   #61
Registered User

Join Date: Mar 2010
Location: Normandy, France
Boat: Flush Poker, 8.25m (Point Barre)
Posts: 340
Re: How Do I Overlay DSC Waypoints / Track Buddy

Here's the patch:

Code:
diff --git a/src/pluginmanager.cpp b/src/pluginmanager.cpp
index ee88a8a..5306638 100644
--- a/src/pluginmanager.cpp
+++ b/src/pluginmanager.cpp
@@ -1184,7 +1184,9 @@ bool AddLocaleCatalog( wxString catalog )
 void PushNMEABuffer( wxString buf )
 {
       //if ( buf.Mid(3,3).IsSameAs(_T("VDM")) || buf.Mid(3,3).IsSameAs(_T("VDO")) )
-      if ( buf.Mid(1,2).IsSameAs(_T("AI")) ) // AIALR AITXT AIVDM AIVDO
+      if ( buf.Mid(1,2).IsSameAs(_T("AI")) || // AIALR AITXT AIVDM AIVDO
+           buf.Mid(1,4).IsSameAs(_T("CDDS")) || // DSC position message (CDDSC CDDSO)
+           buf.Mid(1,5).IsSameAs(_T("FRPOS")) ) // GpsGate position message
       {
             OCPN_AISEvent event( wxEVT_OCPN_AIS, 0 );
 //            event.SetEventObject( (wxObject *)this );
SethDart is offline   Reply With Quote
Old 23-03-2012, 06:07   #62
Registered User
 
LeaseOnLife's Avatar

Join Date: Apr 2008
Location: out cruising again, currently in Fiji
Boat: Sailboat
Posts: 1,466
Re: How Do I Overlay DSC Waypoints / Track Buddy

Hi Seth

quick work! Please add the $CDDSE sentence too.

Dirk
LeaseOnLife is offline   Reply With Quote
Old 23-03-2012, 06:11   #63
Registered User

Join Date: Mar 2010
Location: Normandy, France
Boat: Flush Poker, 8.25m (Point Barre)
Posts: 340
Re: How Do I Overlay DSC Waypoints / Track Buddy

Quote:
Originally Posted by LeaseOnLife View Post
quick work! Please add the $CDDSE sentence too.
Code:
buf.Mid(1,4).IsSameAs(_T("CDDS"))
Match any CDDS* (the comment is wrong... sorry)
SethDart is offline   Reply With Quote
Old 23-03-2012, 09:49   #64
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: How Do I Overlay DSC Waypoints / Track Buddy

Quote:
Originally Posted by SethDart View Post
Code:
buf.Mid(1,4).IsSameAs(_T("CDDS"))
Match any CDDS* (the comment is wrong... sorry)
Thank you very much for the patch. Things just works now.
I found this "Buddy" sentence
Code:
$FRPOS,6311.64120,N,01438.02740,E,0.0,0.000,0.0,270707,154403.000,Johan*18
which displays like this
Click image for larger version

Name:	buddy.png
Views:	113
Size:	13.2 KB
ID:	39027

Thomas
cagney is offline   Reply With Quote
Reply

Tags
dsc

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Radar / Chartplotter - Overlay vs Parallel truant Navigation 7 23-08-2010 20:49
Satellite Image Overlay with Grib Files Uhambo OpenCPN 0 02-08-2010 06:53
Chart Overlay Google Earth Question David M Navigation 18 19-06-2010 02:31
Newbie Impressions of Radar Overlay (Raymarine c80) Northeaster Marine Electronics 0 06-07-2009 06:06

Advertise Here


All times are GMT -7. The time now is 02:17.


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.