Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 14-01-2018, 23:14   #1
Registered User

Join Date: Aug 2015
Location: Marina del Rey
Boat: Hunter 31
Posts: 863
Raymarine radar plugin for OpenCPN

I came across a working Raymarine radar plugin on GitHub. It is produced by a fellow called @ab2nkovs and it is available at https://github.com/ab2nkovs/RMRadar_pi.

It is a complete, working solution and it works very well that runs under Lunux or Windows. When compiling under Windows, you have to make a few modifications to the code (let me know, I can guide you) or if there is interest, I can post my Windows installation file.

It would be great if people can start testing it. I am planning on helping the OpenCPN team merge this into their general radar plugin. If anyone with at least some C++ knowledge wants to contribute, that would be great.

SV Pizzazz
__________________

Pizzazz is offline   Reply With Quote
Old 15-01-2018, 00:19   #2
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 5,226
Re: Raymarine radar plugin for OpenCPN

SV Pizzazz...
Good find...
With the changes needed for Windows, the best you can do is probably fork, fix and send a pull request with the changes to the original author. Besides integrating the code to radar_pi of course.
I'm always wondering why people invest time to develop such a thing, even push the code to Github and then let it lay there without telling anybody

Pavel
__________________

nohal is offline   Reply With Quote
Old 15-01-2018, 06:42   #3
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 13,530
Re: Raymarine radar plugin for OpenCPN

Tried compiling it
Build FAILED.
..\GitHub\RMRadar_pi\build\ALL_BUILD.vcxproj" (default target) (1) ->
"..GitHub\RMRadar_pi\build\rmradar_pi.vcxproj" (default target) (3) ->
(ClCompile target) ->
..\GitHub\RMRadar_pi\src\RMControl.cpp(35): fatal error C1083: Cannot open include file: 'netinet/in.h': No such file or directory
1 Error(s)

I suppose if I do it inline with OpenCPN, it will compile.
rgleason is offline   Reply With Quote
Old 15-01-2018, 09:56   #4
Registered User

Join Date: Aug 2015
Location: Marina del Rey
Boat: Hunter 31
Posts: 863
Re: Raymarine radar plugin for OpenCPN

There are about 30 changes needed to the source file RMRadar.cpp so that it will compile under Windows. For example, you need to remove the "netinet/in.h" library as it only exists in Unix. On Windows we use Winsock2. If only someone could guide me through the fork and pull process, it would make life so much easier.

I am in touch with the radar plugin guys and @ab2nkovs seems to have started to work on integrating his source into the general plugin. Soon we will have a great Raymarine plugin.
Pizzazz is offline   Reply With Quote
Old 15-01-2018, 10:40   #5
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 5,226
Re: Raymarine radar plugin for OpenCPN

Quote:
Originally Posted by Pizzazz View Post
If only someone could guide me through the fork and pull process, it would make life so much easier.
Just ask

Get Git for Windows from Git for Windows and install it.

I suppose you are the owner of the sv-pizzazz Github account in the instructions bellow

Go to https://github.com/ab2nkovs/RMRadar_pi and click on the Fork button (Almost in the top right corner) More info at https://guides.github.com/activities/forking/ (I suppose you know how to do it as you have a fork of radar_pi under your account already)

Go to your machine and open the Developer Command Line (Or how is it called in your VS version) from VisualStudio Tools in your Start menu

Type cd <a directory of your choice for surces files> and hit Enter

Type git clone https://github.com/sv-pizzazz/RMRadar_pi.git and hit Enter

The source code of the plugin will get cloned to <The current directory>\RMRadar_pi

Type cd RMRadar_pi and hit Enter, do not close the command line window

Apply your changes to the source in the tree you just cloned (I suppose you have a tree with your changes somewhere, just copy the changed files over)

Switch back to the command line window and type git status and hit Enter, it should report changed files.

Type git commit -a -m "Changes to allow build on Windows" and hit enter

Type git push and hit Enter, you will be asked for your github account, provide the username and password

Go back to https://github.com/sv-pizzazz/RMRadar_pi, create the pull request by clicking the button

Let us see what you just did

And if any of the steps above is not clear and you get stuck, ask further...

Pavel
nohal is offline   Reply With Quote
Old 15-01-2018, 11:43   #6
Registered User

Join Date: Aug 2015
Location: Marina del Rey
Boat: Hunter 31
Posts: 863
Re: Raymarine radar plugin for OpenCPN

Thank you. I have posted the code and send a commit request the owner. You can download the new source tree from the repository under my name, it also contains a file opencpn.lib in the build directory that is necessary to the compile to link to OpenCPN version 4.8.

Please, test it... and if you can fix the warnings that would be great too .

Thank you, Pavel. I was trying to do the commit from the GUI and it was driving me nuts. It looks so easy once you explained it to me.
Pizzazz is offline   Reply With Quote
Old 15-01-2018, 12:59   #7
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 13,530
Re: Raymarine radar plugin for OpenCPN

