Cruisers Forum
 


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 14-04-2015, 15:26   #1
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,842
Images: 2
RotationCtrl Plugin

I am trying to compile Sean's new RotationCtrl plugin which seems to still have some errors when compiling with current v4.1 of opencpn.lib.

This plugin is a reasonable solution to issues we were having with the options interface during the final hours of issuing version 4.0.

Bdcat resolved the issues by removing the option of rotating charts, which was a reasonable call at the time given that feature was not a high priority for many users.

However I believe it is a feature that could be very useful for some, provided it did does not confuse new users and logjam development.

To that end, Sean has made a RotationCtrl Plugin which was paired with an Opencpn pull request.

I have not been able to find Sean's pull request on github.com in either Sean's pull requests or under outstanding Opencpn repository pull requests (still learning). This leads me to believe that the pull request was merged but I have not found it yet.

1. Has Sean's pull request been merged with the current 4.1 Opencpn?
2. If so, I am getting this error when I compile rotationctrl with the current v4.1 opencpn.lib.

--It is possible I have overlooked something.

Code:
Build FAILED.

"C:\Data-Dart\Up-Soft\Navigation\o-plugin\rotationctrl_pi\build\ALL_BUILD.vcxproj" (default target) (1) ->
"C:\Data-Dart\Up-Soft\Navigation\o-plugin\rotationctrl_pi\build\rotationctrl_pi.vcxproj" (default target) (3) ->
(Link target) ->
  rotationctrl_pi.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall opencpn_plugin_113::OnToolbarToolDownCallback(int)" (?OnToolbarToolDownCallback@opencpn_plugin_113@@UAEXH@Z) [C:\Data-Dart\Up-Soft\Navigation\o-plugin\rotationctrl_pi\build\rotationctrl_pi.vcxproj]
  PreferencesDialog.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall opencpn_plugin_113::OnToolbarToolDownCallback(int)" (?OnToolbarToolDownCallback@opencpn_plugin_113@@UAEXH@Z) [C:\Data-Dart\Up-Soft\Navigation\o-plugin\rotationctrl_pi\build\rotationctrl_pi.vcxproj]
  rotationctrl_pi.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall opencpn_plugin_113::OnToolbarToolUpCallback(int)" (?OnToolbar
ToolUpCallback@opencpn_plugin_113@@UAEXH@Z) [C:\Data-Dart\Up-Soft\Navigation\o-plugin\rotationctrl_pi\build\rotationctrl_pi.vcxproj]
  PreferencesDialog.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall opencpn_plugin_113::OnToolbarToolUpCallback(int)" (?OnToolb
arToolUpCallback@opencpn_plugin_113@@UAEXH@Z) [C:\Data-Dart\Up-Soft\Navigation\o-plugin\rotationctrl_pi\build\rotationctrl_pi.vcxproj]
  rotationctrl_pi.obj : error LNK2019: unresolved external symbol "void __cdeclSetCanvasRotation(double)" (?SetCanvasRotation@@YAXN@Z) referenced in function "
public: virtual void __thiscall rotationctrl_pi::OnToolbarToolCallback(int)" (?OnToolbarToolCallback@rotationctrl_pi@@UAEXH@Z) [C:\Data-Dart\Up-Soft\Navigation\o-plugin\rotationctrl_pi\build\rotationctrl_pi.vcxproj]
  rotationctrl_pi.obj : error LNK2019: unresolved external symbol "bool__cdeclGetSingleWaypoint(class wxString &,class PlugIn_Waypoint *)" (?GetSingleWaypoint@@YA_NAAVwxString@@PAVPlugIn_Waypoint@@@Z) referenced in function "public: void__thiscall rotationctrl_pi::OnTimer(class wxTimerEvent &)" (?OnTimer@rotationctrl_pi@@QAEXAAVwxTimerEvent@@@Z) [C:\Data-Dart\Up-Soft\Navigation\o-plugin\rotationctrl_pi\build\rotationctrl_pi.vcxproj]
  C:\Data-Dart\Up-Soft\Navigation\o-plugin\rotationctrl_pi\build\Debug\rotationctrl_pi.dll : fatal error LNK1120: 4 unresolved externals [C:\Data-Dart\Up-Soft\Navigation\o-plugin\rotationctrl_pi\build\rotationctrl_pi.vcxproj]

    0 Warning(s)
    7 Error(s)
========

PS:
I just found Sean's pull request for Plugin API 1.13 here
https://github.com/OpenCPN/OpenCPN/pull/242
initial functions for plugin api 1.13 #242


I guess it has not been merged yet.

Correction: Sean closed the pull request, and it appears to have been "commited".

Does anyone have any suggestion to compile this?
rgleason is online now   Reply With Quote
Old 18-04-2015, 06:12   #2
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,442
Re: RotationCtrl Plugin

I had to rebase because of more changes.. basically pull requests go stale once changes get commited that conflict with them before they are merged.

https://github.com/OpenCPN/OpenCPN/pull/264

Otherwise you could just pull my opencpn repository and use that to test this plugin.

https://github.com/seandepagnier/OpenCPN
seandepagnier is offline   Reply With Quote
Old 26-04-2018, 08:21   #3
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,842
Images: 2
Re: RotationCtrl Plugin

The RotationCtrl_pi plugin has been updated again to improve heading.

