Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 07-09-2017, 12:02   #1
Registered User

Join Date: Jan 2010
Location: Harlingen, NL
Boat: KMY Stadtship 56
Posts: 199
Navico radar plugin v3.0 beta3 (v3.907) released

Dear radar users,

The Navico radar plugin team is happy to announce that we've wrapped up the development of v3.0, and the final beta is here.

See https://github.com/canboat/BR24radar...tag/v3.0-beta3 for the downloads for Microsoft Windows and macOS.

Since the last beta we've done some polish and a minor feature: you can now set the offset of the radar antenna relative to where your GPS antenna is on the boat; this is used to improve the chart overlay. Obviously this only helps with short ranges such as 50m.

This is the final beta, and unless we find any damning bugs the only anticipated change for the production release is to add more translations.
__________________

__________________
merrimac is offline   Reply With Quote
Old 07-09-2017, 12:10   #2
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,931
Re: Navico radar plugin v3.0 beta3 (v3.907) released

And as already mentioned in another thread is Crowdin updated with the corresponding POT file and awaiting your kind translations for the final release.
Thanks for your help.
Håkan
__________________

__________________
Hakan is offline   Reply With Quote
Old 07-09-2017, 16:42   #3
Registered User
 
NahanniV's Avatar

Join Date: Mar 2011
Location: On the Boat
Boat: Finnsailer 38
Posts: 1,092
Teething troubles ?

Perhaps I am doing something wrong ?

OpenCPN 4.8.0
BR24 Beta 3

Radar Overlay on.
Set range to manual 50M
Set GPS offset, works well.
Start Radar Window

Can not get info on AIS targets in Radar Window ? Perhaps feature request ?

Targets are not correct on radar window?
OpenCPN in Course up Mode.

Close OpenCPN
restart and OpenCPN crashes ?
Attached Thumbnails
Click image for larger version

Name:	radar.jpg
Views:	26
Size:	246.9 KB
ID:	155627  
__________________
Cheers,
JM
nahannivatsea.blogspot.ca
NahanniV is offline   Reply With Quote
Old 07-09-2017, 18:11   #4
Registered User
 
NahanniV's Avatar

Join Date: Mar 2011
Location: On the Boat
Boat: Finnsailer 38
Posts: 1,092
Re: Navico radar plugin v3.0 beta3 (v3.907) released

I can not seem to reproduce the problem where the AIS targets are drawn in the wrong spot. Now the Radar window always shows "Stabilized".
The only thing I can think of is that I spent a bit of time looking at the plugin preferences in configuration.

The crash is quite repeatable:
If I shut down OpenCPN with the RADAR on, then when I restart OpenCPN it crashes.

Win10 Home 1607
__________________
Cheers,
JM
nahannivatsea.blogspot.ca
NahanniV is offline   Reply With Quote
Old 07-09-2017, 22:52   #5
Registered User

Join Date: Jan 2010
Location: Harlingen, NL
Boat: KMY Stadtship 56
Posts: 199
Re: Navico radar plugin v3.0 beta3 (v3.907) released

The picture shows the radar was in non stabilized head up mode. In that mode it should not draw AIS targets at all. Once you select a heading mode it should not allow you to choose this mode since you have a compass.

This is probably because you had it installed before and had head up mode selected, with compass this is now replaced with head up stabilized. We haven't tested upgrades enough, small bug.
__________________
merrimac is offline   Reply With Quote
Old 07-09-2017, 22:55   #6
Registered User

Join Date: Jan 2010
Location: Harlingen, NL
Boat: KMY Stadtship 56
Posts: 199
Re: Navico radar plugin v3.0 beta3 (v3.907) released

As to the crash on start, can you create an issue on github and upload a log file with Verbose set to 63?
__________________
merrimac is offline   Reply With Quote
Old 08-09-2017, 05:13   #7
Registered User
 
NahanniV's Avatar

Join Date: Mar 2011
Location: On the Boat
Boat: Finnsailer 38
Posts: 1,092
Re: Navico radar plugin v3.0 beta3 (v3.907) released

Moved to Github
__________________
Cheers,
JM
nahannivatsea.blogspot.ca
NahanniV is offline   Reply With Quote
Old 11-09-2017, 07:56   #8
Registered User

