Comments (17)
Available in v2.8.0
from freeboard-sk.
Laylines should only be visible when the waypoint is upwind. If the heading to the waypoint is direct, they should disappear. do you think that?
from freeboard-sk.
Upwind...sure can add that.
What angle range would be considered direct?
from freeboard-sk.
I think that I would show them until the wind exceeds 90 degrees
from freeboard-sk.
Fixed in v2.8.2
from freeboard-sk.
About the laylines. in dashT tactics plugin explain the problem of laylines.
1º Laylines are displayed until the direct route is faster than the laylines. This is calculated with the polars. you can see it in the tactics plugin doc. https://dashboard-tactics-pi.readthedocs.io/en/latest/tactics/tactics.html
2º I think that in our case the laylines should be shown when the route to the waypoint is upwind, not when the boat is upwind. Anyway, I'll give you an example later.
from freeboard-sk.
Will fix 2. display when destination is upwind (not the vessel)
from freeboard-sk.
I think there is an Issue, sorry... I think that laylines are in downwind
In mx tommy kip configuration. this two white lines are sawn in this angle. 35 degrees in each tack, in this case. you can put a configuration.. when do you want to show lay lines like that
from freeboard-sk.
With an image... when the green point is inside the two white lines you have to show the laylines. and as I said in the other message this lines are configured by the user in mxtommy kip.
from freeboard-sk.
@petsicola The Close Haul value in KIP settings is not available to Freeboard-SK, so it cannot be used to determine when to display the laylines.
This value would need to be added as a setting in Freeboard-SK and set to match the value entered into KIP.
Ideally this would be sourced from a Signal K path (e.g. polars) but one can't guarantee that the path will be populated with a value.
So, for clarity moving forward, I am going to propose that..... Laylines will be displayed when ALL of the following conditions are met:
- A destination location is set
- The difference in value between Bearing to Destination and True Wind Direction is less (TACK_ANGLE / 2) (where the default TACK_ANGLE = 90)
Note: These rules will apply regardless of the vessel heading.
If these rules are applied will this meet your use case?
from freeboard-sk.
Yes!
only one thing I don't know if it is a problem... what happens if true direction wind angle is 5º and bearing to destination is set at 359º the difference are 6º but 359-5=354º
if that is a problem... I don't know.... Henry in that discord message gives a solution in node red and I think that we have to make something similar...
https://discord.com/channels/1170433917761892493/1170456013552496730/1238797469098180618
sorry I have a poor english and we are talking by github.
from freeboard-sk.
Some additional thoughts - there are several different things at play here.
Laylines represent the most efficient way of reaching your destination, given the presentwind conditions
If you have a destination / mark set and you know the boat's (present condition) upwind target angles you can show Upwind Mark Laylines. Same for downwind. These are not dependent on where the boat is pointing, only on the boat and mark's positions relative to the true wind direction. So when the mark is upwind of the boat the laylines are drawn downwind from the mark and vice versa if the mark is downwind.
Boat laylines are not dependent on the destination being set, as they are just a function of the present true wind angle and the boat's upwind and downwind target angles. Boat laylines are drawn upwind or downwind from the boat, depending on where the boat is going (courseOverGround I think).
If you have both Boat laylines and Mark Laylines available where they meet is the Tack point. Drawing the laylines for both tacks just up to the tack point results in the 4 line shape.
https://chsmith.com.au/news/what-are-laylines-and-how-do-they-work-2013-04-24-8-31-07.html
To summarise:
- boat laylines are there (or can be drawn) always, all that is needed is boat's target angle and true wind direction
- mark laylines need destination & boat position, true wind direction and boat's target angle
Second point:
To make Freeboard and Kip play together is for both to use boat target angles, either as fixed values or calculated dynamically from polar data.
from freeboard-sk.
I concur with this explanation. To remove the confusion around the term layline, in the tacking angle settings (be it fixed or from a path), I prefer the term Close-hauled Angle when referring to the boat's upwind target angle.
Using perf and polar will clear this. We are not there yet. but the data is!
from freeboard-sk.
which is the path that I have to use to show lay lines???
from freeboard-sk.
They will show when bearing is +/- performance.beatAngle
(or 45 deg if there is no value) of true wind.
from freeboard-sk.
Laylines doesn´t appear always. in some casses. doesnt appear.
from freeboard-sk.
In this position laylines... I think that the have to appear.
from freeboard-sk.
Related Issues (20)
- Add support for Signal K v2 Weather API
- Blank tiles when zooming (North Up only) HOT 2
- Weather watch timer error! HOT 3
- Why don't you use Mapbox Style to implement the ENC display ? HOT 1
- FB not working behind a reverse proxy over https in Docker HOT 6
- Improvement ideas for meteo display HOT 9
- True wind HOT 6
- Feature Request: Different colors per shiptype HOT 7
- Feature Request: Filter per shiptype HOT 4
- Feature Request: Different 'hide moored' option HOT 3
- Feature Request: Focus function revamp HOT 10
- Internet map service popup shown in kiosk mode HOT 3
- Vessel no longer detected since upgrade to 2.9.0. Also no longer detecting .mbtiles charts HOT 3
- Route display: Show waypoints HOT 2
- Provide means for deleting waypoints on touch screen
- Use unified interface for route drawing and editing HOT 2
- Route drawing/editing: show total route length
- Wind direction compass rose HOT 3
- Feature Request: Filter if shipID is filled HOT 5
- trails are not syncronized HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freeboard-sk.