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

Lay Line issue. explained #184

Closed
petsicola opened this issue Aug 25, 2024 · 33 comments
Closed

Lay Line issue. explained #184

petsicola opened this issue Aug 25, 2024 · 33 comments

Comments

@petsicola
Copy link

I send you two images. First are the rated boat velocities in knots of my boat. Here you can see the beat angle. Thats the minimum angle that I can have upwind. As you can see in the image beat angle changes with different winds. the difference betwen maximum angle and minimum angle on my boat are 4 degrees. I can assume that my average beat angle are 41.9º.

When I go upwind and the angle formed betwen my destination line and true wind is less than the beat angle I have to show upwind layline

WhatsApp Image 2024-08-25 at 12 52 24
When the formed by dline and twd line is less that beat angle you have to show upwind laylines

With Layline is not important the heading of the boat.

After that we have to work at downwind layline line is the opposite and is marked at the same orc certificate with gybe angles... but that is the next leg ;)

image

image

@panaaj
Copy link
Member

panaaj commented Sep 2, 2024

Currently a beat angle of 45 degrees is used by default unless there is a value in the performance.beatAngle path.
So to use the values in a table such as the one you provided you would have to be using a plugin that populates the performance.beatAngle value.

Laylines are currently displayed when (bearing - twd) < beat angle. So is your issue that the laylines are not displayed or that they are not dispayed using the beat angle from the polar?

@tkurki
Copy link
Member

tkurki commented Sep 2, 2024

Would it not make more sense to show upwind laylines always when going upwind? So when heading or cog if no heading is less than 90degs off twd?

Laylines have value even if you can’t sail that high right now for one reason or another, like rounding a buoy or an island.

@petsicola
Copy link
Author

Bearing pong to destination

image

Bearing to next waypoint 331.2
TWD 306
331.2-306< 45 and laylines are not shown.

@panaaj
Copy link
Member

panaaj commented Sep 2, 2024

Would it not make more sense to show upwind laylines always when going upwind? So when heading or cog if no heading is less than 90degs off twd?

Laylines have value even if you can’t sail that high right now for one reason or another, like rounding a buoy or an island.

That is also part of the current logic.

@panaaj
Copy link
Member

panaaj commented Sep 3, 2024

Bearing pong to destination

Bearing to next waypoint 331.2
TWD 306
331.2-306< 45 and laylines are not shown.

I cannot replicate the issue on my system so can you please provide a screenshot of the environment.wind paths from the data browser on the server.

The issue may be related to the TWD value being the magnetic path value rather than the true value so can you also advise the value of the setting "prefer True / magnetic"

@petsicola
Copy link
Author

Yes, I send you a capture.
image

@petsicola
Copy link
Author

petsicola commented Sep 3, 2024

Another thing that I see is that laylines may be not propper painted.
I created a situation in my boat with the wind direction and my buoy are on the same direction. and it gave me this laylines....
I send you a capture with the lay lines that freeboard give me and two lines created over the image with paint that I think that have to paint freeboard.
you can see that you make 90º and it has to be 45º assuming that you are taking 45º degrees. as your maximum upwind as you say me.

image

In the next image probably is clear.
you are painting a grey lines that grey lines are ok painted red and over that lines I show you lay lines.
image

Please, sorry for my poor english

@petsicola
Copy link
Author

image

@panaaj
Copy link
Member

panaaj commented Sep 4, 2024

Thanks for the details.
I have created a fix for the not correctly using environment.wind.directionMagnetic and for the line rendering.
These will be available in the next release.

@panaaj
Copy link
Member

panaaj commented Sep 7, 2024

Fixed in v2.11.2

@petsicola
Copy link
Author

Sorry, I have to try it more....

@petsicola
Copy link
Author

Upwind wind vectors are perfect
image

The downwind wind vectors I think that the y have to be at the opoosite. I send you a picture.

image

@panaaj
Copy link
Member

panaaj commented Sep 8, 2024

Hmm, they should be the other way...and were in testing.

Does it display correctly if true is preferred over magnetic?

Can you please supply a screenshot of the following paths:

  • environment.wind
  • navigation.course.nextPointvalues
  • navigation.magneticVariation

If no magnetic variation value is available then the bearing magnetic value will be empty.

These values are used if the prefer magnetic setting is selected.

@petsicola
Copy link
Author

This image
image

Here the data. In same cases the downwind image goes ok. in other cases not. but I don't know when.

image

image

image

@panaaj
Copy link
Member

panaaj commented Sep 9, 2024

The screenshot below shows the result I get when testing. I cannot seem to reproduce the issue using both True or Magnetic values.

Do you also see the issue if preferred paths to either True or Magnetic or does it only happen on one of them?

image

@petsicola
Copy link
Author

Yes, allways goes ok but in some situations the vectors change.
In this situation when the boat goes to north vectors are ok.
image

But when we turn and goes to south vectors change... I don´t know why...
image

@petsicola
Copy link
Author

In some cases I see this. laylines and display vector are not intthe same line
image

@petsicola
Copy link
Author

In some cases but only in downwind appears vecctors in this form.
what values I can give you to study the case.

image

@panaaj
Copy link
Member

panaaj commented Sep 21, 2024

I am about to release an update that will allow you to capture the necessary data which you can then upload for debugging purposes.

I will provide instruction after the update is available.

@petsicola
Copy link
Author

perfect, I will wait for it ;)

@panaaj
Copy link
Member

panaaj commented Sep 22, 2024

v2.11.4 contains the debug capture option.
To use it you will need to enable Experiments in the Settings

  • Open Settings and scroll to the bottom of the screen.
  • Select the Experimental Features checkbox
    image

Once experiments have been enabled you will be able to access the experiments button and menu.
image

When you experience the issue:

  1. click Experiments
  2. Select the Capture Debug info option. This will copy the debug info to the clipboard.
  3. Paste the information into a text file and attach it to this issue.

@petsicola
Copy link
Author

petsicola commented Sep 22, 2024

I see the capture debug info but when I clic it, it doesn't copy to the clipboard nothing.
I tried to paste it on a notepad but it doesn't work.
image

@panaaj
Copy link
Member

panaaj commented Sep 27, 2024

You will need to be in a secure context either https:// or http://127.0.0.1, http://localhost,http://*.localhost or else your browser will block access to the clipboard.

So you could try a browser on the Signal K server host.

@petsicola
Copy link
Author

