Cruisers Forum
 


Join CruisersForum Today

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

Join Date: Mar 2010
Location: Normandy, France
Boat: Flush Poker, 8.25m (Point Barre)
Posts: 335
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, 07:07   #62
Registered User
 
LeaseOnLife's Avatar

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

Hi Seth

quick work! Please add the $CDDSE sentence too.

Dirk
__________________

__________________
LeaseOnLife is online now   Reply With Quote
Old 23-03-2012, 07:11   #63
Registered User

Join Date: Mar 2010
Location: Normandy, France
Boat: Flush Poker, 8.25m (Point Barre)
Posts: 335
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, 10:49   #64
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
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:	75
Size:	13.2 KB
ID:	39027

Thomas
__________________

__________________
cagney is offline   Reply With Quote
Reply

Tags
dsc

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



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 12:58.


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.