Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some fixes and improvements #31

Merged
merged 19 commits into from
Sep 18, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
added VPP = STW/VPOL*100
satisfies #30
quantenschaum committed Aug 23, 2024
commit fc69553d1df57700c980af0cf060c7bbfe6926e3
2 changes: 2 additions & 0 deletions Sail_Instrument/plugin.py
Original file line number Diff line number Diff line change
@@ -572,6 +572,8 @@ def laylines(self, data):
self.msg += ", laylines from table"

data.VPOL = self.polar.value(twa, tws * KNOTS) * MPS
if data.has("VPOL","STW"):
data.VPP = data.STW/data.VPOL*100
self.msg += ", calculate VPOL"

if self.config[SHOW_POLAR]: