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 09-01-2017, 11:16   #196
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 3,022
Re: Tactics Plugin

Tom_BigSpeedy, sorry to bother you,

Some other items that I do not undestand :
- ° Bow up
- ° Bow down

- Stabilizes the surface current 'arrow' in the chart overlay, bearing compass and also the numerical instruments\nLow values mean high damping

- Currently only set up for NKE instruments. Exports a predefined set of up to 5 NMEA records which are 'known' by NKE instruments and can be displayed there.\nRead the manual how to set up the interface connection !
Gilletarom is offline   Reply With Quote
Old 09-01-2017, 11:34   #197
Registered User
 
rgleason's Avatar

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

Perhaps use acronymns? Following the Terminology page? If possible have a hover message with the translation?
-- just an idea.
rgleason is offline   Reply With Quote
Old 09-01-2017, 13:25   #198
Registered User

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

Quote:
Originally Posted by rgleason View Post
Thomas and others, the SHA for the file I compiled and uploaded this morning is
VirusTotal and this is what I got.

SHA256: a39de3c82965f6cfd1e12851053d1aec94ecf9a4c5945788c3 7c917112130e64 File name: tactics_pi-1.0000-win32.exe Detection ratio: 1 / 55 Analysis date: 2017-01-09 16:07:38 UTC ( 1 minute ago )

The one detection was the same as yours.
Bkav W32.eHeur.Virus04 20170109

I have Norton Security 2017 on all our machines.
When I compiled this Norton did not complain.
I have done a live up date of Norton and it is current.
Then I did a quick scan and no threats were found.
So this may be a false positive from that service.

Note that none of the other services have found it, including Norton.

--Perhaps we should just use the DLL that you have? Maybe that is best... until we know more! Can you delete my file and add yours with the SHA text file uploaded to Tactics_pi directory?
Thanks.
Rick,

I think it's a false positive.
The package is created with the standard OpenCPN package creation process.
It's only copying tactics_pi.dll to ~OpenCPN\plugins directory, and creates a subdirectory "tactics_pi\data" in the ~OpenCPN\plugins directory, and adds the 3 icons there ... Standard for all plugins ...

I uploaded tactics_pi.dll as well as the 3 .svg plugin icons in Virustotal.
All 4 were checked OK with no hits.
Or there's something suspicious in the NSIS installer itself. But then it's in your NSIS-Installer as well as in mine ...

Thomas
tom_BigSpeedy is offline   Reply With Quote
Old 09-01-2017, 13:26   #199
Registered User

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

Quote:
Originally Posted by Gilletarom View Post
Tom_BigSpeedy, sorry to bother you,

Some other items that I do not undestand :
- ° Bow up
- ° Bow down

- Stabilizes the surface current 'arrow' in the chart overlay, bearing compass and also the numerical instruments\nLow values mean high damping

- Currently only set up for NKE instruments. Exports a predefined set of up to 5 NMEA records which are 'known' by NKE instruments and can be displayed there.\nRead the manual how to set up the interface connection !
Gilletarom,

I will answer tomorrow in detail.

Thomas
tom_BigSpeedy is offline   Reply With Quote
Old 10-01-2017, 11:01   #200
Registered User

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

Quote:
Originally Posted by Gilletarom View Post
Tom_BigSpeedy, sorry to bother you,

Some other items that I do not undestand :
- ° Bow up
- ° Bow down

- Stabilizes the surface current 'arrow' in the chart overlay, bearing compass and also the numerical instruments\nLow values mean high damping

- Currently only set up for NKE instruments. Exports a predefined set of up to 5 NMEA records which are 'known' by NKE instruments and can be displayed there.\nRead the manual how to set up the interface connection !
Gilletarom,

° Bow up : degreé proue inclinée vers le haut
° Bow down : degreé proue inclinée vers le bas
This is the display of the "pitch" (Tangage du bateaux) instrument you asked me yesterday

