Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rating: Thread Rating: 5 votes, 4.80 average. Display Modes
Old 02-11-2014, 13:42   #631
Registered User

Join Date: Apr 2009
Location: Marina Del Rey
Boat: Hylas 44
Posts: 385
Re: OpenCPN Radar Overlay PlugIn

Here is a link that explains it.

How to change the network connection priority in Windows 7
__________________

__________________
ChuckSK is offline   Reply With Quote
Old 02-11-2014, 13:56   #632
Registered User

Join Date: Feb 2013
Location: Gothenburg, Sweden
Boat: Allegro 33
Posts: 173
Re: OpenCPN Radar Overlay PlugIn

Chuck

Thanks for your support.

Ok, so the Local Area Connection is on top.
Sorry, but there is no change in behaviour.

/Hans
__________________

__________________
hasse_A is offline   Reply With Quote
Old 02-11-2014, 17:43   #633
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,633
Re: OpenCPN Radar Overlay PlugIn

As ChuckSK suggested:
Can you determine the software version of your radar? Does it show when you turn it on?
__________________
rgleason is offline   Reply With Quote
Old 02-11-2014, 22:34   #634
Registered User

Join Date: Feb 2013
Location: Gothenburg, Sweden
Boat: Allegro 33
Posts: 173
Re: OpenCPN Radar Overlay PlugIn

rgleason

Hmmm. Well, I don't have any Garmin chart plotter so if it does not show up in the traffic and can be fetched with WireShark when the scanner is turned on, I don't know how to get that information. Of course, you would have to know what package to look for and how to interpret it.

Is there anyone out there that has got an xHD scanner working with OpenCPN ?

If not, is there a chance that OpenCPN in a near feature will be compatible with xHD ? Of course I will record and send any required data to the team. I might also purchase a Garmin chart plotter if that would help to understand the data traffic.

/Hans
__________________
hasse_A is offline   Reply With Quote
Old 03-11-2014, 03:18   #635
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,633
Re: OpenCPN Radar Overlay PlugIn

Hans, those were just ideas ChuckSK mentioned (software in the hardware). Haven't read this thread completely but have seen your first very complete post. about Garmin 18xHD radar under Win7 Opencpn 3.2.2 I'm don't have Gradar connected to aradar, because my radar is outdated & raymarine (23 yrs). Just lurking.
OpenCPN Radar Overlay PlugIn
__________________
rgleason is offline   Reply With Quote
Old 03-11-2014, 23:13   #636
Registered User

Join Date: Feb 2013
Location: Gothenburg, Sweden
Boat: Allegro 33
Posts: 173
Re: OpenCPN Radar Overlay PlugIn

Dave and/or Chuck or anyone that's got experience in debugging the gradar plugin!

I am considering setting up an environment so that I can debug the gradar plugin. I have successfully compiled the source code of OpenCPN which as I understand it is necessary to be able to debug the plugin.
I will without doubt need some guidance from one or two of you or anybody else that has been through the process.
Also, this thread might mot be the appropriate place for these discussions.
I have been looking around but can not find one where the ins and outs of compiling and debugging the source code for OpenCPN and the plugins. Can someone point to the right one? Maybe I should start a new one ?
/Hans
__________________
hasse_A is offline   Reply With Quote
Old 04-11-2014, 02:48   #637
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,645
Re: OpenCPN Radar Overlay PlugIn

Hej Hasse...
There are for the time being two plugins for two different radar scanners, the Garmin and the Navico(Lowrance, Simrad etc). Garmin is based on reverse engineering basically made by Dave, bdbcat, see the beginning of this tread. The Navico plugin, BR24radar_pi, is based on the Garmin plugin and reverse engineering from the paper mentioned in links here OpenCPN Radar Overlay PlugIn. Both plugins are later further developed. You know about the Gradar source and the BR24radar_pi source, now developed by Kees, is here: https://github.com/canboat/BR24radar_pi.
You seem to have a third scanner type and you may have to do the reverse engineering for that.
There's a tread for the Navico/Lowrance type, OpenCPN SIMRAD/LOWRANCE Radar Overlay PlugIn, so why not start a new one for your project and thereby check for interest from others?
How to build OCPN from source is well described in the wiki Developer Manual | Official OpenCPN Homepage and there are a number of posts here how to compile and debug a plugin against OCPN source.
I have a Navico BR24 radar scanner and are trying to help Kees and others as much as possible to test and discuss that plugin.
Good luck /Håkan
__________________
Hakan is offline   Reply With Quote
Old 04-11-2014, 07:23   #638
Registered User
 
NahanniV's Avatar

Join Date: Mar 2011
Location: On the Boat
Boat: Finnsailer 38
Posts: 1,026
Re: OpenCPN Radar Overlay PlugIn

Quote:
Originally Posted by hasse_A View Post
Dave and/or Chuck or anyone that's got experience in debugging the gradar plugin!

I am considering setting up an environment so that I can debug the gradar plugin. I have successfully compiled the source code of OpenCPN which as I understand it is necessary to be able to debug the plugin.
I will without doubt need some guidance from one or two of you or anybody else that has been through the process.
Also, this thread might mot be the appropriate place for these discussions.
I have been looking around but can not find one where the ins and outs of compiling and debugging the source code for OpenCPN and the plugins. Can someone point to the right one? Maybe I should start a new one ?
/Hans
I hope I have not sidetracked your investigation; I have not heard of anyone with a working XHD scanner, but that may not be the problem here.