Join Date: Jan 2010
Location: Harlingen, NL
Boat: KMY Stadtship 56
Posts: 199
Re: Navico radar plugin v3.0 beta3 (v3.907) released

Latest results show that @NahanniV is now up and running with a new test version.

We'll need 2 more translation strings as an outcome -- the display of AIS/ARPA targets on the PPI window is now optional. It's a good option to have, as the AIS display can get a little too much if your PPI window is small compared to the main chart display as you can see in the attached file!

If we have no further issues the production release should be available in a few days. We do urge everyone to test the latest beta 4 (v3.911) at

https://github.com/canboat/BR24radar_pi/releases/tag/v3.0-beta4


The experience with NahanniV shows that the fact that something works for the 3 developers is not a guarantee that it works for everybody, so PLEASE if you run the radar plugin help us to TEST it! Otherwise if the production version does not work for you it may take us a while to fix it for you, as we want to work on the next version
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2017-09-10 at 17.39.30.png
Views:	28
Size:	192.1 KB
ID:	155839  
__________________
merrimac is offline   Reply With Quote
Old 11-09-2017, 08:54   #9
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,931
Re: Navico radar plugin v3.0 beta3 (v3.907) released

Quote:
Originally Posted by merrimac View Post
......
We'll need 2 more translation strings as an outcome -- the display of AIS/ARPA targets on the PPI window is now optional. I.....
Crowdin's updated.
Håkan
__________________
Hakan is offline   Reply With Quote
Old 11-09-2017, 12:49   #10
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,279
Re: Navico radar plugin v3.0 beta3 (v3.907) released

Quote:
Originally Posted by Hakan View Post
Crowdin's updated.
Håkan
French : Done
__________________
Gilletarom is offline   Reply With Quote
Old 21-09-2017, 06:13   #11
Registered User

Join Date: Aug 2017
Posts: 10
Re: Navico radar plugin v3.0 beta3 (v3.907) released

Hi!

I've been trying to compile the Navico Radar plugin using MS Visual Studio Community 2013 in DEBUG mode. I get to compile it without any error or warning.

But when I copy the dll and the other files from the debug folder to the OpenCPN plugins folder, and run OpenCPN, I get the following error:


When I compile it in RELEASE mode, everything works just fine!

I am using the latest versions of both Open CPN (4.8.0) and the plugin (3.911).

I need DEBUG mode, because I need to modify the plugin and I need to be able to debug my modifications.

Any pointers?

Thanks!
__________________
eduardopeloso is offline   Reply With Quote
Old 21-09-2017, 08:18   #12
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,987
Re: Navico radar plugin v3.0 beta3 (v3.907) released

Those asserts are sometimes a nuisance. Hit cancel.
__________________
rgleason is offline   Reply With Quote
Old 21-09-2017, 09:01   #13
Registered User

Join Date: Aug 2017
Posts: 10
Re: Navico radar plugin v3.0 beta3 (v3.907) released

Before the assert window is opened, this one appears:


Then, after I hit "Cancel" in the assert window, the "Unknown image data format" window keeps opening many times in a row, until OpenCPN finally abends...
__________________
eduardopeloso is offline   Reply With Quote
Old 21-09-2017, 12:03   #14
Registered User

Join Date: Aug 2017
Posts: 10
Re: Navico radar plugin v3.0 beta3 (v3.907) released

Quote:
Originally Posted by rgleason View Post
Those asserts are sometimes a nuisance. Hit cancel.
When I run OpenCPN, the first error window that is opened is like this:


Then, when I hit "OK", I get the assert error:


If I hit "Cancel", I get the first window (the one that says "Warning: Unknown image data format") multiple times, until OpenCPN finally abends...
__________________
eduardopeloso is offline   Reply With Quote
Old 21-09-2017, 12:30   #15
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,931
Re: Navico radar plugin v3.0 beta3 (v3.907) released

eduardo....
You can't use a debug dll in runtime use, for that you need a release dll as you've experienced.
To debug in VS2013 and break in a plugin you need to run ocpn in debug mode from VS and have the plugin built inbound like for example Dashboard. And the plugin dll must be found by the core program, so you've to adjust pluginmanager to find it, see below.
You also need to first compile for debug. Then copy the plugin dll to the place where you set pluginmanager to find it and then run in debug mode. This dll copy you have to do every time you change the plugin code.