Name:   Pitch.jpg
Views: 348
Size:  10.2 KB

- Stabilizes the surface current 'arrow' in the chart overlay, bearing compass and also the numerical instruments\nLow values mean high damping
This is the "tooltip" = explanation (or "rollover windows" as Rick called it ) for the "Current damping factor" you asked me yesterday :
Click image for larger version

Name:	current_damping.jpg
Views:	105
Size:	17.7 KB
ID:	139354

-Currently only set up for NKE instruments. Exports a predefined set of up to 5 NMEA records which are 'known' by NKE instruments and can be displayed there.\nRead the manual how to set up the interface connection
Another explanation :
Click image for larger version

Name:	NKE_data.jpg
Views:	112
Size:	25.7 KB
ID:	139353

You can define up to 5 NMEA183 records, which are created then by the plugin. You can export these NMEA sentences (like autopilot data) and if you have a NKE instrument system on your boat, you can display the data in your instruments.

Click image for larger version

Name:	NKE_data.jpg
Views:	112
Size:	25.7 KB
ID:	139353

I hope this helps,

Thomas

PS : Thanks again for your help
Attached Thumbnails
Click image for larger version

Name:	NKE_records.jpg
Views:	89
Size:	14.6 KB
ID:	139356  
Attached Images
 
tom_BigSpeedy is offline   Reply With Quote
Old 10-01-2017, 11:13   #201
Registered User

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

Quote:
Originally Posted by Gilletarom View Post
It would be necessary to be able to modify:
- the width of the columns of each instrument in the case of a horizontal arrangement,
- the width of the overall column in the case of a vertical arrangement.

Unless I am mistaken, it is not currently possible. However, this is possible in the Dashboard plugin displays.

If possible, could you do the same, moreover, this will also make the instruments more readable.

Best regards, Gilletarom.
Gilletarom,

tactics_pi is derived from (a copy of) dashboard_pi and has some additional functionality. But all the basics is the same, including resizing ...
Just have a look ...
Click image for larger version

Name:	Aufnahme52.jpg
Views:	111
Size:	141.0 KB
ID:	139358

Polar Performance, Wind History and Average Wind are standalone instruments, just create them like this
Click image for larger version

Name:	Aufnahme53.jpg
Views:	102
Size:	14.6 KB
ID:	139359

and you can quickly show and hide them as needed with the right mouse button ...
Click image for larger version

Name:	Aufnahme54.jpg
Views:	108
Size:	28.5 KB
ID:	139360
Once you have defined them, the data is collected in the background even if you hide them ...

Best,

Thomas
tom_BigSpeedy is offline   Reply With Quote
Old 10-01-2017, 11:17   #202
Registered User

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

Quote:
Originally Posted by Gilletarom View Post
hello tom_BigSpeedy,

2 ° Today RGleason has added two files: tactics_pi-renamed.odt.pdf and tactics_pi.pdf

I can not open the file "tactics_pi.pdf." My pdf file reading software tells me that this file is corrupt.

What are they used for?

Gilletarom.
Gilletarom,
this is the documentation of the plugin, Libreoffice document(.odt) and the same as PDF.
You can also find it on github :

https://github.com/tom-r/tactics_pi

Thomas
tom_BigSpeedy is offline   Reply With Quote
Old 10-01-2017, 11:30   #203
Registered User

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

Quote:
Originally Posted by tom_BigSpeedy View Post
Rick,

I think it's a false positive.
The package is created with the standard OpenCPN package creation process.
It's only copying tactics_pi.dll to ~OpenCPN\plugins directory, and creates a subdirectory "tactics_pi\data" in the ~OpenCPN\plugins directory, and adds the 3 icons there ... Standard for all plugins ...

I uploaded tactics_pi.dll as well as the 3 .svg plugin icons in Virustotal.
All 4 were checked OK with no hits.
Or there's something suspicious in the NSIS installer itself. But then it's in your NSIS-Installer as well as in mine ...

