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 20-11-2015, 12:55   #226
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,634
Images: 2
Re: Sean Depagnier's Plugins

Sean,
Sorry, they still did not compile with most current git fetch opencpn.lib
Implement mag variation calculation at object location if WMM is avai…
atest commit 5a4dcad 17 hours
Still don't compile.

Sound isssue:
1. 1bell.wav does not work either.
2. What other plugin or O feature uses sound? -I can certainly try testing that.
3. Older Version 4.0 Watchdog with older menu does work.

Projections_pi (that helps thanks!)
1. Requires Opengl to be ON..
2. When plugin is enabled , right click and select from the context menu the projection to use. The original chart type is converted to display in whatever projection is set.

-Sean, What does "Polyconic" mean and how does it relate to the actual selections available? Are the selections a subset of "Polyconic" types?

sweepplot_pi most current opencpn.lib (today)


Quote:
Build FAILED.

"C:\Users\Rick\Documents\GitHub\o-plugin\s-sweepplot_pi\build\ALL_BUILD.vcxproj" (default target) (
1) ->
"C:\Users\Rick\Documents\GitHub\o-plugin\s-sweepplot_pi\build\sweepplot_pi.vcxproj" (default target
) (3) ->
(ClCompile target) ->
C:\Users\Rick\Documents\GitHub\o-plugin\s-sweepplot_pi\src\wxJSON\jsonval.cpp(965): error C2308: concatenating mismatched strings
[C:\Users\Rick\Documents\GitHub\o-plugin\s-sweepplot_pi\build\sweepplot_pi.vcxproj]
C:\Users\Rick\Documents\GitHub\o-plugin\s-sweepplot_pi\src\wxJSON\jsonval.cpp(973): error C2308: concatenating mismatched strings
[C:\Users\Rick\Documents\GitHub\o-plugin\s-sweepplot_pi\build\sweepplot_pi.vcxproj]
0 Warning(s)
2 Error(s)
Same with rotationctrl_pi

Quote:
Build FAILED.
"C:\Users\Rick\Documents\GitHub\o-plugin\s-rotationctrl_pi\build\ALL_BUILD.vcxproj" (default target
) (1) ->
"C:\Users\Rick\Documents\GitHub\o-plugin\s-rotationctrl_pi\build\rotationctrl_pi.vcxproj" (default
target) (3) ->
"C:\Users\Rick\Documents\GitHub\o-plugin\s-rotationctrl_pi\build\rotationctrl-i18n.vcxproj" (defaul
t target) (4) ->
(PrepareForBuild target) ->
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cp pBuild.targets(388,5): warning
MSB8028: The intermediate directory (Win32\release\rotationctrl-i18n\) contains files shared from
another project (rotationctrl-i18n.vcxproj). This can lead to incorrect clean and rebuild behavior
. [C:\Users\Rick\Documents\GitHub\o-plugin\s-rotationctrl_pi\build\rotationctrl-i18n.vcxproj]


"C:\Users\Rick\Documents\GitHub\o-plugin\s-rotationctrl_pi\build\ALL_BUILD.vcxproj" (default target
) (1) ->
"C:\Users\Rick\Documents\GitHub\o-plugin\s-rotationctrl_pi\build\rotationctrl_pi.vcxproj" (default
target) (3) ->
(Link target) ->
rotationctrl_pi.obj : error LNK2019: unresolved external symbol "bool __cdecl GetSingleWaypoint(c
lass wxString &,class PlugIn_Waypoint *)" (?GetSingleWaypoint@@YA_NAAVwxString@@PAVPlugIn_Wa ypoint@
@@Z) referenced in function "public: void __thiscall rotationctrl_pi::OnTimer(class wxTimerEvent &)
" (?OnTimer@rotationctrl_pi@@QAEXAAVwxTimerEvent@@@Z ) [C:\Users\Rick\Documents\GitHub\o-plugin\s-ro
tationctrl_pi\build\rotationctrl_pi.vcxproj]
C:\Users\Rick\Documents\GitHub\o-plugin\s-rotationctrl_pi\build\Release\rotationctrl_pi.dll : fat
al error LNK1120: 1 unresolved externals [C:\Users\Rick\Documents\GitHub\o-plugin\s-rotationctrl_pi
\build\rotationctrl_pi.vcxproj]

1 Warning(s)
2 Error(s)
rgleason is offline   Reply With Quote
Old 20-11-2015, 13:03   #227
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,634
Images: 2
Re: Sean Depagnier's Plugins

Chartscale - deleted and reinatalled. The slider came up fine. -Not a problem.
rgleason is offline   Reply With Quote
Old 20-11-2015, 17:47   #228
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,634
Images: 2
Re: Sean Depagnier's Plugins

To try this with OpenCPN v4.1.1108
Opencpn Beta File Thingie rguser, rgpass
look for 4.1.1108 PI Win directory

chartscale_pi-0.1-ov4.1.1108-win32
projections_pi-0.1-ov4.1.1108-win32

Chartscale_pi
Chart scale slider

