Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

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 25-09-2010, 18:38   #1
Registered User

Join Date: May 2010
Location: Cairns Nth Qld, Australia
Posts: 34
How Do I Overlay DSC Waypoints / Track Buddy

Hi all
Maybe its wishful thinking, but is there any way of displaying DSC data from a DSC enabled VHF/HF as an overlay on a chart, this feature would be very handy when travelling in a group, ie track buddy feature.
Thanks in Advance
tebsin is offline   Reply With Quote
Old 11-04-2011, 20:10   #2
Registered User

Join Date: Jan 2008
Location: Berkeley, CA
Boat: Hylas 47
Posts: 71
Re: How Do I Overlay DSC Waypionts / Track Buddy

I am also very interested in being able to have position polling positions from DSC displayed on the chart. Is there any way this is possible with OpenCPN?
gdavids is offline   Reply With Quote
Old 12-04-2011, 01:26   #3
Registered User

Join Date: Feb 2010
Posts: 619
DSC Waypoints - how much interest & capability to test?

In a couple of weeks I shall be sailing, so the development season will end.

I have one feature left in the backlog: plotting NMEA 0183 CDDSC and CDDSE messages and GpsGate Buddies (FS#331). I have this working in the 2.3.1 1228 release, but not yet in the current 2.4 0324. The question is whether to make the effort of integrating this code now.

I implemented this early in January, seemingly along with multiple specific requests in this Forum, but no feedback so far... so I am just wondering, whether to continue this work.

Pros:

- most chartplotters and PC-based nav software include CDDSC/CDDSE plotting today
- having the DSC Distress position immediately plotted on screen is certainly a good thing
- polling the buddies around may be lots of fun and can reduce the load on voice VHF channels

Cons:

- the AIS code seems to be in a process of being prepared for moving to a plugin, so adding complexity now would not be welcome
- it is not too easy to live test - it takes more skills and equipment than just the PC at home
- most people expect the DSC Transponder Initialize function here, so they will feel disappointed without it, whatever other benefits are present

The DSC Transponder Initialize relates to "clicking on an AIS target to get connected over VHF to it". But this is very rarely supported by the communications equipment. Also, by the nature of GMDSS operation it can not be fully automatic, it can just save punching in the MMSI, but not the channel selection and not making the actual call. For collision avoidance I would always prefer to make a voice call than an Individual DSC call, whatever the interface. So I think it is not worth implementing DSC TI now.

I did the CDDSC/CDDSE and GpsGate testing with all the data I could find around, but I am not prepared to write a simulator or set up a GpsGate server for testing. I shall have access to a DSC-output capable VHF in May, but likely I will be busy then with other things.

Any keen builders enabled to test?

Piotr

PS. The patch is already in flyspray (FS#331) anyway...
PjotrC is offline   Reply With Quote
Old 12-04-2011, 09:22   #4
Registered User

Join Date: Jan 2008
Location: Berkeley, CA
Boat: Hylas 47
Posts: 71
Re: How Do I Overlay DSC Waypionts / Track Buddy

I am not a developer or builder, but if you have a version that just needs testing, I could help with that. Since I would love to get this feature working, it is well worth my time. I live on my boat with a DSC radio and have friends with DSC radios I could ping.

I currently have build 2.4.324. Should it be working in this? Is the data supposed to come in in on the same port used for GPS? If so, what is the easiest way to combine the two NMEA feeds (GPS and DSC) into the one port? I am using the Standard Horizon GX2100 for AIS and DSC.

Cheers,
Greg
gdavids is offline   Reply With Quote
Old 12-04-2011, 09:52   #5
Registered User

Join Date: Feb 2010
Posts: 619
Re: How Do I Overlay DSC Waypionts / Track Buddy

Quote:
Originally Posted by gdavids View Post
I currently have build 2.4.324. Should it be working in this? Is the data supposed to come in in on the same port used for GPS? If so, what is the easiest way to combine the two NMEA feeds (GPS and DSC) into the one port? I am using the Standard Horizon GX2100 for AIS and DSC.
Greg...

I will produce a working 2.4.324 then.

The DSC feed will be expected in the AIS stream, so it should naturally interface to your GX2100.

I am not sure if the executable I produce will run for you simply by replacing the opencpn.exe. The process for building a distributable package breaks for me, so I can only publish a source patch or a wishful executable. Maybe someone can build a better .exe then...

In the meantime you could perhaps:

- try to download the .exe I posted in the Routeplan Time & Tide thread today, if Windows is your platform
- record & post here or PM me some data for testing

Thanks in advance,

P.
PjotrC is offline   Reply With Quote
Old 12-04-2011, 10:06   #6
Registered User

Join Date: Jan 2008
Location: Berkeley, CA
Boat: Hylas 47
Posts: 71
Re: How Do I Overlay DSC Waypionts / Track Buddy

The SH GX2100 radio outputs the DSC data separately from the AIS data. They are also at different baud rates. AIS is at 38400 and DSC is at 4800.

Greg
gdavids is offline   Reply With Quote
Old 12-04-2011, 14:57   #7
Registered User

Join Date: Feb 2010
Posts: 619
Re: How Do I Overlay DSC Waypionts / Track Buddy

Quote:
Originally Posted by gdavids View Post
The SH GX2100 radio outputs the DSC data separately from the AIS data.
It is good to test ...

Until you will find a suitable multiplexer (software or hardware) you can connect DSC NMEA output from VHF to AIS input of OCPN. Today OCPN can feed the GPS from AIS stream, but not the other way around. Something to think of when moving AIS to plugin...

The source patch is attached. Please let me know if there is any use for posting the Windows executable.

In any case the recorded data stream would be useful.
Attached Thumbnails
Click image for larger version

Name:	dsc_distress.jpg
Views:	220
Size:	23.5 KB
ID:	26087   Click image for larger version

Name:	gpsg_buddy.jpg
Views:	206
Size:	24.5 KB
ID:	26088  

Attached Files
File Type: doc 0001-Implement-DSC-and-GpsGate-Targets-in-0324.patch.doc (21.8 KB, 79 views)
PjotrC is offline   Reply With Quote
Old 13-04-2011, 05:23   #8
Registered User

Join Date: Apr 2011
Posts: 10
Re: How Do I Overlay DSC Waypionts / Track Buddy

Hi all,
sorry for my nooby question.
How can I install the patch in the OpenCPN program ?
Using W7.
Thanks
Mauro
Plexi47 is offline   Reply With Quote
Old 13-04-2011, 05:48   #9
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
Re: How Do I Overlay DSC Waypionts / Track Buddy

Mauro,
you have to compile from source, not worth the effort if Compiling - Windows | Official OpenCPN Homepage sounds like Mongolian to you... If not and you pass through it:
Code:
git help apply
Otherwise you will have to wait until someone builds the modified binary.

Pavel
nohal is offline   Reply With Quote
Old 13-04-2011, 06:27   #10
Registered User

Join Date: Apr 2011
Posts: 10
Re: How Do I Overlay DSC Waypionts / Track Buddy

Quote:
Originally Posted by nohal View Post
Mauro,
you have to compile from source, not worth the effort if Compiling - Windows | Official OpenCPN Homepage sounds like Mongolian to you... If not and you pass through it:
Code:
git help apply
Otherwise you will have to wait until someone builds the modified binary.

Pavel
Many Thanks Pavel,
Understood, I've to wait.
Hope it will be included in a future release.
Mauro
Plexi47 is offline   Reply With Quote
Old 14-04-2011, 11:21   #11
Registered User

Join Date: Feb 2010
Posts: 619
Re: How Do I Overlay DSC Waypionts / Track Buddy

Just in case...
Attached Files
File Type: doc 0001-Implement-DSCDSE-GpsGate-Buddies-in-0412.patch.doc (21.7 KB, 90 views)
PjotrC is offline   Reply With Quote
Old 16-04-2011, 03:33   #12
Registered User

Join Date: Apr 2011
Posts: 10
Re: How Do I Overlay DSC Waypionts / Track Buddy

Unbelievable !!!
With very limited experience in programming (Visual.net for dummies),
after some struggling, following Compiling - Windows | Official OpenCPN Homepage
instructions.
I've been able to compile a version for Visual C++.
Then I had to apply the patch.
Just because I'm not able to see if it works.
I'm at home , only in June on boat, could you pls tell me if the procedure I followed
is correct:
- rename the patch.doc published by Pavel as DSC.patch
-create a subfolder : patches
cd to that subfolder
git apply DSC.patch
git states he has eliminated some blank lines
recompiled the solution
Do you think it worked ?
Thanks
Mauro
Plexi47 is offline   Reply With Quote
Old 16-04-2011, 06:49   #13
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
Re: How Do I Overlay DSC Waypionts / Track Buddy

Congratulations!
It did work. You can actually omit the step with creating the subfolder for the patch - it can be anywhere, what's important in this case is that you run git apply inside the repository.

Pavel
nohal is offline   Reply With Quote
Old 16-04-2011, 08:30   #14
Registered User

Join Date: Apr 2011
Posts: 10
Re: How Do I Overlay DSC Waypoints / Track Buddy

I've to congratulate with You All for the clear instructions.
If I've (almost) succeeded is because of that!
The only problem I 'm now facing is the impossibility to create a package.
The log_file states:
Error: Can't open "C:/..../opencpn/buildwin/NSIS_Unicode/UI/opencpn_ui.exe"!

In fact that file is not there

Any solution ?
Thanks again
Mauro
Plexi47 is offline   Reply With Quote
Old 16-04-2011, 08:48   #15
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
Re: How Do I Overlay DSC Waypoints / Track Buddy

Mauro...
It is there, at least in the repository - SourceForge - opencpn/opencpn/tree - buildwin/NSIS_Unicode/UI/
Make sure that you created the build folder under the path where you cloned the source and are running the build there.
Anyway if you got that far, you already have the opencpn.exe built, so just find it in the Release subfolder of the folder where you run the build and replace the one that came with your opencpn installation and you should be done.
One more important note - you have to build the Release configuration, with the debug build things will not work if you replace the installed executable...

Hope it gets you going

Pavel
nohal is offline   Reply With Quote
Reply

Tags
dsc


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 17:45.


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.