Thomas
I resurrected my old laptop which is out of use since early august, rebased, compiled and created the plugin package again.

Result : Virustotal reports exactly the same thing.
Click image for larger version

Name:	Aufnahme44.jpg
Views:	119
Size:	40.8 KB
ID:	139361

As I get it on 2 of my machines which are more or less independent, and also Rick encountered the same finding on his machines, either the nsis installer itself has a virus or it's a false positive.

As we already created lots of packages with same nsis installer version,
I assume it's a false positive...

PS : I did check the nsis installer setup programs (nsis 2.46.3 and 2.46.5) yesterday as well. Before my upload to Virustotal they had been checked there with idenitical SHA256 last time in 2014, with 0 hits.
Now both report 2 / 3 heuristic hits ...

I still think it's a false positive.
Thomas
tom_BigSpeedy is offline   Reply With Quote
Old 11-01-2017, 11:32   #204
Registered User

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

Hi there,

as we still have this weird "virus" issue with the installer package, I created a zip file tactics_pi_win32.zip and uploaded it to Rick's file thingie
https://tgp-architects.com/files/index.php
rguser, rgpass

This was checked with no findings in Virustotal
see virustotal_tactics_pi_win32.zip.txt
The installation is not fully automatic, but better than nothin' ...
Installation :
1. Navigate to the plugin directory of your OpenCPN installation
<intallation-path>\OpenCPN\plugins and copy the zip there
2. unzip DIRECTLY INTO the plugins directory.

If everything's fine, you should see

<intallation-path>\OpenCPN\plugins
+ tactics_pi.dll
<intallation-path>\OpenCPN\plugins\tactics_pi\data
+ Tactics.svg
+ Tactics_rollover.svg
+ Tactics_toggled.svg

That's it.
I hope that helps ...
Thomas
tom_BigSpeedy is offline   Reply With Quote
Old 11-01-2017, 13:45   #205
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 3,022
Re: Tactics Plugin

Hello tom_BigSpeedy
Quote:
Originally Posted by tom_BigSpeedy View Post
Gilletarom,
....
https://github.com/tom-r/tactics_pi
Thomas
Thank you. I will work and so I think that I will try to write a page of French tutorial shoreline for OCPN, about Tactics.

Gilletarom.
Gilletarom is offline   Reply With Quote
Old 12-01-2017, 11:38   #206
Registered User

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

Quote:
Originally Posted by Gilletarom View Post
... I will try to write a page of French tutorial shoreline for OCPN, about Tactics.

Gilletarom.
Perfect, thanks

Thomas
tom_BigSpeedy is offline   Reply With Quote
Old 16-01-2017, 09:31   #207
NAV
Registered User

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

Working on the Dutch translation, the following strings in English are not clear to me:

1. True Compass: is this the course steered as indicated by a magnetic compass and corrected for variation and deviation?

2. This formula requires a description before I can understand what it means: Diff. angle to Target-VMG/-CMG + corresp. gain

3. Same applies to this formula: Target-VMG angle + Perf. %


4. I don't understand this sentence from the manual: "Actual Course Made Good = aka VMC; speed towards a waypoint." A speed cannot be described with the term course in my opinion.
NAV is offline   Reply With Quote
Old 16-01-2017, 14:07   #208
Registered User

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

Quote:
Originally Posted by NAV View Post
Working on the Dutch translation, the following strings in English are not clear to me:

1. True Compass: is this the course steered as indicated by a magnetic compass and corrected for variation and deviation?

2. This formula requires a description before I can understand what it means: Diff. angle to Target-VMG/-CMG + corresp. gain

3. Same applies to this formula: Target-VMG angle + Perf. %