Windows with RM Radar can try it.
Plugin opens, shows on screen... have no RM Radar. When I close O with the RMRadar plugin open, O crashes.
https://github.com/rgleason/RMRadar_...tag/2.1000beta

Thanks Pizzazz & Pavel.
Attached Thumbnails
Click image for larger version

Name:	Screenshot (308).jpg
Views:	216
Size:	248.7 KB
ID:	162328  
rgleason is offline   Reply With Quote
Old 15-01-2018, 13:21   #8
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 13,530
Re: Raymarine radar plugin for OpenCPN

There is also a crash when I try to disable the plugin, so I disabled it by editing the opencpn.ini setting for rmradar_pi =0

The preferences menu looks well configured and shows nicely.
I wonder if the lack of ctrln in two files from pizzazz (there was a notice of this change) would cause this behavior?
rgleason is offline   Reply With Quote
Old 15-01-2018, 14:19   #9
Registered User

Join Date: Aug 2015
Location: Marina del Rey
Boat: Hunter 31
Posts: 863
Re: Raymarine radar plugin for OpenCPN

Mine crashes only on exit not on disable. The point though us that the plugin works very well. If anyone has a digital Raymarine radar or an E80 + analog radar, I encourage them to try it.
Pizzazz is offline   Reply With Quote
Old 15-01-2018, 14:22   #10
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 13,530
Re: Raymarine radar plugin for OpenCPN

Pizzazz, I believe you about it working well. These closing problems are probably some very small fixes to achieve acceptable behavior.
rgleason is offline   Reply With Quote
Old 15-01-2018, 14:33   #11
Registered User

Join Date: Dec 2010
Location: W Carib
Boat: Wildcat 35, Hobie 33
Posts: 11,246
Re: Raymarine radar plugin for OpenCPN

Cool. What Raymarine RADARs does it support? What physical interfaces (HSB, HSB2...?)
belizesailor is online now   Reply With Quote
Old 15-01-2018, 14:36   #12
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 5,226
Re: Raymarine radar plugin for OpenCPN

Quote:
Originally Posted by belizesailor View Post
Cool. What Raymarine RADARs does it support? What physical interfaces (HSB, HSB2...?)
RDxxxD, like RD424D, Ethernet.
And the analog ones, if you have the E80 plotter as well.
nohal is offline   Reply With Quote
Old 15-01-2018, 15:12   #13
Registered User

Join Date: Dec 2010
Location: W Carib
Boat: Wildcat 35, Hobie 33
Posts: 11,246
Re: Raymarine radar plugin for OpenCPN

Too bad, Ive got an antique Pathfinder and SL80 chartplotter.
belizesailor is online now   Reply With Quote
Old 15-01-2018, 16:33   #14
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 13,530
Re: Raymarine radar plugin for OpenCPN

For Windows includes nohal's
PR unix fix
PR missing files for win & osx

https://github.com/rgleason/RMRadar_...tag/2.1001beta
rgleason is offline   Reply With Quote
Old 15-01-2018, 19:21   #15
Registered User

Join Date: Aug 2015
Location: Marina del Rey
Boat: Hunter 31
Posts: 863
Re: Raymarine radar plugin for OpenCPN

Quote:
Originally Posted by belizesailor View Post
Too bad, Ive got an antique Pathfinder and SL80 chartplotter.
The Pathfinder radar is a very good unit and there is no need to change it if you are happy with it. The only issue is no AIS and no/slow MARPA. One way to connect to a PC app is the RayTECH software, available for download on their website. You can get a license key off the web just search for it. The software is quite good but a little quirky. You can run it on a Windows 10 tablet but it really prefers older versions, Windows 7 or below. You will also need an HSB to PCMCIA converter (ebay) and a USB to PCMCIA adapter.

It may be too much effort to invest at this point in time. Once we have the plugin sorted out and working my advice would be to get just a digital radar and a tablet and be done with it.
__________________

Pizzazz is offline   Reply With Quote
Reply

Tags
enc, marine, opencpn, plug, radar, raymarine

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
OpenCPN Radar Overlay PlugIn bdbcat OpenCPN 820 04-06-2019 14:09
Plugin development... How to receive chart objects in my plugin? dmartinez OpenCPN 6 04-08-2017 00:56
OpenCPN SIMRAD/LOWRANCE Radar Overlay PlugIn cowelld OpenCPN 513 03-11-2016 12:35
OpenCpn + BR24 radar plugin xolott OpenCPN 1 07-06-2016 03:27
AIS RADAR and findit plugin icon can not display in OpenCPN Version 3.1.814 xiurong OpenCPN 1 16-08-2012 11:05

Advertise Here


Copyright 2002- Social Knowledge, LLC All Rights Reserved.

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


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
×

ShowCase vBulletin Plugins by Drive Thru Online, Inc.