{"data":{"firstRun":true,"updatedRun":null,"kioskMode":false,"n2kRoute":null,"optAppPanel":true,"trueMagChoice":"navigation.headingTrue","loggedIn":false,"loginRequired":true,"loggedInBadgeText":"!","hasToken":false,"hasWakeLock":true,"routes":[],"waypoints":[],"charts":[["openstreetmap",{"name":"World Map","description":"Open Street Map","scale":250000,"layers":[],"minZoom":0,"maxZoom":24},true],["openseamap",{"name":"Sea Map","description":"Open Sea Map","scale":250000,"layers":[],"bounds":[-180,-90,180,90],"minZoom":12,"maxZoom":18,"type":"tilelayer","url":"https://tiles.openseamap.org/seamark/{z}/{x}/{y}.png"},true]],"chartBounds":false,"alarms":{},"notes":[],"regions":[],"tracks":[],"resourceSets":{},"selfId":"vessels.urn:mrn:signalk:uuid:d8a37f05-babd-44e7-aebe-3c7f9a7c5f1c","activeRoute":null,"activeRouteReversed":false,"activeRouteCircular":false,"activeRouteIsEditing":false,"editingId":null,"activeWaypoint":null,"trail":[],"serverTrail":false,"server":{"id":"signalk-server-node","version":"2.11.0"},"lastGet":[-8.814843246335336,42.221345810913874],"map":{"suppressContextMenu":false,"atClick":{"features":[],"lonlat":[0,0]}},"vessels":{"showSelf":true,"self":{"id":"vessels.urn:mrn:signalk:uuid:d8a37f05-babd-44e7-aebe-3c7f9a7c5f1c","position":[-8.794641666666667,42.24041666666667],"type":{"id":-1,"name":""},"properties":{},"lastUpdated":"2024-09-27T06:10:20.971Z","orientation":1.73799886953279,"heading":1.5474089151764334,"headingTrue":1.5474089151764334,"headingMagnetic":1.569050997901163,"cog":1.73799886953279,"cogTrue":1.73799886953279,"cogMagnetic":1.7596409522575196,"sog":1.9694444444444443,"registrations":{},"wind":{"direction":5.746274209134974,"mwd":5.767916291859704,"twd":5.746274209134974,"tws":3.7493720341658086,"speedTrue":3.7493720341658086,"sog":3.7384383635482323,"awa":-2.0843200132210455,"aws":2.3664450439438554},"buddy":false,"closestApproach":null,"mode":"day","anchor":{"maxRadius":null,"radius":null,"position":null},"resourceUpdates":[],"autopilot":{},"track":[],"courseApi":{"arrivalCircle":0,"activeRoute":null,"nextPoint":{"position":{"latitude":42.24295776823618,"longitude":-8.779863833483267},"type":"Location"},"previousPoint":{"position":{"longitude":-8.799763333333333,"latitude":42.24039333333333},"type":"VesselPosition"}},"performance":{"beatAngle":-0.693,"gybeAngle":-2.583},"vectors":{"cog":[[-8.794641666666667,42.24041666666667],[-8.780487870682181,42.23864720552946]]},"positionReceived":true,"course.calcMethod":"GreatCircle","course.bearingTrackTrue":1.3983330951206638,"course.bearingTrackMagnetic":1.3407372297917002,"course.crossTrackError":69.59731456123379,"course.distance":1249.9546064637968,"course.bearingTrue":1.3426843473979624,"course.bearingMagnetic":1.2850884820689987,"course.velocityMadeGood":1.9131687210132036,"course.timeToGo":653.342,"course.estimatedTimeOfArrival":"2021-12-04T15:52:27.342Z","course.targetSpeed":null},"aisTargets":{},"aisTracks":{},"activeId":null,"active":{"id":"vessels.urn:mrn:signalk:uuid:d8a37f05-babd-44e7-aebe-3c7f9a7c5f1c","position":[-8.794641666666667,42.24041666666667],"type":{"id":-1,"name":""},"properties":{},"lastUpdated":"2024-09-27T06:10:20.971Z","orientation":1.73799886953279,"heading":1.5474089151764334,"headingTrue":1.5474089151764334,"headingMagnetic":1.569050997901163,"cog":1.73799886953279,"cogTrue":1.73799886953279,"cogMagnetic":1.7596409522575196,"sog":1.9694444444444443,"registrations":{},"wind":{"direction":5.746274209134974,"mwd":5.767916291859704,"twd":5.746274209134974,"tws":3.7493720341658086,"speedTrue":3.7493720341658086,"sog":3.7384383635482323,"awa":-2.0843200132210455,"aws":2.3664450439438554},"buddy":false,"closestApproach":null,"mode":"day","anchor":{"maxRadius":null,"radius":null,"position":null},"resourceUpdates":[],"autopilot":{},"track":[],"courseApi":{"arrivalCircle":0,"activeRoute":null,"nextPoint":{"position":{"latitude":42.24295776823618,"longitude":-8.779863833483267},"type":"Location"},"previousPoint":{"position":{"longitude":-8.799763333333333,"latitude":42.24039333333333},"type":"VesselPosition"}},"performance":{"beatAngle":-0.693,"gybeAngle":-2.583},"vectors":{"cog":[[-8.794641666666667,42.24041666666667],[-8.780487870682181,42.23864720552946]]},"positionReceived":true,"course.calcMethod":"GreatCircle","course.bearingTrackTrue":1.3983330951206638,"course.bearingTrackMagnetic":1.3407372297917002,"course.crossTrackError":69.59731456123379,"course.distance":1249.9546064637968,"course.bearingTrue":1.3426843473979624,"course.bearingMagnetic":1.2850884820689987,"course.velocityMadeGood":1.9131687210132036,"course.timeToGo":653.342,"course.estimatedTimeOfArrival":"2021-12-04T15:52:27.342Z","course.targetSpeed":null},"closest":{"id":null,"distance":null,"timeTo":null,"position":[0,0]},"prefAvailablePaths":{"navigation.headingTrue":null,"navigation.headingMagnetic":null,"navigation.courseOverGroundTrue":null,"navigation.courseOverGroundMagnetic":null,"environment.wind.angleTrueWater":null,"environment.wind.speedTrue":null,"environment.wind.angleTrueGround":null,"environment.wind.speedOverGround":null,"environment.wind.directionTrue":null,"environment.wind.directionMagnetic":null},"flagged":[]},"aircraft":{},"atons":{},"sar":{},"meteo":{},"aisMgr":{"updateList":["vessels.urn:mrn:imo:mmsi:224296160","vessels.urn:mrn:imo:mmsi:371100000"],"staleList":[],"removeList":[]},"navData":{"vmg":1.9131687210132036,"dtg":1.2499546064637967,"ttg":10.889033333333334,"bearing":{"value":76.93014632418048,"type":"T"},"bearingTrue":76.93014632418048,"bearingMagnetic":73.630146323427,"xte":0.06959731456123379,"eta":"2021-12-04T15:52:27.342Z","position":[-8.779863833483267,42.24295776823618],"pointIndex":-1,"pointTotal":0,"arrivalCircle":0,"startPosition":[-8.799763333333333,42.24039333333333],"pointNames":[],"activeRoutePoints":[],"destPointName":""},"racing":{"startLine":[],"finishLine":[]},"anchor":{"raised":true,"radius":-1,"position":[0,0],"hasApi":true},"autopilot":{"console":false,"hasApi":false},"buildRoute":{"show":false},"weather":{"hasApi":false},"measurement":{"coords":[],"index":-1}},"config":{"chartApi":2,"experiments":true,"version":"","darkMode":{"enabled":false,"source":0},"map":{"zoomLevel":11.400000000000002,"center":[-8.814843246335336,42.221345810913874],"rotation":0,"moveMap":false,"lockMoveMap":true,"northUp":true,"animate":false,"limitZoom":false,"invertColor":false},"fixedLocationMode":false,"fixedPosition":[0,0],"aisTargets":true,"courseData":true,"toolBarButtons":true,"notes":true,"popoverMulti":false,"mapDoubleClick":false,"muteSound":true,"depthAlarm":{"enabled":false,"smoothing":10000},"anchorRadius":40,"plugins":{"instruments":"/@signalk/instrumentpanel","startOnOpen":true,"parameters":null},"units":{"distance":"m","depth":"m","speed":"kn","temperature":"c"},"selections":{"routes":[],"waypoints":[],"tracks":[],"charts":["openstreetmap","openseamap"],"notes":[],"chartOrder":[],"headingAttribute":"navigation.headingTrue","preferredPaths":{"tws":"environment.wind.speedTrue","twd":"environment.wind.directionTrue","heading":"navigation.courseOverGroundTrue","course":"navigation.courseGreatCircle"},"vessel":{"trail":false,"windVectors":true,"laylines":false,"cogLine":10,"aisCogLine":10,"headingLineSize":-1},"positionFormat":"XY","aisTargets":null,"aisTargetTypes":[],"aisFilterByShipType":false,"aisWindApparent":false,"aisWindMinZoom":15,"aisShowTrack":false,"aisMaxAge":540000,"aisStaleAge":360000,"aisProfile":0,"aisState":[],"notesMinZoom":10,"labelsMinZoom":8,"pluginFavourites":[],"trailFromServer":false,"trailDuration":24,"trailResolution":{"lastHour":"5s","next23":"1m","beyond24":"5m"},"s57Options":{"graphicsStyle":"Paper","boundaries":"Plain","colors":4,"shallowDepth":2,"safetyDepth":3,"deepDepth":6},"resourceSets":{},"signalk":{"vessels":true,"atons":true,"aircraft":false,"sar":false,"meteo":true,"maxRadius":0,"proxied":true},"wakeLock":false,"course":{"autoNextPointOnArrival":false,"autoNextPointDelay":5000,"autoNextPointTrigger":"perpendicularPassed"}},"resources":{"notes":{"rootFilter":"?position=[%map:longitude%,%map:latitude%]&distance=%note:radius%","getRadius":20,"groupNameEdit":false,"groupRequiresPosition":true},"video":{"enable":false,"url":null},"paths":[]}}}

@petsicola
Copy link
Author

{"data":{"firstRun":false,"updatedRun":null,"kioskMode":false,"n2kRoute":null,"optAppPanel":true,"trueMagChoice":"navigation.headingTrue","loggedIn":false,"loginRequired":true,"loggedInBadgeText":"!","hasToken":false,"hasWakeLock":true,"routes":[],"waypoints":[],"charts":[["openstreetmap",{"name":"World Map","description":"Open Street Map","scale":250000,"layers":[],"minZoom":0,"maxZoom":24},true],["openseamap",{"name":"Sea Map","description":"Open Sea Map","scale":250000,"layers":[],"bounds":[-180,-90,180,90],"minZoom":12,"maxZoom":18,"type":"tilelayer","url":"https://tiles.openseamap.org/seamark/{z}/{x}/{y}.png"},true]],"chartBounds":false,"alarms":{},"notes":[],"regions":[],"tracks":[],"resourceSets":{},"selfId":"vessels.urn:mrn:signalk:uuid:a7c436e7-a571-473e-8a27-e1c6b645ce5f","activeRoute":null,"activeRouteReversed":false,"activeRouteCircular":false,"activeRouteIsEditing":false,"editingId":null,"activeWaypoint":null,"trail":[],"serverTrail":false,"server":{"id":"signalk-server-node","version":"2.11.0"},"lastGet":[-8.733258333333234,42.25473333333332],"map":{"suppressContextMenu":false,"atClick":{"features":[],"lonlat":[-8.727638499805542,42.24904100528758]}},"vessels":{"showSelf":true,"self":{"id":"vessels.urn:mrn:signalk:uuid:a7c436e7-a571-473e-8a27-e1c6b645ce5f","position":[-8.734961666666667,42.250143333333334],"type":{"id":-1,"name":""},"properties":{},"lastUpdated":"2024-09-27T06:20:15.678Z","orientation":null,"heading":4.236612227263002,"headingTrue":4.236612227263002,"headingMagnetic":4.251622058828958,"cog":null,"cogTrue":null,"cogMagnetic":null,"sog":1.9388888888888889,"registrations":{},"wind":{"direction":4.723379406438117,"mwd":4.779229942514688,"twd":4.723379406438117,"tws":4.615465279279478,"speedTrue":4.615465279279478,"sog":4.59598275009726,"awa":0.5162163045861532,"aws":6.173334897244841},"buddy":false,"closestApproach":null,"mode":"day","anchor":{"maxRadius":null,"radius":null,"position":null},"resourceUpdates":[],"autopilot":{},"track":[],"courseApi":{"arrivalCircle":0,"activeRoute":null,"nextPoint":{"position":{"latitude":42.24904100528758,"longitude":-8.727638499805542},"type":"Location"},"previousPoint":{"position":{"longitude":-8.73467,"latitude":42.25024833333333},"type":"VesselPosition"}},"performance":{"beatAngle":0.735,"gybeAngle":2.798},"vectors":{"cog":[[-8.734961666666667,42.250143333333334],[-8.748041951455509,42.246466370856425]]},"positionReceived":true,"course.calcMethod":"GreatCircle","course.bearingTrackTrue":1.798685214353837,"course.bearingTrackMagnetic":1.7784393950307027,"course.crossTrackError":16.797169121779202,"course.distance":615.0993242120559,"course.bearingTrue":1.7713703367069311,"course.bearingMagnetic":1.7511245173837968,"course.velocityMadeGood":-1.5125083644356199,"course.timeToGo":-406.675,"course.estimatedTimeOfArrival":"2021-12-04T13:53:32.325Z","course.targetSpeed":null},"aisTargets":{},"aisTracks":{},"activeId":null,"active":{"id":"vessels.urn:mrn:signalk:uuid:a7c436e7-a571-473e-8a27-e1c6b645ce5f","position":[-8.734961666666667,42.250143333333334],"type":{"id":-1,"name":""},"properties":{},"lastUpdated":"2024-09-27T06:20:15.678Z","orientation":null,"heading":4.236612227263002,"headingTrue":4.236612227263002,"headingMagnetic":4.251622058828958,"cog":null,"cogTrue":null,"cogMagnetic":null,"sog":1.9388888888888889,"registrations":{},"wind":{"direction":4.723379406438117,"mwd":4.779229942514688,"twd":4.723379406438117,"tws":4.615465279279478,"speedTrue":4.615465279279478,"sog":4.59598275009726,"awa":0.5162163045861532,"aws":6.173334897244841},"buddy":false,"closestApproach":null,"mode":"day","anchor":{"maxRadius":null,"radius":null,"position":null},"resourceUpdates":[],"autopilot":{},"track":[],"courseApi":{"arrivalCircle":0,"activeRoute":null,"nextPoint":{"position":{"latitude":42.24904100528758,"longitude":-8.727638499805542},"type":"Location"},"previousPoint":{"position":{"longitude":-8.73467,"latitude":42.25024833333333},"type":"VesselPosition"}},"performance":{"beatAngle":0.735,"gybeAngle":2.798},"vectors":{"cog":[[-8.734961666666667,42.250143333333334],[-8.748041951455509,42.246466370856425]]},"positionReceived":true,"course.calcMethod":"GreatCircle","course.bearingTrackTrue":1.798685214353837,"course.bearingTrackMagnetic":1.7784393950307027,"course.crossTrackError":16.797169121779202,"course.distance":615.0993242120559,"course.bearingTrue":1.7713703367069311,"course.bearingMagnetic":1.7511245173837968,"course.velocityMadeGood":-1.5125083644356199,"course.timeToGo":-406.675,"course.estimatedTimeOfArrival":"2021-12-04T13:53:32.325Z","course.targetSpeed":null},"closest":{"id":null,"distance":null,"timeTo":null,"position":[0,0]},"prefAvailablePaths":{"navigation.headingMagnetic":null,"navigation.headingTrue":null,"navigation.courseOverGroundTrue":null,"navigation.courseOverGroundMagnetic":null,"environment.wind.angleTrueGround":null,"environment.wind.speedOverGround":null,"environment.wind.angleTrueWater":null,"environment.wind.speedTrue":null,"environment.wind.directionTrue":null,"environment.wind.directionMagnetic":null},"flagged":[]},"aircraft":{},"atons":{},"sar":{},"meteo":{},"aisMgr":{"updateList":["vessels.urn:mrn:imo:mmsi:225990706","vessels.urn:mrn:imo:mmsi:273212120","vessels.urn:mrn:imo:mmsi:273340810"],"staleList":[],"removeList":[]},"navData":{"vmg":-1.5125083644356199,"dtg":0.6150993242120559,"ttg":-6.777916666666667,"bearing":{"value":101.49204424797472,"type":"T"},"bearingTrue":101.49204424797472,"bearingMagnetic":100.33204424797472,"xte":0.016797169121779202,"eta":"2021-12-04T13:53:32.325Z","position":[-8.727638499805542,42.24904100528758],"pointIndex":-1,"pointTotal":0,"arrivalCircle":0,"startPosition":[-8.73467,42.25024833333333],"pointNames":[],"activeRoutePoints":[],"destPointName":""},"racing":{"startLine":[],"finishLine":[]},"anchor":{"raised":true,"radius":-1,"position":[0,0],"hasApi":true},"autopilot":{"console":false,"hasApi":false},"buildRoute":{"show":false},"weather":{"hasApi":false},"measurement":{"coords":[],"index":-1}},"config":{"chartApi":2,"experiments":true,"version":"","darkMode":{"enabled":false,"source":0},"map":{"zoomLevel":14.800000000000002,"center":[-8.733258333333234,42.25473333333332],"rotation":0,"moveMap":false,"lockMoveMap":true,"northUp":true,"animate":false,"limitZoom":false,"invertColor":false},"fixedLocationMode":false,"fixedPosition":[0,0],"aisTargets":true,"courseData":true,"toolBarButtons":true,"notes":true,"popoverMulti":false,"mapDoubleClick":false,"muteSound":true,"depthAlarm":{"enabled":false,"smoothing":10000},"anchorRadius":40,"plugins":{"instruments":"/@signalk/instrumentpanel","startOnOpen":true,"parameters":null},"units":{"distance":"m","depth":"m","speed":"kn","temperature":"c"},"selections":{"routes":[],"waypoints":[],"tracks":[],"charts":["openstreetmap","openseamap"],"notes":[],"chartOrder":[],"headingAttribute":"navigation.headingTrue","preferredPaths":{"tws":"environment.wind.speedTrue","twd":"environment.wind.directionTrue","heading":"navigation.courseOverGroundTrue","course":"navigation.courseGreatCircle"},"vessel":{"trail":false,"windVectors":true,"laylines":true,"cogLine":10,"aisCogLine":10,"headingLineSize":-1},"positionFormat":"XY","aisTargets":null,"aisTargetTypes":[],"aisFilterByShipType":false,"aisWindApparent":false,"aisWindMinZoom":15,"aisShowTrack":false,"aisMaxAge":540000,"aisStaleAge":360000,"aisProfile":0,"aisState":[],"notesMinZoom":10,"labelsMinZoom":8,"pluginFavourites":[],"trailFromServer":false,"trailDuration":24,"trailResolution":{"lastHour":"5s","next23":"1m","beyond24":"5m"},"s57Options":{"graphicsStyle":"Paper","boundaries":"Plain","colors":4,"shallowDepth":2,"safetyDepth":3,"deepDepth":6},"resourceSets":{},"signalk":{"vessels":true,"atons":true,"aircraft":false,"sar":false,"meteo":true,"maxRadius":0,"proxied":true},"wakeLock":false,"course":{"autoNextPointOnArrival":false,"autoNextPointDelay":5000,"autoNextPointTrigger":"perpendicularPassed"}},"resources":{"notes":{"rootFilter":"?position=[%map:longitude%,%map:latitude%]&distance=%note:radius%","getRadius":20,"groupNameEdit":false,"groupRequiresPosition":true},"video":{"enable":false,"url":null},"paths":[]}}}

