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 03-02-2017, 15:06   #241
Registered User
 
rgleason's Avatar

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

NAV these definitions are all very good I think. I do notice Bowditch calls CMG a "misnomer" and I am not quite sure why. I think our terminology page for the most part conforms to these, but I will check.

VMG is not covered, but Bowdich does have this
"velocity, n. A vector quantity equal to speed in a given direction. "
which is consistent with our understanding and terminology.

We just need to accept that VMG can be to a waypoint or to the wind.
rgleason is online now   Reply With Quote
Old 04-02-2017, 00:26   #242
NAV
Registered User

Join Date: Sep 2010
Location: Netherlands
Posts: 424
Re: Tactics Plugin

In chapter 7 (DR) of Bowditch (see text para 707 en 708, and drawing 708c, the following terms are used for course and speed to be achieved (future):
  • Speed to make good
  • Course to make good
Together these 2 are: Velocity to make good

What is called Velocity made good (VMG; history) in the plugin, may be described more accurately as: the vectorcomponent, in direction of wind (or waypoint), of Velocity to make good.

The goal is to maximise the speed of the vectorcomponent, in direction of wind (or wpt), of Velocity to make good.
NAV is offline   Reply With Quote
Old 11-02-2017, 06:28   #243
NAV
Registered User

Join Date: Sep 2010
Location: Netherlands
Posts: 424
Re: Tactics Plugin

Attached is a document containing the international definitions related to nautical directions and speeds (see para's 5.1 to 8.2).
Attached Files
File Type: pdf ISO-Terms.pdf (299.1 KB, 57 views)
NAV is offline   Reply With Quote
Old 11-02-2017, 09:22   #244
Registered User

Join Date: Sep 2015
Location: Ann Arbor MI
Boat: J-Boats, J/35, 35'
Posts: 7
Re: Tactics Plugin

For a nice discussion about VMG and VMC from the perspective of the racers among us.

Destination One Design - Preparation
J35M8 is offline   Reply With Quote
Old 12-02-2017, 04:23   #245
Registered User

Join Date: Jan 2011
Location: Whitby, On
Boat: Alberg 37
Posts: 35
Re: Tactics Plugin

<"For a nice discussion about VMG and VMC from the perspective of the racers among us.

Destination One Design - Preparation">

This document confirms the modern around the bouys race course. If the course is set up correctly by the race committee, where is the first mark? Directly upwind from the start line.
Then where is the next mark? Directly downwind. Although the second leg may be a short offset leg at 90 degrees to the wind before heading directly downwind.
So, the wind and the waypoints are aligned.

It is only when they go "offshore" that the course isn't directly aligned with the wind and they get confused about the meanig of VMG.
As currently defined in the OpenCPN manual under
Activating and using routes

- "VMG Velocity made good to next waypoint".

Roger
RogerD is offline   Reply With Quote
Old 12-02-2017, 13:50   #246
Registered User
 
LeaseOnLife's Avatar

Join Date: Apr 2008
Location: out cruising again, currently in Fiji
Boat: Sailboat
Posts: 1,466
Re: Tactics Plugin

Instead of having a double meaning for VMG, how about using VPW, "velocity parallel to wind"

LeaseOnLife is offline   Reply With Quote
Old 14-02-2017, 09:26   #247
Registered User

Join Date: Aug 2012
Location: San Jose, CA, USA
Posts: 83
Re: Tactics Plugin

tactics_pi crashes O when using it at my computer w/o GPS input because mTWS and mTWA are NAN but passed to a "round" function.

I have a simple 3 line patch that fixes it but wonder if this is specific to my setup somehow.
nkiesel is offline   Reply With Quote
Old 14-02-2017, 14:13   #248
Registered User

Join Date: Dec 2011
Boat: MC-Tec, Akilaria 950
Posts: 242
Re: Tactics Plugin

Thanks Robert,
acknowledged, I'll test & try to fix next weekend.

Thomas
tom_BigSpeedy is offline   Reply With Quote
Old 14-02-2017, 16:53   #249
Registered User

Join Date: Aug 2012
Location: San Jose, CA, USA
Posts: 83
Re: Tactics Plugin

Code:
diff --git src/tactics_pi.cpp src/tactics_pi.cpp
index b65df77..86f1bb3 100644
--- src/tactics_pi.cpp
+++ src/tactics_pi.cpp
@@ -4851,6 +4851,10 @@ use of any instrument or setting
 **********************************************************************************/
 void tactics_pi::CalculatePerformanceData(void)
 {
+  if (wxIsNaN(mTWA) || wxIsNaN(mTWS)) {
+    return;
+  }
+
   mPolarTargetSpeed = BoatPolar->GetPolarSpeed(mTWA, mTWS);
   //transfer targetangle dependent on AWA, not TWA
   if (mAWA <=90)
nkiesel is offline   Reply With Quote
Old 19-02-2017, 13:33   #250
Registered User

Join Date: Dec 2011
Boat: MC-Tec, Akilaria 950
Posts: 242
Re: Tactics Plugin

nkiesel,

fix is implemented and uploaded to github.

I'll upload a package to Ricks file thingie in a minute or so.
This time virustotal does not report any issues ...



SHA256: 1774315131735cc9fe2fa8a186707536e5a705204a3133405c 9e8ddacc94e39d Dateiname: tactics_pi-1.0001-win32.exe Erkennungsrate: 0 / 57 Analyse-Datum: 2017-02-19 21:30:19 UTC ( vor 1 Minute )

Thomas
tom_BigSpeedy is offline   Reply With Quote
Old 20-02-2017, 14:56   #251
Registered User

Join Date: Sep 2015
Location: Ann Arbor MI
Boat: J-Boats, J/35, 35'
Posts: 7
Re: Tactics Plugin

T_BS,

Nice fix. I downloaded and installed the updated Tactics_pi on OCPN 4.5.213 and let the system run for 6 hours with no GPS or instrument input. This would crash every time before and now..... NIRVANA!

J35M8....
J35M8 is offline   Reply With Quote
Old 21-02-2017, 01:02   #252
Registered User

Join Date: Dec 2011
Boat: MC-Tec, Akilaria 950
Posts: 242
Re: Tactics Plugin

Quote:
Originally Posted by J35M8 View Post
T_BS,

Nice fix. I downloaded and installed the updated Tactics_pi on OCPN 4.5.213 and let the system run for 6 hours with no GPS or instrument input. This would crash every time before and now..... NIRVANA!

J35M8....
Does OpenCpn also crash when you run 4.5.213 with disabled plugin?
Or, in other words: try running the plugin with the last stable version of O, and not tha alpha version...
Thanks
Thomas
tom_BigSpeedy is offline   Reply With Quote
Old 21-02-2017, 08:00   #253
Registered User

Join Date: Sep 2015
Location: Ann Arbor MI
Boat: J-Boats, J/35, 35'
Posts: 7
Re: Tactics Plugin

T

I ran a short test with the Tactics_pi plugin disabled. O seemed stable. However, this was not a truely conclusive test, because it was with 4.5.214.

My other setup is still running 4.4 (latest release) but it is not a valid testbed for this case because it has a GPS connected and feeding sentences. It's also at home which makes running during the day a problem.

While I can't say conclusively that you have slayed the dragon, it sure looks good.

J

Quote:
Originally Posted by tom_BigSpeedy View Post
Does OpenCpn also crash when you run 4.5.213 with disabled plugin?
Or, in other words: try running the plugin with the last stable version of O, and not tha alpha version...
Thanks
Thomas
J35M8 is offline   Reply With Quote
Old 24-02-2017, 02:23   #254
Registered User

Join Date: Dec 2011
Boat: MC-Tec, Akilaria 950
Posts: 242
Re: Tactics Plugin

J35M8,
I cannot reproduce your crashes... At least not with 4.4
I have O running here since 2 days nonstop with activated plugin but without any instruments connected. No problem at all ...

Can you pm me your opencpn.ini file and polar file if had loaded one ?

What are you doing exactly ?
Are you working on unix or Windows ?

Thomas

PS : since Jan 05 I can't compile OpenCPN itself anymore, I'm getting tons of linker errors. I already did a complete new installation and rebuilt everything from scratch, it didn't help. So I cannot debug against the latest 2.5.x betas...
tom_BigSpeedy is offline   Reply With Quote
Old 05-03-2017, 02:46   #255
Registered User

Join Date: Mar 2017
Posts: 1
Re: Tactics Plugin

Hello,

your Plugin is very interesting. I don have the whole development environment. is there a possibility to get the binary file? Perhaps via upload here in the forum?

Kind Regards
soeni 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multihull storm tactics? sneuman Multihull Sailboats 234 13-04-2023 18:01
Storm Tactics irwinsailor The Library 90 15-10-2009 04:24
Heavy Weather Tactics and Equipment Benny Seamanship & Boat Handling 54 10-09-2009 06:04
Storm Tactics GordMay The Library 1 17-04-2005 05:54
Heavy-Weather Tactics: GordMay General Sailing Forum 25 28-10-2003 15:44

Advertise Here


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


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.