4. I don't understand this sentence from the manual: "Actual Course Made Good = aka VMC; speed towards a waypoint." A speed cannot be described with the term course in my opinion.
Hi,
1. True compass :
this is identical to doasboard_pi, a dial instrument showing a compass with true north.
This is a magnetic compass + correction for mag. variation. The deviation is handled inside your compass,
when you do the compass correction.

2. Diff. angle to Target-VMG/-CMG + corresp. gain :
This NMEA record holds 4 data values ;
* Diff. angle to Target-VMG [°]
* VMG gain [%]
* Diff. angle to Target-CMG [°]
* CMG gain [%]

The "difference angle to Target-VMG" is the difference between your actual True Wind Angle (TWA)
and the optimum (Target-)VMG angle.
Example :
Let's say you're sailing upwind, 50°TWA, 4.2 knots actual VMG . According to your polar, at the given
True Wind Speed, the optimum angle upwind is 45°, and you be able to do 5 kts VMG @ 45°
"diff angle to Target-VMG" is -5°, gain would be 16%

The same applies to "Diff angle to Target-CMG" ...

3. Target-VMG angle + Perf. %

This is the Target-VMG angle, the optimum true wind angle upwind, and the percentage of your actual VMG speed to the Target-VMG speed.
Take the example above :
Target-VMG angle = 45°
Performance % = 84% (4.2/5 * 100)

4. "Actual Course Made Good"
We had this discussion already a couple of times ... but due to the fact that we didn't make it to a common, agreed definition here,
I'm sticking to NKE's interpretation of CMG (Course Made Good) as the speed made good towards a waypoint.
If you google the internet, it's not only NKE using this term. Others call it VMC=Velocity made good on course (to a waypoint) ...

See the picture for explanation please.

Click image for larger version

Name:	VMG.jpg
Views:	149
Size:	8.6 KB
ID:	139711

Consider the arrows as vectors, length = speed
The boat heading/speed the black arrow (vector), direction = NE. length is STW
True wind is blowing from North (TWD)
A waypoint is on NNW.

Draw a line from boat position to WP.
From this line draw a perpendicular line to the tip of the boat vector.
The length of the green line is your actual CMG (=speed towards the WP).

Similar situation for VMG (speed upwind), just exchange WP with TWD, and you get the actual VMG speed.

BR,

Thomas
tom_BigSpeedy is offline   Reply With Quote
Old 17-01-2017, 03:30   #209
Registered User
 
rgleason's Avatar

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

Thomas, Thumbs up I like your graphic, and am happy with CMG
rgleason is offline   Reply With Quote
Old 19-01-2017, 01:30   #210
NAV
Registered User

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

Quote:
Originally Posted by tom_BigSpeedy View Post
Hi,
4. "Actual Course Made Good"
We had this discussion already a couple of times ... but due to the fact that we didn't make it to a common, agreed definition here,
I'm sticking to NKE's interpretation of CMG (Course Made Good) as the speed made good towards a waypoint.
If you google the internet, it's not only NKE using this term. Others call it VMC=Velocity made good on course (to a waypoint) ...

See the picture for explanation please.

Attachment 139711

Consider the arrows as vectors, length = speed
The boat heading/speed the black arrow (vector), direction = NE. length is STW
True wind is blowing from North (TWD)
A waypoint is on NNW.

Draw a line from boat position to WP.
From this line draw a perpendicular line to the tip of the boat vector.
The length of the green line is your actual CMG (=speed towards the WP).

Similar situation for VMG (speed upwind), just exchange WP with TWD, and you get the actual VMG speed.
Thanks for the explanation, Thomas. I did understand the principles of point 4 and the vectors involved. However, it's strange (and I stick to that point ) to use the word course to describe a speed. But if that is common usage in yacht racing, who am I to reject this. For the Dutch translation however, I'll try to find more accurate descriptions (generally I'll try to follow Bowditch and comparable books in Dutch), although the lengths of the Dutch strings involved might become a problem.
NAV 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
  Vendor Spotlight
No Threads to Display.


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


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.