@panaaj
Copy link
Member

panaaj commented Oct 5, 2024

Issue resolved in v2.11.5

@petsicola
Copy link
Author

petsicola commented Oct 5, 2024

now happens at the opposite. I give you two images... in one of them goes bad and in the other when we change the tack goes ok. before. in the corner change goes bad in this direction, change the direction to the other tack and goes ok.

1º this tack goes bad

image

{"data":{"firstRun":false,"updatedRun":null,"kioskMode":false,"n2kRoute":null,"optAppPanel":true,"trueMagChoice":"navigation.headingMagnetic","loggedIn":true,"loginRequired":true,"loggedInBadgeText":"!","hasToken":false,"hasWakeLock":true,"routes":[],"waypoints":[],"charts":[["openstreetmap",{"name":"World Map","description":"Open Street Map","scale":250000,"layers":[],"minZoom":0,"maxZoom":24},true],["openseamap",{"name":"Sea Map","description":"Open Sea Map","scale":250000,"layers":[],"bounds":[-180,-90,180,90],"minZoom":12,"maxZoom":18,"type":"tilelayer","url":"https://tiles.openseamap.org/seamark/{z}/{x}/{y}.png"},true]],"chartBounds":false,"alarms":{},"notes":[],"regions":[],"tracks":[],"resourceSets":{},"selfId":"vessels.urn:mrn:signalk:uuid:a771987d-8ee9-464f-91da-27bbf3f22e3f","activeRoute":null,"activeRouteReversed":false,"activeRouteCircular":false,"activeRouteIsEditing":false,"editingId":null,"activeWaypoint":null,"trail":[[-8.732838333333333,42.25422833333333],[-8.732875,42.254308333333334],[-8.7329,42.25436333333333],[-8.732928333333334,42.254416666666664],[-8.732948333333333,42.25447166666667],[-8.732975,42.25453],[-8.732988333333333,42.25458166666667]],"serverTrail":false,"server":{"id":"signalk-server-node","version":"2.11.0"},"lastGet":[-8.729667157347226,42.25385897776786],"map":{"suppressContextMenu":false,"atClick":{"features":[],"lonlat":[0,0]}},"vessels":{"showSelf":true,"self":{"id":"vessels.urn:mrn:signalk:uuid:a771987d-8ee9-464f-91da-27bbf3f22e3f","position":[-8.733006666666666,42.25461],"type":{"id":-1,"name":""},"properties":{},"lastUpdated":"2024-10-05T08:09:46.135Z","orientation":5.857324971030371,"heading":5.857324971030371,"headingTrue":5.811946410468156,"headingMagnetic":5.857324971030371,"cog":null,"cogTrue":null,"cogMagnetic":null,"sog":1.4805555555555556,"registrations":{},"wind":{"direction":5.289582742415481,"mwd":5.289582742415481,"twd":5.269685988942746,"tws":4.005376322128009,"speedTrue":3.9731372289215057,"sog":4.005376322128009,"awa":-0.5764688748768537,"aws":5.144445747704034},"buddy":false,"closestApproach":null,"mode":"day","anchor":{"maxRadius":null,"radius":null,"position":null},"resourceUpdates":[],"autopilot":{},"track":[],"courseApi":{"arrivalCircle":0,"activeRoute":null,"nextPoint":{"position":{"latitude":42.2517011232473,"longitude":-8.729812724575295},"type":"Location"},"previousPoint":{"position":{"longitude":-8.732531666666667,"latitude":42.252525},"type":"VesselPosition"}},"performance":{"beatAngle":-0.718,"gybeAngle":null},"vectors":{"cog":[[-8.733003333333333,42.254601666666666],[-8.737295640567186,42.2619318418498]]},"positionReceived":true,"course.calcMethod":"GreatCircle","course.bearingTrackTrue":1.9593390434160651,"course.bearingTrackMagnetic":1.9027903756385371,"course.crossTrackError":-199.116217708575,"course.distance":416.14157843465006,"course.bearingTrue":2.4582585456975896,"course.bearingMagnetic":2.4017098779200614,"course.velocityMadeGood":-1.435872816163078,"course.timeToGo":-289.818,"course.estimatedTimeOfArrival":"2021-12-04T13:50:31.182Z","course.targetSpeed":null},"aisTargets":{},"aisTracks":{},"activeId":null,"active":{"id":"vessels.urn:mrn:signalk:uuid:a771987d-8ee9-464f-91da-27bbf3f22e3f","position":[-8.733006666666666,42.25461],"type":{"id":-1,"name":""},"properties":{},"lastUpdated":"2024-10-05T08:09:46.135Z","orientation":5.857324971030371,"heading":5.857324971030371,"headingTrue":5.811946410468156,"headingMagnetic":5.857324971030371,"cog":null,"cogTrue":null,"cogMagnetic":null,"sog":1.4805555555555556,"registrations":{},"wind":{"direction":5.289582742415481,"mwd":5.289582742415481,"twd":5.269685988942746,"tws":4.005376322128009,"speedTrue":3.9731372289215057,"sog":4.005376322128009,"awa":-0.5764688748768537,"aws":5.144445747704034},"buddy":false,"closestApproach":null,"mode":"day","anchor":{"maxRadius":null,"radius":null,"position":null},"resourceUpdates":[],"autopilot":{},"track":[],"courseApi":{"arrivalCircle":0,"activeRoute":null,"nextPoint":{"position":{"latitude":42.2517011232473,"longitude":-8.729812724575295},"type":"Location"},"previousPoint":{"position":{"longitude":-8.732531666666667,"latitude":42.252525},"type":"VesselPosition"}},"performance":{"beatAngle":-0.718,"gybeAngle":null},"vectors":{"cog":[[-8.733003333333333,42.254601666666666],[-8.737295640567186,42.2619318418498]]},"positionReceived":true,"course.calcMethod":"GreatCircle","course.bearingTrackTrue":1.9593390434160651,"course.bearingTrackMagnetic":1.9027903756385371,"course.crossTrackError":-199.116217708575,"course.distance":416.14157843465006,"course.bearingTrue":2.4582585456975896,"course.bearingMagnetic":2.4017098779200614,"course.velocityMadeGood":-1.435872816163078,"course.timeToGo":-289.818,"course.estimatedTimeOfArrival":"2021-12-04T13:50:31.182Z","course.targetSpeed":null},"closest":{"id":null,"distance":null,"timeTo":null,"position":[0,0]},"prefAvailablePaths":{"navigation.headingTrue":null,"navigation.headingMagnetic":null,"navigation.courseOverGroundTrue":null,"navigation.courseOverGroundMagnetic":null,"environment.wind.angleTrueGround":null,"environment.wind.speedOverGround":null,"environment.wind.directionMagnetic":null,"environment.wind.angleTrueWater":null,"environment.wind.speedTrue":null,"environment.wind.directionTrue":null},"flagged":[]},"aircraft":{},"atons":{},"sar":{},"meteo":{},"aisMgr":{"updateList":["vessels.urn:mrn:imo:mmsi:002240998","vessels.urn:mrn:imo:mmsi:225990254","vessels.urn:mrn:imo:mmsi:224429790","vessels.urn:mrn:imo:mmsi:225006370"],"staleList":[],"removeList":[]},"navData":{"vmg":-1.435872816163078,"dtg":0.22469855826683835,"ttg":-4.830299999999999,"bearing":{"value":137.60783961969972,"type":"M"},"bearingTrue":140.8478396204395,"bearingMagnetic":137.60783961969972,"xte":-0.10751419556526903,"eta":"2021-12-04T13:50:31.182Z","position":[-8.729812724575295,42.2517011232473],"pointIndex":-1,"pointTotal":0,"arrivalCircle":0,"startPosition":[-8.732531666666667,42.252525],"pointNames":[],"activeRoutePoints":[],"destPointName":""},"racing":{"startLine":[],"finishLine":[]},"anchor":{"raised":true,"radius":-1,"position":[0,0],"hasApi":true},"autopilot":{"console":false,"hasApi":false},"buildRoute":{"show":false},"weather":{"hasApi":false},"measurement":{"coords":[],"index":-1}},"config":{"experiments":true,"version":"","darkMode":{"enabled":false,"source":0},"map":{"zoomLevel":15.915957290028416,"center":[-8.733258333333234,42.25473333333332],"rotation":0,"moveMap":false,"northUp":true,"animate":false,"limitZoom":false,"invertColor":false,"lockMoveMap":false},"aisTargets":true,"courseData":true,"notes":true,"popoverMulti":false,"mapDoubleClick":true,"depthAlarm":{"enabled":false,"smoothing":10000},"anchorRadius":40,"plugins":{"instruments":"/@mxtommy/kip","startOnOpen":false,"parameters":null},"units":{"distance":"ft","depth":"m","speed":"kn","temperature":"c"},"selections":{"routes":[],"waypoints":[],"tracks":[],"charts":["openstreetmap","openseamap"],"notes":[],"chartOrder":[],"headingAttribute":"navigation.headingMagnetic","preferredPaths":{"tws":"environment.wind.speedOverGround","twd":"environment.wind.angleTrueGround","heading":"navigation.headingMagnetic","course":"navigation.courseGreatCircle"},"positionFormat":"XY","aisTargets":null,"aisWindApparent":false,"aisWindMinZoom":15,"aisShowTrack":false,"aisMaxAge":540000,"aisStaleAge":360000,"aisProfile":0,"aisState":[],"notesMinZoom":10,"pluginFavourites":[],"trailFromServer":true,"trailDuration":6,"resourceSets":{},"signalk":{"vessels":true,"atons":true,"aircraft":false,"sar":false,"maxRadius":0,"meteo":true,"proxied":true},"wakeLock":false,"trailResolution":{"lastHour":"1m","next23":"1m","beyond24":"30m"},"course":{"autoNextPointOnArrival":false,"autoNextPointDelay":5,"autoNextPointTrigger":"perpendicularPassed"},"s57Options":{"graphicsStyle":"Paper","boundaries":"Plain","colors":4,"shallowDepth":2,"safetyDepth":3,"deepDepth":6},"labelsMinZoom":8,"aisTargetTypes":[],"aisFilterByShipType":false,"vessel":{"trail":true,"windVectors":true,"cogLine":10,"headingLineSize":5,"laylines":true,"aisCogLine":10}},"resources":{"notes":{"rootFilter":"?position=[%map:longitude%,%map:latitude%]&distance=%note:radius%","getRadius":20,"groupNameEdit":false,"groupRequiresPosition":true},"video":{"enable":false,"url":null},"paths":[]},"chartApi":2,"fixedLocationMode":false,"fixedPosition":[0,0],"toolBarButtons":true,"muteSound":false}}