Projections_pi
1. Requires Opengl to be ON..
2. When plugin is enabled , right click and select from the context menu the projection to use. The original chart type is converted to display in whatever projection is set.
rgleason is offline   Reply With Quote
Old 20-11-2015, 23:03   #229
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: Sean Depagnier's Plugins

Rick,

I believe the build errors are fixed.
seandepagnier is offline   Reply With Quote
Old 21-11-2015, 02:40   #230
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,634
Images: 2
Re: Sean Depagnier's Plugins

Will give them a try. Thanks Sean
rgleason is offline   Reply With Quote
Old 21-11-2015, 03:47   #231
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,634
Images: 2
Re: Sean Depagnier's Plugins

They both compile without errors. Will try them out and upload. Thank you Sean.

Rotation had these warnings.
Quote:
Build succeeded.
"C:\Users\Rick\Documents\GitHub\o-plugin\s-rotationctrl_pi\build\ALL_BUILD.vcxproj" (default target) (1) ->
"C:\Users\Rick\Documents\GitHub\o-plugin\s-rotationctrl_pi\build\rotationctrl_pi.vcxproj" (default target) (3) ->
"C:\Users\Rick\Documents\GitHub\o-plugin\s-rotationctrl_pi\build\rotationctrl-i18n.vcxproj" (default target) (4) ->
(PrepareForBuild target) ->
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cp pBuild.targets(388,5): warning
MSB8028: The intermediate directory (Win32\release\rotationctrl-i18n\) contains files shared from another project (rotationctrl-i18n.vcxproj). This can lead to incorrect clean and rebuild behavior. [C:\Users\Rick\Documents\GitHub\o-plugin\s-rotationctrl_pi\build\rotationctrl-i18n.vcxproj]

"C:\Users\Rick\Documents\GitHub\o-plugin\s-rotationctrl_pi\build\ALL_BUILD.vcxproj" (default target) (1) ->
"C:\Users\Rick\Documents\GitHub\o-plugin\s-rotationctrl_pi\build\rotationctrl_pi.vcxproj" (defaulttarget) (3) ->(ClCompile target) ->
C:\Users\Rick\Documents\GitHub\o-plugin\s-rotationctrl_pi\src\PreferencesDialog.cpp(36): warning C4800: 'long' : forcing value to bool 'true' or 'false' (performance warning) [C:\Users\Rick\Documents\GitHub\o-plugin\s-rotationctrl_pi\build\rotationctrl_pi.vcxproj] C:\Users\Rick\Documents\GitHub\o-plugin\s-rotationctrl_pi\src\PreferencesDialog.cpp(37): warning C4800: 'long' : forcing value to bool 'true' or 'false' (performance warning) [C:\Users\Rick\Documents\GitHub\o-plugin\s-rotationctrl_pi\build\rotationctrl_pi.vcxproj]
ETC......
21 Warning(s)
0 Error(s)
rgleason is offline   Reply With Quote
Old 21-11-2015, 05:21   #232
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,634
Images: 2
Re: Sean Depagnier's Plugins

Sean, I recompiled both Watchdog and Ocpn_Draw this morning with fresh git and yesterday's opencpn.lib and have tried the boundary inclusion alarms. The Guid seems to be working but the alarm is reversed and the sound does not seem to work either.

Also we need some help/suggestions about getting the lines drawn for boundaries when they are hatched too. The boundary lines are overwritten or something... any ideas.

Please see this for examples. 3-4 posts.
http://www.cruisersforum.com/forums/...ml#post1967617

Thank you!
rgleason is offline   Reply With Quote
Old 21-11-2015, 19:34   #233
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,634
Images: 2
Re: Sean Depagnier's Plugins

Recompiled
To try this with Opencpn v4.1.1108
Opencpn Beta File Thingie rguser, rgpass
look for 4.1.1108 PI Win directory
chartscale_pi-0.2-ov4.1.1108-win32
Now has a last button.

Perhaps it could be a backup button with 2 stages?

also
chartscale_pi-0.2-ov4.1.1108-win32
sweepplot_pi-0.9-ov4,1,1108-win32
rotationctrl_pi-0.1-ov4.1.1108-win32
projections_pi-0.1-ov4.1.1108-win32

They are all working.

Sean, I could not take a screenshot with the sweepplot screen in it. Why?
Is there a way to allow that to happen?
rgleason is offline   Reply With Quote
Old 21-11-2015, 20:11   #234
Registered User
 
NahanniV's Avatar

Join Date: Mar 2011
Location: Nova Scotia Canada
Boat: Wharram Tiki 46
Posts: 1,321
Re: Sean Depagnier's Plugins

Code:
11:04:11 PM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN\plugins\rotationctrl_pi.dll
11:04:11 PM: Error: Failed to load shared library 'C:\Program Files (x86)\OpenCPN\plugins\rotationctrl_pi.dll' (error 127: the specified procedure could not be found.)
11:04:11 PM:    PlugInManager: Cannot load library: C:\Program Files (x86)\OpenCPN\plugins\rotationctrl_pi.dll
?
NahanniV is offline   Reply With Quote
Old 21-11-2015, 22:04   #235
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: Sean Depagnier's Plugins