Adjust pluginmamanger.
I make it this way: (Since I'm a bit lacy I let pluginmanager take care of the dll copying.)
Code:
bool PlugInManager::LoadAllPlugIns(const wxString &plugin_dir, bool load_enabled, bool b_enable_blackdialog)
{
    pConfig->SetPath( _T("/PlugIns/") );
    SetPluginOrder( pConfig->Read( _T("PluginOrder"), wxEmptyString ) );
    
    //  Enable the compatibility dialogs if requested, and has not been already done once.
    m_benable_blackdialog = b_enable_blackdialog && !m_benable_blackdialog_done;
   
    #if _DEBUG    //Has for debug use
#ifdef __WXMSW__
    bool x;
    wxString f, volume, path, name, ext, mess;
    wxString destf, Dest = _T("C:\\Builds\\OCPN\\OpenCPN\\build\\plugins\\Debug_pi\\");

    f = wxFindFirstFile(_T("C:\\Builds\\OCPN\\OpenCPN\\build\\plugins\\dashboard_pi\\Debug\\*.*"), wxFILE);
        while (!f.empty())
        {
            wxFileName::SplitPath(f, &volume, &path, &name, &ext);
            destf = Dest;
            destf << name << _T(".") << ext;
            x = wxCopyFile(f, destf, true);
            f = wxFindNextFile();
        }
        mess = name;

    f = wxFindFirstFile(_T("C:\\Builds\\OCPN\\OpenCPN\\build\\plugins\\wmm_pi\\Debug\\*.*"), wxFILE);
        while (!f.empty())
        {
            wxFileName::SplitPath(f, &volume, &path, &name, &ext);
            destf = Dest;
            destf << name << _T(".") << ext;
            x = wxCopyFile(f, destf, true);
            f = wxFindNextFile();
        }
        mess << _T(" and ") << name;
        //x = wxCopyFile(_T("C:\\Builds\\OCPN\\OpenCPN\\build\\plugins\\BR24radar_pi\\Debug\\br24radar_pi.dll"),
        //  _T("C:\\Builds\\OCPN\\OpenCPN\\build\\plugins\\Debug_pi\\br24radar_pi.dll"), true);
        if (0) { // Set 1 for BR24
            f = wxFindFirstFile(_T("C:\\Builds\\OCPN\\OpenCPN\\build\\plugins\\BR24radar_pi\\Debug\\*.*"), wxFILE);
            while (!f.empty())
            {
                wxFileName::SplitPath(f, &volume, &path, &name, &ext);
                destf = Dest;
                destf << name << _T(".") << ext;
                x = wxCopyFile(f, destf, true);
                f = wxFindNextFile();
            }
            mess << _T(" and ") << name;
        }
        mess << _T(" copied to ") << Dest;
        //wxMessageBox(mess, _T("Debug - Plugin info"));  

    m_plugin_location = _T("C:\\Builds\\OCPN\\OpenCPN\\build\\plugins\\Debug_pi\\");
#endif
    #else
        m_plugin_location = plugin_dir;
    #endif

    wxString msg(_T("PlugInManager searching for PlugIns in location "));
    msg += m_plugin_location;
    wxLogMessage(msg);
As you can see is BR24radar_pi not included for the moment. I've to uncomment corresponding lines.

The base line is:
Code:
m_plugin_location = _T("C:\\Builds\\OCPN\\OpenCPN\\build\\plugins\\Debug_pi\\");
If you like to copy dll files yourself this is all you need.

Please read the wiki as well: https://opencpn.org/wiki/dokuwiki/do...ugins_to_debug

Good luck
Håkan
__________________

__________________
Hakan is offline   Reply With Quote
Reply

Tags
lease, navico, plug, 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
Navico Radar plugin beta 3.816 released merrimac OpenCPN 21 09-09-2017 03:26
Navico radar plugin v2.0 released merrimac OpenCPN 168 04-08-2017 04:03
Campingaz 907 bottle mlibkind Plumbing Systems and Fixtures 6 28-06-2017 17:18
BR24 radar plugin Beta 2.515 released merrimac OpenCPN 14 08-08-2016 15:43
Garmin Radar PlugIn Version 1.4 Released bdbcat OpenCPN 8 20-06-2014 17:03



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 11:09.


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.