https://github.com/rgleason/rotation...s/tag/v0.2.002
rgleason is online now   Reply With Quote
Old 31-01-2019, 06:46   #4
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,842
Images: 2
Re: RotationCtrl Plugin

Rotation Control improved by Sean to include Wind heading
https://github.com/rgleason/rotation...g/v0.4.000beta
rgleason is online now   Reply With Quote
Old 08-01-2020, 07:37   #5
Registered User

Join Date: Jan 2018
Location: Belgium
Boat: Raider 18 Cuddy
Posts: 68
Re: RotationCtrl Plugin

This plugin is not working in O5, no multiple canvas support.
Plugin icon is also not displayed correct.
I use it to stabelize the charts (and maybe later radar) to HDG
So if the boat is drifting for fishing, charts with waypoints don't turn around crazy.
But O5 only rotate's charts to COG.

Feature request for OpenCPN 5.x, add a 3the choice, North up, Course up, and Vessel Heading up please
Ben S is offline   Reply With Quote
Old 08-01-2020, 14:23   #6
Registered User

Join Date: Jan 2011
Location: France/UK
Boat: Gib'Sea 402
Posts: 549
Re: RotationCtrl Plugin

Quote:
Originally Posted by Ben S View Post
...

Feature request for OpenCPN 5.x, add a 3the choice, North up, Course up, and Vessel Heading up please
This has been discussed before - I can't find where. I seem to recall that Dave bdbcat has said it can't be done, though it seems a very useful feature even if you're not drifting about fishing. Heading up if heading is available, else course up if it's not
hoolie is offline   Reply With Quote
Old 08-01-2020, 23:35   #7
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,844
Re: RotationCtrl Plugin

There is one more "waterway axis up". Particularly interesting for Inland waterways.
bcn is offline   Reply With Quote
Old 09-01-2020, 04:58   #8
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,842
Images: 2
Re: RotationCtrl Plugin

Nice idea. Sean made a merge of PR on Pypilot 8 days ago. Try raising him on pypilot?
rgleason is online now   Reply With Quote
Old 09-01-2020, 09:07   #9
Registered User

Join Date: Jan 2018
Location: Belgium
Boat: Raider 18 Cuddy
Posts: 68
Re: RotationCtrl Plugin

Quote:
Originally Posted by hoolie View Post
This has been discussed before - I can't find where. I seem to recall that Dave bdbcat has said it can't be done, though it seems a very useful feature even if you're not drifting about fishing. Heading up if heading is available, else course up if it's not
In OpenCPN 4.8.x HDG up works perfect with rotation plugin.
So i think it is not so difficult to implement in O5

In a few months i go fishing in Denmark
Going to install version 4.8.8 on the boat so this works again with te plugin.
Ben S is offline   Reply With Quote
Old 09-01-2020, 17:04   #10
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,570
Re: RotationCtrl Plugin

May we please have these issues entered in Flyspray bug tracker as Feature Requests, (or bugs if appropriate) so that they may not be forgotten?


Thanks
Dave
bdbcat is online now   Reply With Quote
Old 09-01-2020, 19:36   #11
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,442
Re: RotationCtrl Plugin

I just tried the plugin and it seems to work, but only for the first canvas.
seandepagnier is offline   Reply With Quote
Old 10-01-2020, 10:51   #12
Registered User

Join Date: Jan 2018
Location: Belgium
Boat: Raider 18 Cuddy
Posts: 68
Re: RotationCtrl Plugin

Quote:
Originally Posted by bdbcat View Post
May we please have these issues entered in Flyspray bug tracker as Feature Requests, (or bugs if appropriate) so that they may not be forgotten?


Thanks
Dave
Can someone please enter this in flyspray
I cannot make an account

Code:
Completely unexpected exception: Failed to authenticate on SMTP server with username "opencpn@bigdumboat.com" using 2 possible authenticators
This should never happend, please inform Flyspray Developers
Ben S is offline   Reply With Quote
Old 11-01-2020, 14:17   #13
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,842
Images: 2
Re: RotationCtrl Plugin

Bens. Why cant you make an account? Registration should work.
rgleason is online now   Reply With Quote
Old 12-01-2020, 05:16   #14
Registered User

Join Date: Jan 2018
Location: Belgium
Boat: Raider 18 Cuddy
Posts: 68
Re: RotationCtrl Plugin

Quote:
Originally Posted by rgleason View Post
Bens. Why cant you make an account? Registration should work.
No, i always get "Completely unexpected exception" if i click to transmit the code.
Ben S is offline   Reply With Quote
Old 12-01-2020, 09:14   #15
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,842
Images: 2
Re: RotationCtrl Plugin

Dave, Maybe registration needs some kind of attention?
rgleason is online now   Reply With Quote
Reply

Tags
plug, rot

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
Plugin: DashBoard SethDart OpenCPN 650 12-08-2024 10:19
OpenCPN PlugIn Development bdbcat OpenCPN 161 04-09-2019 12:50
BSB 4 PlugIn bdbcat OpenCPN 98 25-04-2018 18:46
New History Plugin for OpenCPN seandepagnier OpenCPN 11 04-10-2010 14:11
Writing Plugin for nv.digital Map Format ? Netsurfer OpenCPN 7 17-08-2010 16:09

Advertise Here


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


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.