Quote:
Originally Posted by rgleason View Post
Sean,
Sorry, they still did not compile with most current git fetch opencpn.lib
Implement mag variation calculation at object location if WMM is avai…
atest commit 5a4dcad 17 hours
Still don't compile.

Sound isssue:
1. 1bell.wav does not work either.
2. What other plugin or O feature uses sound? -I can certainly try testing that.
3. Older Version 4.0 Watchdog with older menu does work.

Same with rotationctrl_pi
What about older watchdog with latest opencpn? The inbuilt anchor alarm to opencpn should use sound as well as the ships bells (when the hour changes)

Maybe the problem is when I added support to set the sound device index it broke sound, so I need to investigate it.


Quote:
Originally Posted by NahanniV View Post
Code:
11:04:11 PM: PlugInManager: Loading  PlugIn: C:\Program Files (x86)\OpenCPN\plugins\rotationctrl_pi.dll
11:04:11 PM: Error: Failed to load shared library 'C:\Program Files  (x86)\OpenCPN\plugins\rotationctrl_pi.dll' (error 127: the specified  procedure could not be found.)
11:04:11 PM:    PlugInManager: Cannot load library: C:\Program Files (x86)\OpenCPN\plugins\rotationctrl_pi.dll
?
I think you must be using the latest opencpn from git.


Quote:
Originally Posted by rgleason View Post
Recompiled
To try this with Opencpn v4.1.1108
Opencpn Beta File Thingie rguser, rgpass
look for 4.1.1108 PI Win directory
chartscale_pi-0.2-ov4.1.1108-win32
Now has a last button.

Perhaps it could be a backup button with 2 stages?
Why and how?
Quote:
also
chartscale_pi-0.2-ov4.1.1108-win32
sweepplot_pi-0.9-ov4,1,1108-win32
rotationctrl_pi-0.1-ov4.1.1108-win32
projections_pi-0.1-ov4.1.1108-win32

They are all working.

Sean, I could not take a screenshot with the sweepplot screen in it. Why?
Is there a way to allow that to happen?
Yes
Attached Thumbnails
Click image for larger version

Name:	fast.png
Views:	174
Size:	217.7 KB
ID:	113492  
seandepagnier is offline   Reply With Quote
Old 21-11-2015, 23:21   #236
Registered User
 
NahanniV's Avatar

Join Date: Mar 2011
Location: Nova Scotia Canada
Boat: Wharram Tiki 46
Posts: 1,321
Re: Sean Depagnier's Plugins

Quote:
Originally Posted by boat_alexandra View Post
I think you must be using the latest opencpn from git.
No that was the official Beta. On Win7.

Cheers,
JM.
NahanniV is offline   Reply With Quote
Old 22-11-2015, 03:45   #237
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,634
Images: 2
Re: Sean Depagnier's Plugins

Nice. Did you do that in linux? The popup menu is not included in winbroke.
rgleason is offline   Reply With Quote
Old 24-11-2015, 07:57   #238
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,150
Re: Sean Depagnier's Plugins

Hi
On Windows, todays fetch of Watchman_pi.
-The Deadman is not alarming nor sounding when trigging point is reached, it just continue counting. I used 1.0 minutes for a trap.
-There's a "Test" button in the "Edit" form. Nothing happens on a click. What is it supposed to do?
Thanks
Håkan
Hakan is offline   Reply With Quote
Old 24-11-2015, 09:59   #239
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: Sean Depagnier's Plugins

Hakan,

You must have one of the alarm actions checked for the alarm or test button to do anything. Does the text turn red?

Sean
seandepagnier is offline   Reply With Quote
Old 24-11-2015, 10:21   #240
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,634
Images: 2
Re: Sean Depagnier's Plugins

In testing Ocpn_Draw + Watchdog Alarms
As Hakan says, the Deadman alarm does not seem to work, it does not alarm after the very short period I gave it.
Thank you for the "Test" button, it does work!

Also when trying a Ocpn_Draw "Boundary Inclusive" with the Boat moved to inside the Boundary, when in Watchdog
1. Hit Configuration, Highlight "Boundary", Hit "Edit"
2. Select "Anchor Watch"
3. Select "Get Boundary ID" the blank space should fill with the Boundary ID.
4. Under "Alarm Action" check "Sound" make sure the path points to a *.wav file.
5. Hit "Test" to make sure the alarm sound works.
6. Check repeat alarm after 10 seconds.
7. Hit "Ok" the Configuration Menu "Enable all Alarms" should be checked and it should show "Boundary" "Sound repeat".
8. Hit "Ok" and the Watchdog Alarm menu is still open.
9. The Boundary Alarm says "Anchor inside boundary ______"
9. Now right click at some location outside of the "Inclusive Boundary" and select "Move the boat here".
10. The alarm should sound. It does not. The Boundary message is still "Anchor inside boundary ______"

Somehow Watchdog is missing the fact that the boat moved.
rgleason is offline   Reply With Quote
Reply

Tags
plug


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


Advertise Here


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


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.