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

wind next legs #135

Open
petsicola opened this issue Feb 25, 2024 · 3 comments
Open

wind next legs #135

petsicola opened this issue Feb 25, 2024 · 3 comments

Comments

@petsicola
Copy link

DashT a plugin for open cpn has an useful thing. wind to next legs. it shows the direction of wind at the next leggs. I put a issue on kip, but may be, freeboard could be more accurate.

I give you the manual of dasht https://dashboard-tactics-pi.readthedocs.io/en/latest/racemark/racemark.html

Peek data on next legs - DashT Race Mark continuously calculates some key values for the upcoming legs based on the actual, measured data in order to help in the selection of the sails, such as gennakers:

TWA on next legs is shown for actual, measured value from your boat’s system and for the time integrated values, both for the Median Wind and for the short term average wind.
image

@panaaj
Copy link
Member

panaaj commented Feb 25, 2024

As Freeboard-SK displays values rather than calculates them, I would suggest the approach to achieving this would be to:

  1. Have a plugin calculate the values. This could be added to an existing plugin or a dedicated plugin for racing.
  2. Freeboard-SK / KIP (any client) could then display these values.

@tkurki
Copy link
Member

tkurki commented Feb 26, 2024

...and the data for "next leg" would or should come from v2 course api - for which we don't yet have a convenient way that plugins could use to retrieve the data, do we?

@panaaj
Copy link
Member

panaaj commented Feb 26, 2024

The Course API exposes async getCourse(): Promise<CourseInfo> to plugins.
The Resources API exposes methods to plugins also (used by Course API).

There is a racing path under navigation which seems to be the appropriate location for this kind of data.

Maybe there should be some consideration for being able to associate a route as a race course to use for the calculations?
.

@panaaj panaaj mentioned this issue Jun 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants