signalk-racer 1.3.1 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ReleaseNotes.md +3 -0
- package/index.js +13 -0
- package/package.json +1 -1
package/ReleaseNotes.md
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
## 1.3.2 Distance to length
|
|
2
|
+
+ Set the metadata for distance to line as a length rather than as a distance.
|
|
3
|
+
|
|
1
4
|
## 1.3.1 Start line approach
|
|
2
5
|
+ Fixed the distance to the start zone being measured against a 54.7 degree wedge while
|
|
3
6
|
the zone itself was tested at 45 degrees, so `distanceStartline` and `timeToLine`
|
package/index.js
CHANGED
|
@@ -145,11 +145,23 @@ module.exports = (app) => {
|
|
|
145
145
|
"value": {
|
|
146
146
|
"type": "number",
|
|
147
147
|
"units": "m",
|
|
148
|
+
"displayUnits": { "category": "length" },
|
|
148
149
|
"description": "Length of the start line",
|
|
149
150
|
"displayName": "Length of the start line",
|
|
150
151
|
"shortName": "SLL"
|
|
151
152
|
}
|
|
152
153
|
},
|
|
154
|
+
{
|
|
155
|
+
"path": "navigation.racing.distanceStartline",
|
|
156
|
+
"value": {
|
|
157
|
+
"type": "number",
|
|
158
|
+
"units": "m",
|
|
159
|
+
"displayUnits": { "category": "length" },
|
|
160
|
+
"description": "The minimum distance from the bow to the start line, via perpendicular approach",
|
|
161
|
+
"displayName": "Distance to the start line",
|
|
162
|
+
"shortName": "DTL"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
153
165
|
{
|
|
154
166
|
"path": "navigation.racing.startLineBearing",
|
|
155
167
|
"value": {
|
|
@@ -225,6 +237,7 @@ module.exports = (app) => {
|
|
|
225
237
|
"value": {
|
|
226
238
|
"type": "number",
|
|
227
239
|
"units": "m",
|
|
240
|
+
"displayUnits": { "category": "length" },
|
|
228
241
|
"description": "Bias of the start line for the starboard end",
|
|
229
242
|
"displayName": "Bias of the start line for the starboard end",
|
|
230
243
|
"shortName": "Bias"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "signalk-racer",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2",
|
|
4
4
|
"description": "Signalk plugin to calculate values of interest to sail racers, such as: Time to Start; Time of Start, Time to Burn; Distance to Line; Next leg TWA.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": {
|