2º this tack goes ok.
image

{"data":{"firstRun":false,"updatedRun":null,"kioskMode":false,"n2kRoute":null,"optAppPanel":true,"trueMagChoice":"navigation.headingMagnetic","loggedIn":true,"loginRequired":true,"loggedInBadgeText":"!","hasToken":false,"hasWakeLock":true,"routes":[],"waypoints":[],"charts":[["openstreetmap",{"name":"World Map","description":"Open Street Map","scale":250000,"layers":[],"minZoom":0,"maxZoom":24},true],["openseamap",{"name":"Sea Map","description":"Open Sea Map","scale":250000,"layers":[],"bounds":[-180,-90,180,90],"minZoom":12,"maxZoom":18,"type":"tilelayer","url":"https://tiles.openseamap.org/seamark/{z}/{x}/{y}.png"},true]],"chartBounds":false,"alarms":{},"notes":[],"regions":[],"tracks":[],"resourceSets":{},"selfId":"vessels.urn:mrn:signalk:uuid:a771987d-8ee9-464f-91da-27bbf3f22e3f","activeRoute":null,"activeRouteReversed":false,"activeRouteCircular":false,"activeRouteIsEditing":false,"editingId":null,"activeWaypoint":null,"trail":[[-8.732838333333333,42.25422833333333],[-8.732875,42.254308333333334],[-8.7329,42.25436333333333],[-8.732928333333334,42.254416666666664],[-8.732948333333333,42.25447166666667],[-8.732975,42.25453],[-8.732988333333333,42.25458166666667],[-8.733018333333334,42.254625],[-8.733038333333333,42.254668333333335],[-8.733063333333334,42.254711666666665],[-8.733078333333333,42.25476666666667],[-8.733111666666666,42.25481333333333],[-8.733143333333333,42.25485666666667],[-8.733186666666667,42.25488166666667],[-8.733216666666667,42.254893333333335],[-8.733263333333333,42.25487833333333],[-8.733291666666666,42.254821666666665],[-8.733266666666667,42.254755],[-8.73326,42.25469],[-8.733243333333334,42.25463166666667],[-8.733236666666667,42.25456],[-8.733231666666667,42.25450166666667],[-8.733223333333333,42.254435],[-8.733213333333333,42.25437]],"serverTrail":false,"server":{"id":"signalk-server-node","version":"2.11.0"},"lastGet":[-8.729667157347226,42.25385897776786],"map":{"suppressContextMenu":false,"atClick":{"features":[],"lonlat":[0,0]}},"vessels":{"showSelf":true,"self":{"id":"vessels.urn:mrn:signalk:uuid:a771987d-8ee9-464f-91da-27bbf3f22e3f","position":[-8.733203333333334,42.25432],"type":{"id":-1,"name":""},"properties":{},"lastUpdated":"2024-10-05T08:11:12.127Z","orientation":3.1311206787927546,"heading":3.1311206787927546,"headingTrue":3.075270142716184,"headingMagnetic":3.1311206787927546,"cog":null,"cogTrue":3.0997047522496834,"cogMagnetic":null,"sog":1.788888888888889,"registrations":{},"wind":{"direction":4.857290370702234,"mwd":4.857290370702234,"twd":4.801439834625663,"tws":3.9895041156469127,"speedTrue":3.667299318779625,"sog":3.9895041156469127,"awa":1.7191883748999082,"aws":2.9323340761912995},"buddy":false,"closestApproach":null,"mode":"day","anchor":{"maxRadius":null,"radius":null,"position":null},"resourceUpdates":[],"autopilot":{},"track":[],"courseApi":{"arrivalCircle":0,"activeRoute":null,"nextPoint":{"position":{"latitude":42.2517011232473,"longitude":-8.729812724575295},"type":"Location"},"previousPoint":{"position":{"longitude":-8.732531666666667,"latitude":42.252525},"type":"VesselPosition"}},"performance":{"beatAngle":0.742,"gybeAngle":2.607},"vectors":{"cog":[[-8.733203333333334,42.25432],[-8.732657305395797,42.24467574720866]]},"positionReceived":true,"course.calcMethod":"GreatCircle","course.bearingTrackTrue":1.9593390434160651,"course.bearingTrackMagnetic":1.9394422899433297,"course.crossTrackError":-165.11114206248544,"course.distance":404.91663728383463,"course.bearingTrue":2.3793368991429897,"course.bearingMagnetic":2.3594401456702543,"course.velocityMadeGood":1.3578227304383264,"course.timeToGo":298.21,"course.estimatedTimeOfArrival":"2021-12-04T14:01:27.210Z","course.targetSpeed":null},"aisTargets":{},"aisTracks":{},"activeId":null,"active":{"id":"vessels.urn:mrn:signalk:uuid:a771987d-8ee9-464f-91da-27bbf3f22e3f","position":[-8.733203333333334,42.25432],"type":{"id":-1,"name":""},"properties":{},"lastUpdated":"2024-10-05T08:11:12.127Z","orientation":3.1311206787927546,"heading":3.1311206787927546,"headingTrue":3.075270142716184,"headingMagnetic":3.1311206787927546,"cog":null,"cogTrue":3.0997047522496834,"cogMagnetic":null,"sog":1.788888888888889,"registrations":{},"wind":{"direction":4.857290370702234,"mwd":4.857290370702234,"twd":4.801439834625663,"tws":3.9895041156469127,"speedTrue":3.667299318779625,"sog":3.9895041156469127,"awa":1.7191883748999082,"aws":2.9323340761912995},"buddy":false,"closestApproach":null,"mode":"day","anchor":{"maxRadius":null,"radius":null,"position":null},"resourceUpdates":[],"autopilot":{},"track":[],"courseApi":{"arrivalCircle":0,"activeRoute":null,"nextPoint":{"position":{"latitude":42.2517011232473,"longitude":-8.729812724575295},"type":"Location"},"previousPoint":{"position":{"longitude":-8.732531666666667,"latitude":42.252525},"type":"VesselPosition"}},"performance":{"beatAngle":0.742,"gybeAngle":2.607},"vectors":{"cog":[[-8.733203333333334,42.25432],[-8.732657305395797,42.24467574720866]]},"positionReceived":true,"course.calcMethod":"GreatCircle","course.bearingTrackTrue":1.9593390434160651,"course.bearingTrackMagnetic":1.9394422899433297,"course.crossTrackError":-165.11114206248544,"course.distance":404.91663728383463,"course.bearingTrue":2.3793368991429897,"course.bearingMagnetic":2.3594401456702543,"course.velocityMadeGood":1.3578227304383264,"course.timeToGo":298.21,"course.estimatedTimeOfArrival":"2021-12-04T14:01:27.210Z","course.targetSpeed":null},"closest":{"id":null,"distance":null,"timeTo":null,"position":[0,0]},"prefAvailablePaths":{"navigation.headingTrue":null,"navigation.headingMagnetic":null,"navigation.courseOverGroundTrue":null,"navigation.courseOverGroundMagnetic":null,"environment.wind.angleTrueGround":null,"environment.wind.speedOverGround":null,"environment.wind.directionMagnetic":null,"environment.wind.angleTrueWater":null,"environment.wind.speedTrue":null,"environment.wind.directionTrue":null},"flagged":[]},"aircraft":{},"atons":{},"sar":{},"meteo":{},"aisMgr":{"updateList":["vessels.urn:mrn:imo:mmsi:263427750","vessels.urn:mrn:imo:mmsi:740335000"],"staleList":[],"removeList":[]},"navData":{"vmg":1.3578227304383264,"dtg":0.21863757271786752,"ttg":4.970166666666667,"bearing":{"value":135.18596236063772,"type":"M"},"bearingTrue":136.32596236063773,"bearingMagnetic":135.18596236063772,"xte":-0.08915291693463345,"eta":"2021-12-04T14:01:27.210Z","position":[-8.729812724575295,42.2517011232473],"pointIndex":-1,"pointTotal":0,"arrivalCircle":0,"startPosition":[-8.732531666666667,42.252525],"pointNames":[],"activeRoutePoints":[],"destPointName":""},"racing":{"startLine":[],"finishLine":[]},"anchor":{"raised":true,"radius":-1,"position":[0,0],"hasApi":true},"autopilot":{"console":false,"hasApi":false},"buildRoute":{"show":false},"weather":{"hasApi":false},"measurement":{"coords":[],"index":-1}},"config":{"experiments":true,"version":"","darkMode":{"enabled":false,"source":0},"map":{"zoomLevel":15.915957290028416,"center":[-8.733258333333234,42.25473333333332],"rotation":0,"moveMap":false,"northUp":true,"animate":false,"limitZoom":false,"invertColor":false,"lockMoveMap":false},"aisTargets":true,"courseData":true,"notes":true,"popoverMulti":false,"mapDoubleClick":true,"depthAlarm":{"enabled":false,"smoothing":10000},"anchorRadius":40,"plugins":{"instruments":"/@mxtommy/kip","startOnOpen":false,"parameters":null},"units":{"distance":"ft","depth":"m","speed":"kn","temperature":"c"},"selections":{"routes":[],"waypoints":[],"tracks":[],"charts":["openstreetmap","openseamap"],"notes":[],"chartOrder":[],"headingAttribute":"navigation.headingMagnetic","preferredPaths":{"tws":"environment.wind.speedOverGround","twd":"environment.wind.angleTrueGround","heading":"navigation.headingMagnetic","course":"navigation.courseGreatCircle"},"positionFormat":"XY","aisTargets":null,"aisWindApparent":false,"aisWindMinZoom":15,"aisShowTrack":false,"aisMaxAge":540000,"aisStaleAge":360000,"aisProfile":0,"aisState":[],"notesMinZoom":10,"pluginFavourites":[],"trailFromServer":true,"trailDuration":6,"resourceSets":{},"signalk":{"vessels":true,"atons":true,"aircraft":false,"sar":false,"maxRadius":0,"meteo":true,"proxied":true},"wakeLock":false,"trailResolution":{"lastHour":"1m","next23":"1m","beyond24":"30m"},"course":{"autoNextPointOnArrival":false,"autoNextPointDelay":5,"autoNextPointTrigger":"perpendicularPassed"},"s57Options":{"graphicsStyle":"Paper","boundaries":"Plain","colors":4,"shallowDepth":2,"safetyDepth":3,"deepDepth":6},"labelsMinZoom":8,"aisTargetTypes":[],"aisFilterByShipType":false,"vessel":{"trail":true,"windVectors":true,"cogLine":10,"headingLineSize":5,"laylines":true,"aisCogLine":10}},"resources":{"notes":{"rootFilter":"?position=[%map:longitude%,%map:latitude%]&distance=%note:radius%","getRadius":20,"groupNameEdit":false,"groupRequiresPosition":true},"video":{"enable":false,"url":null},"paths":[]},"chartApi":2,"fixedLocationMode":false,"fixedPosition":[0,0],"toolBarButtons":true,"muteSound":false}}