I haven't programmed in a while and I don't know how to setup a debug environment, but looking through the code (https://github.com/bdbcat/gradar_pi/.../gradar_pi.cpp line::2678)I think that you should be seeing "gradar_pi: First Packet Rx" in the log, if you are receiving anything. The packet might subsequently be discarded without a warning if it is not understood, but you need to get to the point of the "First Packet" message.

Given that wireshark is showing packets that look correctly addressed, perhaps you have a network problem.

I am trying to decide which scanner to purchase, so am very interested in your success.

Cheers,
JM.
__________________
NahanniV is offline   Reply With Quote
Old 04-11-2014, 08:26   #639
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,493
Re: OpenCPN Radar Overlay PlugIn

hasse_A....

Maybe I missed it, but I did not see attached an actual wireshark capture file. If we can get a capture from startup of OCPN, with screenshots of O at the same time, we can see what's what.

Dave
__________________
bdbcat is offline   Reply With Quote
Old 04-11-2014, 08:33   #640
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,493
Re: OpenCPN Radar Overlay PlugIn

hasse_A...

Can you compile and debug OCPN in the VS2010 IDE? Step thru code, etc?

In shorthand....

The all you need to do for PlugIns in to build the PlugIn in debug mode, using similar methods. Put the built debug PlugIn in the correct directory. Figure this out from the logfile.

Start O in the debugger. In pluginmanager.cpp, you may find the place where the plugin gets initialized.

Code:
 pic->m_cap_flag = pic->m_pplugin->Init();
Put a breakpoint there. Step into the Plugin, and you will then have access to the plugin source, and can add breakpoints, steps, etc.

Good luck
Dave
__________________
bdbcat is offline   Reply With Quote
Old 04-11-2014, 08:38   #641
Registered User
 
NahanniV's Avatar

Join Date: Mar 2011
Location: On the Boat
Boat: Finnsailer 38
Posts: 1,026
Re: OpenCPN Radar Overlay PlugIn

Quote:
Originally Posted by bdbcat View Post
hasse_A....

Maybe I missed it, but I did not see attached an actual wireshark capture file. If we can get a capture from startup of OCPN, with screenshots of O at the same time, we can see what's what.

Dave
There was no capture file, but, you can see the wireshark window in the screenshot he posted:

__________________
NahanniV is offline   Reply With Quote
Old 04-11-2014, 08:56   #642
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,493
Re: OpenCPN Radar Overlay PlugIn

NahanniV...

I need the pcap file, so I can see the actual packet data stream.

Dave
__________________
bdbcat is offline   Reply With Quote
Old 04-11-2014, 09:46   #643
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,633
Re: OpenCPN Radar Overlay PlugIn

Hans wrote
Quote:
I am considering setting up an environment so that I can debug the gradar plugin. I have successfully compiled the source code of OpenCPN which as I understand it is necessary to be able to debug the plugin.
I will without doubt need some guidance from one or two of you or anybody else that has been through the process.
Also, this thread might mot be the appropriate place for these discussions.
I have been looking around but can not find one where the ins and outs of compiling and debugging the source code for OpenCPN and the plugins. Can someone point to the right one? Maybe I should start a new one ?
/Hans
You can set up your own thread appropriately labeled and interleave the process with posted "Summaries" which will help others. Here are several threads I and others created/used they might be helpful or not in setting up a development environment. Of course the opencpn.org website has an entire Development Manual that should be updated regularly as collective experience is gained.

Mostly for Windows Development Debugging Environment - Setup Help

Here is a post that is more specific
Development Debugging Environment - Setup Help

OpenCPN PlugIn Development

I've also been looking for a thread on Sean's Standalone Plugin System
which allows stand alone compiling and is how a number of the plugins are set up, but I can't find it right now. This was an idea started and initally implimented by someone, then Hakan revived it with bat files, and Sean then took it all the way with his plugins. It works great once most of the bugs are out because you just compile, get the bug results and shoot them back to the developer. If you want to run a debug plugin for testing you copy the debug files into the environment used for MSVC++ (windows). When I find that I will post. It is an very viable alternative compiling arrangement for plugins (very efficient setup).

Git Questions
__________________
rgleason is offline   Reply With Quote
Old 04-11-2014, 10:38   #644
Registered User

Join Date: Feb 2013
Location: Gothenburg, Sweden
Boat: Allegro 33
Posts: 173
Re: OpenCPN Radar Overlay PlugIn

Hi all!

pcap file attached.
The scanner seems to advertise itself as a GMR18/24XHD in packet nr 4.

Will be back later.

/Hans
Attached Files
File Type: pdf Garmin_xHD_start_with_button.pcap.pdf (8.7 KB, 57 views)
__________________
hasse_A is offline   Reply With Quote
Old 04-11-2014, 11:05   #645
Registered User

Join Date: Feb 2013
Location: Gothenburg, Sweden
Boat: Allegro 33
Posts: 173
Re: OpenCPN Radar Overlay PlugIn

Quote:
Originally Posted by bdbcat View Post
hasse_A...
Can you compile and debug OCPN in the VS2010 IDE? Step thru code, etc?
Dave
I have not yet gotten that far. Yesterday I managed to set up VS2010 IDE and compile OpenCPN without errors. I have not yet been able to run the .exe. Some files need to be copied according to the instructions.

/Hans
__________________

__________________
hasse_A is offline   Reply With Quote
Reply

Tags
opencpn, paracelle, radar

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
OpenCpn for Navigation gpshephe Marine Electronics 10 30-12-2013 10:33
What Do You Think of Selling OpenCPN? esan6 OpenCPN 25 23-10-2013 09:35
Help with OpenCPN Sailorman375 Navigation 3 11-08-2013 21:58
For Sale: Radar Mount sailorman14 Classifieds Archive 5 23-04-2012 21:50
OpenCPN Version 2.6 Beta Build 1524 bdbcat OpenCPN 115 09-04-2012 12:10


Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities


Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 01:27.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.