@petsicola
Copy link
Author

I was trying and only fails in that case... but it goes much better that the version before

@panaaj
Copy link
Member

panaaj commented Oct 6, 2024

Value (or lack of) gybeAngle seems to be the issue.... it is null in 1.
Will update to not display mark laylines when gybeAngle is null.

@petsicola
Copy link
Author

petsicola commented Oct 7, 2024

vectors Ok
now lay lines. In this case lay lines are not showed. I send you image and values.
and downwind laylines I think could be very usefull. and wtih it would be finished,

image

{"data":{"firstRun":true,"updatedRun":null,"kioskMode":false,"n2kRoute":null,"optAppPanel":true,"trueMagChoice":"navigation.headingTrue","loggedIn":true,"loginRequired":true,"loggedInBadgeText":"!","hasToken":false,"hasWakeLock":true,"routes":[["536214eb-65a4-4d38-9be9-d103428229c7",{"name":"280","description":"","distance":5752,"feature":{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-8.867983748052907,42.347153569013074],[-8.93611918354038,42.35875695327354]]},"properties":{},"id":""}},false],["7fe90949-154a-41af-8e1e-dc88209f95d2",{"name":"290","description":"","distance":5663,"feature":{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-8.868666239894186,42.34732174930056],[-8.932934221614422,42.365566637621356]]},"properties":{},"id":""}},false],["8eea95a0-325b-4a9f-b63e-f0efec4275ab",{"name":"RUTA DESMARQUE","description":"","distance":10907,"feature":{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-8.803571556828702,42.36734277761744],[-8.829681816783161,42.37276811695452],[-8.880591090086753,42.304517195371034]]},"properties":{},"id":""}},false],["cd3faab7-8dcf-4a8d-963f-b43ec200e837",{"name":"VIENTO","description":"","distance":5975,"feature":{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-8.867983748052907,42.347153569013074],[-8.923379335836547,42.38187325123849]]},"properties":{},"id":""}},false],["cd7c642a-4e2b-420e-bb09-a3a20de674e8",{"name":"RUTA","description":"","distance":14709,"feature":{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-8.86093286292739,42.38101730210198],[-8.887445836170617,42.25034908978907]]},"properties":{},"id":""}},true],["dde052c3-0032-43c2-b8e0-9c5aeea57d5c",{"name":"310","description":"","distance":5855,"feature":{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-8.867756250772482,42.3469012977383],[-8.930886746090591,42.37119878175611]]},"properties":{},"id":""}},false],["e8e60a17-6622-4024-8742-cb4b79169c5c",{"name":"ruta","description":"","distance":23111,"feature":{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-8.880172622127596,42.213585107205745],[-8.880656338911058,42.25247073426013],[-8.86975072415664,42.31730194278029],[-8.835802600808218,42.35464452056016],[-8.778798600692864,42.372730668369314],[-8.767629140420196,42.382202232162655]]},"properties":{},"id":""}},false]],"waypoints":[["1316fc7a-9ce1-4098-821f-a3eeb1e6e969",{"name":"Metereologica sur cies","description":"","feature":{"type":"Feature","geometry":{"type":"Point","coordinates":[-8.893417,42.177483]},"properties":{"sym":"Marks-Caution-Lighted"},"id":""},"type":"wpt"},false],["14c310a3-9bc1-47f5-9e92-b593cd83646f",{"name":"Salaiños","description":"","feature":{"type":"Feature","geometry":{"type":"Point","coordinates":[-8.829638,42.242588]},"properties":{"sym":"Marks-Lateral-Starboard-IALA-B-Lighted"},"id":""},"type":"wpt"},false],["1bfa3eac-0dec-4c57-988c-7ff717e59258",{"name":"Tofiño","description":"","feature":{"type":"Feature","geometry":{"type":"Point","coordinates":[-8.778653,42.2283]},"properties":{"sym":"Marks-Lateral-Starboard-IALA-A-Lighted"},"id":""},"type":"wpt"},false],["2e4e455b-f311-4e5a-a28d-6bbfc5e89c08",{"name":"Salgueirón","description":"","feature":{"type":"Feature","geometry":{"type":"Point","coordinates":[-8.7784,42.242533]},"properties":{"sym":"Marks-Lateral-Port-IALA-A-Lighted"},"id":""},"type":"wpt"},false],["32d5a479-6236-4214-a994-eee4ac9a7940",{"name":"Camouco","description":"Torreón blanco y rojo","feature":{"type":"Feature","geometry":{"type":"Point","coordinates":[-8.912333,42.395]},"properties":{"sym":"Hazard-Lighthouse"},"id":""},"type":"wpt"},false],["334b23e2-839d-4b47-850c-a92fd9a661be",{"name":"Guixar","description":"Boya Metálica Negra y Roja","feature":{"type":"Feature","geometry":{"type":"Point","coordinates":[-8.7115,42.2542]},"properties":{"sym":"Marks-Danger-Topmark-Lighted"},"id":""},"type":"wpt"},false],["3b3392cf-80ab-49a3-b691-1d33c82fdf35",{"name":"Carallones","description":"baliza metálica amarilla y negra","feature":{"type":"Feature","geometry":{"type":"Point","coordinates":[-8.882617,42.136467]},"properties":{"sym":"Marks-Cardinal-North-Lighted"},"id":""},"type":"wpt"},false],["4ce08492-6b2c-4c61-b828-03130056e764",{"name":"picamillo","description":"","feature":{"type":"Feature","geometry":{"type":"Point","coordinates":[-8.892078,42.40459]},"properties":{"sym":"Marks-Lateral-Port-IALA-B-Lighted"},"id":""},"type":"wpt"},false],["55fe9eaf-e4d6-42cf-b033-2069195cf64a",{"name":"Rodeira","description":"","feature":{"type":"Feature","geometry":{"type":"Point","coordinates":[-8.762892,42.249538]},"properties":{"sym":"Marks-Lateral-Port-IALA-A"},"id":""},"type":"wpt"},false],["64ddcc01-c57b-455f-8258-f8cebd4bdd52",{"name":"Moaña","description":"Baliza metálica pequeña roja y verde","feature":{"type":"Feature","geometry":{"type":"Point","coordinates":[-8.7326,42.260283]},"properties":{"sym":"Marks-Lateral-Port-IALA-A-Lighted"},"id":""},"type":"wpt"},false],["7fa6b523-44e8-4985-be45-b9ca5ee4f1e3",{"name":"faxilda","description":"","feature":{"type":"Feature","geometry":{"type":"Point","coordinates":[-8.892349,42.408073]},"properties":{"sym":"Marks-Lateral-Starboard-IALA-B"},"id":""},"type":"wpt"},false],["9536bfd2-342b-4ee6-abb0-d2bde3b5fcc9",{"name":"Sinal do Maño","description":"","feature":{"type":"Feature","geometry":{"type":"Point","coordinates":[-8.924247,42.570095]},"properties":{"sym":"Marks-Lateral-Port-IALA-A-Lighted"},"id":""},"type":"wpt"},false],["98d551ab-9984-45cd-8d23-561a9e026c36",{"name":"Lousal","description":"","feature":{"type":"Feature","geometry":{"type":"Point","coordinates":[-8.689017,42.275017]},"properties":{"sym":"Marks-Lateral-Starboard-IALA-B"},"id":""},"type":"wpt"},false],["ade6aa1d-5172-4c54-a460-1c6984850df1",{"name":"Bondaña: (baliza metálica verde)","description":"","feature":{"type":"Feature","geometry":{"type":"Point","coordinates":[-8.810317,42.205317]},"properties":{"sym":"Marks-Lateral-Starboard-IALA-A-Lighted"},"id":""},"type":"wpt"},false],["c9204b89-6534-4c12-86c8-8ac5a3c8982e",{"name":"Os lobos","description":"","feature":{"type":"Feature","geometry":{"type":"Point","coordinates":[-8.9109,42.123317]},"properties":{"sym":"Marks-Cardinal-Nord-Lighted"},"id":""},"type":"wpt"},false],["d97c2c2d-2ae1-475f-a1a8-bdc93c3f3b6f",{"name":"La Negra: (baliza metálica amarilla y negra)","description":"","feature":{"type":"Feature","geometry":{"type":"Point","coordinates":[-8.887689,42.156912]},"properties":{"sym":"Marks-Cardinal-North-Lighted"},"id":""},"type":"wpt"},false],["ef6e5b66-c35f-4429-9509-b866fd771255",{"name":"Subrido","description":"","feature":{"type":"Feature","geometry":{"type":"Point","coordinates":[-8.8683,42.24305]},"properties":{"sym":"Marks-Lateral-Port-IALA-A-Lighted"},"id":""},"type":"wpt"},false],["f4907592-4c25-46cd-89b8-4050ab982599",{"name":"Cardinal Samil","description":"","feature":{"type":"Feature","geometry":{"type":"Point","coordinates":[-8.789969,42.219299]},"properties":{"sym":"Marks-Cardinal-South-Lighted"},"id":""},"type":"wpt"},false]],"charts":[["openstreetmap",{"name":"World Map","description":"Open Street Map","scale":250000,"layers":[],"minZoom":0,"maxZoom":24},true],["openseamap",{"name":"Sea Map","description":"Open Sea Map","scale":250000,"layers":[],"bounds":[-180,-90,180,90],"minZoom":12,"maxZoom":18,"type":"tilelayer","url":"https://tiles.openseamap.org/seamark/{z}/{x}/{y}.png"},true],["Galicia Entera - Navionics",{"identifier":"Galicia Entera - Navionics","name":"Unnamed map","description":"Created by SAS.Planet","scale":250000,"layers":[],"bounds":[-11.25,40.97989807,-5.625,45.08903556],"format":"png","minZoom":6,"maxZoom":18,"type":"tilelayer","url":"http://localhost:3000/signalk/v2/api/resources/charts/Galicia Entera - Navionics/{z}/{x}/{y}"},false]],"chartBounds":false,"alarms":{},"notes":[],"regions":[],"tracks":[],"resourceSets":{},"selfId":"vessels.urn:mrn:signalk:uuid:5856043b-fddf-4fb3-a3bb-cff4ae9eda01","activeRoute":null,"activeRouteReversed":false,"activeRouteCircular":false,"activeRouteIsEditing":false,"editingId":null,"activeWaypoint":null,"trail":[[-8.7502184,42.2286411],[-8.7502187,42.2286411],[-8.7502195,42.228641],[-8.7502196,42.2286411],[-8.7502196,42.2286412],[-8.7502196,42.2286413],[-8.7502195,42.2286412],[-8.7502196,42.2286412],[-8.7502196,42.2286413],[-8.7502193,42.2286415],[-8.7502193,42.2286416],[-8.7502191,42.2286416],[-8.7502192,42.2286415],[-8.7502191,42.2286415],[-8.7502191,42.2286414],[-8.7502192,42.2286414],[-8.7502192,42.2286413],[-8.7502192,42.2286415],[-8.7502193,42.2286416],[-8.7502194,42.2286416],[-8.7502196,42.2286417],[-8.75022,42.2286415],[-8.7502197,42.2286418],[-8.7502199,42.2286416],[-8.7502199,42.2286417],[-8.7502201,42.2286416],[-8.7502203,42.2286416],[-8.7502204,42.2286415],[-8.7502204,42.2286416],[-8.7502203,42.2286415],[-8.7502204,42.2286415],[-8.7502204,42.2286414],[-8.7502205,42.2286413],[-8.7502206,42.2286412],[-8.7502207,42.2286411]],"serverTrail":false,"server":{"id":"signalk-server-node","version":"2.8.3"},"lastGet":[-8.825481039269325,42.182597760832465],"map":{"suppressContextMenu":false,"atClick":{"features":[],"lonlat":[-8.751197693336945,42.228232735346694]}},"vessels":{"showSelf":true,"self":{"id":"vessels.urn:mrn:signalk:uuid:5856043b-fddf-4fb3-a3bb-cff4ae9eda01","name":null,"position":[-8.7502207,42.2286411],"type":{"name":"Sailing","id":36},"properties":{},"lastUpdated":"2024-10-07T17:15:49.088Z","orientation":5.8427,"heading":5.822454180676866,"headingTrue":5.822454180676866,"headingMagnetic":5.8427,"cog":6.0011,"cogTrue":6.0011,"cogMagnetic":6.021345819323134,"sog":0,"registrations":{},"wind":{"direction":3.5168518026642652,"mwd":3.537097621987399,"twd":3.5168518026642652,"tws":3.756,"speedTrue":4.024,"sog":3.756,"awa":-2.3056023780126007,"aws":4.024},"buddy":false,"closestApproach":null,"mode":"day","anchor":{"maxRadius":null,"radius":null,"position":null},"resourceUpdates":[],"autopilot":{},"track":[],"courseApi":{"arrivalCircle":0,"activeRoute":null,"nextPoint":{"position":{"latitude":42.22769065811124,"longitude":-8.750899271844547},"type":"Location"},"previousPoint":{"position":{"longitude":-8.7502206,"latitude":42.2286412},"type":"VesselPosition"}},"performance":{"beatAngle":-0.711,"gybeAngle":-2.638},"vectors":{"cog":[[-8.7502207,42.2286411],[-8.750220699999998,42.22864109999999]]},"positionReceived":true,"course.calcMethod":"GreatCircle","course.bearingTrackTrue":3.6279295282545183,"course.bearingTrackMagnetic":3.607683708931384,"course.crossTrackError":0,"course.distance":119.55783719159484,"course.bearingTrue":3.627912112542083,"course.bearingMagnetic":3.6076662932189487,"course.velocityMadeGood":0,"course.timeToGo":null,"course.estimatedTimeOfArrival":null,"course.targetSpeed":null},"aisTargets":{},"aisTracks":{},"activeId":null,"active":{"id":"vessels.urn:mrn:signalk:uuid:5856043b-fddf-4fb3-a3bb-cff4ae9eda01","name":null,"position":[-8.7502207,42.2286411],"type":{"name":"Sailing","id":36},"properties":{},"lastUpdated":"2024-10-07T17:15:49.088Z","orientation":5.8427,"heading":5.822454180676866,"headingTrue":5.822454180676866,"headingMagnetic":5.8427,"cog":6.0011,"cogTrue":6.0011,"cogMagnetic":6.021345819323134,"sog":0,"registrations":{},"wind":{"direction":3.5168518026642652,"mwd":3.537097621987399,"twd":3.5168518026642652,"tws":3.756,"speedTrue":4.024,"sog":3.756,"awa":-2.3056023780126007,"aws":4.024},"buddy":false,"closestApproach":null,"mode":"day","anchor":{"maxRadius":null,"radius":null,"position":null},"resourceUpdates":[],"autopilot":{},"track":[],"courseApi":{"arrivalCircle":0,"activeRoute":null,"nextPoint":{"position":{"latitude":42.22769065811124,"longitude":-8.750899271844547},"type":"Location"},"previousPoint":{"position":{"longitude":-8.7502206,"latitude":42.2286412},"type":"VesselPosition"}},"performance":{"beatAngle":-0.711,"gybeAngle":-2.638},"vectors":{"cog":[[-8.7502207,42.2286411],[-8.750220699999998,42.22864109999999]]},"positionReceived":true,"course.calcMethod":"GreatCircle","course.bearingTrackTrue":3.6279295282545183,"course.bearingTrackMagnetic":3.607683708931384,"course.crossTrackError":0,"course.distance":119.55783719159484,"course.bearingTrue":3.627912112542083,"course.bearingMagnetic":3.6076662932189487,"course.velocityMadeGood":0,"course.timeToGo":null,"course.estimatedTimeOfArrival":null,"course.targetSpeed":null},"closest":{"id":null,"distance":null,"timeTo":null,"position":[0,0]},"prefAvailablePaths":{"environment.wind.angleTrueGround":null,"environment.wind.speedOverGround":null,"navigation.courseOverGroundTrue":null,"navigation.courseOverGroundMagnetic":null,"navigation.headingTrue":null,"environment.wind.angleTrueWater":null,"environment.wind.speedTrue":null,"environment.wind.directionTrue":null,"environment.wind.directionMagnetic":null,"navigation.headingMagnetic":null},"flagged":[]},"aircraft":{},"atons":{},"sar":{},"meteo":{},"aisMgr":{"updateList":["vessels.urn:mrn:imo:mmsi:225990254","vessels.urn:mrn:imo:mmsi:232015308","vessels.urn:mrn:imo:mmsi:224261460","vessels.urn:mrn:imo:mmsi:224066980"],"staleList":[],"removeList":[]},"navData":{"vmg":0,"dtg":0.06455609109646197,"ttg":0,"bearing":{"value":207.86405249305187,"type":"T"},"bearingTrue":207.86405249305187,"bearingMagnetic":206.70405249305188,"xte":0,"eta":null,"position":[-8.750899271844547,42.22769065811124],"pointIndex":-1,"pointTotal":0,"arrivalCircle":0,"startPosition":[-8.7502206,42.2286412],"pointNames":[],"activeRoutePoints":[],"destPointName":""},"racing":{"startLine":[],"finishLine":[]},"anchor":{"raised":true,"radius":-1,"position":[0,0],"hasApi":true},"autopilot":{"console":false,"hasApi":false},"buildRoute":{"show":false},"weather":{"hasApi":false},"measurement":{"coords":[],"index":-1}},"config":{"chartApi":2,"experiments":true,"version":"","darkMode":{"enabled":false,"source":0},"map":{"zoomLevel":18.20221403326046,"center":[-8.750661467217794,42.228073910651574],"rotation":0,"moveMap":false,"northUp":true,"animate":false,"limitZoom":true,"invertColor":false,"lockMoveMap":false},"fixedLocationMode":false,"fixedPosition":[0,0],"aisTargets":true,"courseData":true,"toolBarButtons":true,"notes":true,"popoverMulti":false,"mapDoubleClick":false,"depthAlarm":{"enabled":false,"smoothing":10000},"anchorRadius":24,"plugins":{"instruments":"/@signalk/instrumentpanel","startOnOpen":false,"parameters":null},"units":{"distance":"ft","depth":"m","speed":"kn","temperature":"c"},"selections":{"routes":["cd7c642a-4e2b-420e-bb09-a3a20de674e8"],"waypoints":[],"tracks":[],"charts":["openstreetmap","openseamap"],"notes":[],"chartOrder":[],"headingAttribute":"navigation.headingTrue","preferredPaths":{"tws":"environment.wind.speedOverGround","twd":"environment.wind.angleTrueGround","heading":"navigation.headingMagnetic","course":"navigation.courseGreatCircle"},"positionFormat":"XY","aisTargets":null,"aisWindApparent":false,"aisWindMinZoom":15,"aisShowTrack":false,"aisMaxAge":540000,"aisStaleAge":360000,"aisProfile":0,"aisState":[],"notesMinZoom":10,"labelsMinZoom":8,"pluginFavourites":[],"trailFromServer":true,"trailDuration":9,"trailResolution":{"lastHour":"5s","next23":"1m","beyond24":"5m"},"s57Options":{"graphicsStyle":"Paper","boundaries":"Plain","colors":4,"shallowDepth":2,"safetyDepth":3,"deepDepth":6},"resourceSets":{},"signalk":{"vessels":true,"atons":true,"aircraft":false,"sar":false,"meteo":true,"maxRadius":0,"proxied":true},"wakeLock":false,"course":{"autoNextPointOnArrival":true,"autoNextPointDelay":5000,"autoNextPointTrigger":"perpendicularPassed"},"aisTargetTypes":[],"aisFilterByShipType":false,"vessel":{"trail":true,"windVectors":true,"laylines":true,"cogLine":10,"headingLineSize":2,"aisCogLine":10}},"resources":{"notes":{"rootFilter":"?position=[%map:longitude%,%map:latitude%]&distance=%note:radius%","getRadius":20,"groupNameEdit":false,"groupRequiresPosition":true},"video":{"enable":false,"url":null},"paths":[]},"muteSound":false}}

@panaaj
Copy link
Member

panaaj commented Oct 24, 2024

Downwind laylines included in v2.12.0 release.

@petsicola
Copy link
Author

Lay lines are perfect for me. I was using vectors last week on the boat and are very useful for us.

  • Lay lines and vectors are a bit thin. In some cases
  • Time to lay line it would be useful because we can say to the crew when we are going to take the next tack or jibe.

I put two images to see lay lines with charts and see if people say if lines would be a bit thick.

image

image

@panaaj
Copy link
Member

panaaj commented Oct 24, 2024

I will close this issue as it is resolved operationally.
Time to lay line can be addressed in #197.

@panaaj panaaj closed this as completed Oct 24, 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