signalk-racer 1.3.3 → 1.3.4

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/README.md CHANGED
@@ -40,14 +40,17 @@ These values can be displayed in Skip/KIP widgets, Freeboard-SK, or other Signal
40
40
  There are dedicated widgets for the start timer and line adjustment since 3.5.0 of KIP
41
41
 
42
42
  ![Skip and Freeboard Screenshot](images/racer-skip.png)
43
+
43
44
  *Skip start line view and timer widgets besides Freeboard-SK*
44
45
 
45
46
  ![KIP and Freeboard Screenshot](images/racer-kip.png)
47
+
46
48
  *KIP racer timer and line widgets beside Freeboard-SK showing the next leg*
47
49
 
48
50
  There is also a webapp to: adjust the line, visualise the approach to the line, adjust VMGs, and configure the timer. See the Skip widgets below for a full description of the line visualisation.
49
51
 
50
- ![Signalk Racer Webapp](images/racer-webapp.png)
52
+ ![Signalk Racer](images/racer-webapp.png)
53
+
51
54
  *The racer webapp: line adjustment, the approach to the line, best VMGs and the start timer*
52
55
 
53
56
 
@@ -85,6 +88,7 @@ The GPS position provided is assumed to be the **bow** of the boat. The offsets
85
88
  ### Distance to Start Line (`navigation.racing.distanceStartline`)
86
89
 
87
90
  ![Distance to Start Line](images/racer-line.png)
91
+
88
92
  *The start zone: inside it the distance is straight across to the line, outside it the boat must first reach the zone*
89
93
 
90
94
  - Computes the distance from the **bow** of the boat to the configured start line.
@@ -253,6 +257,7 @@ Used to **start**, **sync**, **reset**, or **set a fixed start time**.
253
257
  The Skip instrument plugin includes widgets for `racer-timer`, `racer-line` and `race-line-view`. The KIP plugin also contains older `racer-timer` and `racer-line` widgets.
254
258
 
255
259
  ![Skip Line View: Approaching the start zone](images/racer-skip-approach.png)
260
+
256
261
  *Approaching the start zone*
257
262
 
258
263
  The `skip-line-view` widget is a graphical alternative to the `racer-line` widget, both have similar features.
@@ -268,52 +273,62 @@ The screenshot above shows the Skip `racer-line-view` widget with:
268
273
 
269
274
 
270
275
  ![Skip Line View: Final Approach](images/racer-skip-final.png)
276
+
271
277
  *Final Approach to the start line*
272
278
 
273
279
  The screenshot above shows the Skip `racer-line-view` widget with the boat in the final approach to the line: 4s/11m from the line with 2s to burn. The current course projection has not crossed the line, but the best VMG dot is just over the line. This view indicates that boat should accelerate to full speed in 2 seconds for a perfect start.
274
280
 
275
281
  ![Skip Line View: Good Start](images/racer-skip-started.png)
282
+
276
283
  *Good start line goes Green*
277
284
 
278
285
  On a good start, the line goes green and stays green until the timer is reset.
279
286
 
280
287
  ![Skip Line View: OCS Start](images/racer-skip-ocs.png)
288
+
281
289
  *OCS start line goes Red*
282
290
 
283
291
  If the boat is on the course side (OCS) when the tim*Set start line*counts to zero, then the line goes red and stays green until the timer is reset.
284
292
 
285
293
  ![Skip Line View: Set Line](images/racer-skip-set-line.png)
294
+
286
295
  *Set the line*
287
296
 
288
297
  The first mode screen selected from the `racer-line-view` widget displays the current line length and perpendicular header. The ends of the lines may be "pinged" by press the button at either either end. Alternately, a known line can be configured in the plugin configuration and selected by name on this screen.
289
298
 
290
299
 
291
300
  ![Skip Line View: Adjust the Line](images/racer-skip-adjust-line.png)
301
+
292
302
  *Adjust the line*
293
303
 
294
304
  The second mode screen selected from the `racer-line-view` widget allows each ends of the line to be adjusted manually if there is no time to "ping" an end after it has been moved or incorrectly set.
295
305
 
296
306
  ![Skip Line View: Best VMGs](images/racer-skip-vmgs.png)
307
+
297
308
  *Best VMGs*
298
309
 
299
310
  The third mode screen selected from the `racer-line-view` widget displays the effective best VMGs relative to the line that have been calculated by the plugin. These may be selected and manually adjusted with the "VMG" button; "Reset" to remove all manual adjustments; or "Clear" to discard all collected VMG samples.
300
311
 
301
312
  ![Skip Timer: Start Timer](images/racer-timer-start.png)
313
+
302
314
  *Start Timer*
303
315
 
304
316
  The screenshot above shows the Skip `racer-timer` widget with the start button available to start the timer and the +/- minute adjustment buttons. Other views are available via the "..." mode button.
305
317
 
306
318
  ![Skip Timer: Adjust Timer](images/racer-timer-start.png)
319
+
307
320
  *Adjust Timer*
308
321
 
309
322
  The adjust mode screen of the `racer-timer` widget allows the start time to be adjusted by +/- minutes or +/- seconds, even when the timer is running.
310
323
 
311
324
  ![Skip Timer: Set Timer](images/racer-timer-set.png)
325
+
312
326
  *Set Timer*
313
327
 
314
328
  The set mode screen of the `racer-timer` widget allows the start time to be set to a specific absolute time. Perfect for pursuit style races.
315
329
 
316
330
  ![Skip Timer: Sync Timer](images/racer-timer-sync.png)
331
+
317
332
  *Sync Timer*
318
333
 
319
334
  The sync mode screen of the `racer-timer` widget allows the start time to be synced to the nearest whole minute, or reset to the initial value.
package/ReleaseNotes.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 1.3.4 Updated presentation
2
+ + New logo
3
+ + Named just "Signalk Racer"
4
+
1
5
  ## 1.3.3 Updated for Skip widgets
2
6
  + Updated the line visualisation to match the latest skip widget.
3
7
  + Update the documentation to reflect the latest skip widget.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "signalk-racer",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
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": {
@@ -15,7 +15,7 @@
15
15
  "signalk-plugin-enabled-by-default": false,
16
16
  "signalk": {
17
17
  "appIcon": "assets/signalk-racer-72x72.png",
18
- "displayName": "Signalk Racer WebApp"
18
+ "displayName": "Signalk Racer"
19
19
  },
20
20
  "author": "gregw@mortbay.com",
21
21
  "license": "Apache-2.0",
@@ -0,0 +1,24 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="72" height="72" viewBox="0 0 72 72">
2
+ <rect width="72" height="72" rx="12" fill="#14202e"/>
3
+ <!-- the line extended, and the start zone wedge on the pre-start side -->
4
+ <g stroke="#6b7884" stroke-width="1.6" stroke-dasharray="3 3" fill="none">
5
+ <path d="M0 27.5 H72"/>
6
+ <path d="M12 27.5 L-12 51.5"/>
7
+ <path d="M44 27.5 L80.5 64"/>
8
+ </g>
9
+ <!-- the start line -->
10
+ <path d="M12 27.5 H44" stroke="#e4e8ec" stroke-width="3.5" stroke-dasharray="5.5 3"/>
11
+ <!-- wind -->
12
+ <path d="M30.5 3 V11 H26 L33 18.5 L40 11 H35.5 V3 Z" fill="#c8cdd2"/>
13
+ <!-- time to burn, 0:06, on a seven segment mast display -->
14
+ <g transform="skewX(-8) translate(7 0)">
15
+ <g fill="#ffb000" fill-opacity="0.06"><polygon points="4.00,57.00 5.20,55.80 10.80,55.80 12.00,57.00 10.80,58.20 5.20,58.20"/><polygon points="21.50,57.00 22.70,55.80 28.30,55.80 29.50,57.00 28.30,58.20 22.70,58.20"/><polygon points="42.50,49.50 43.70,50.70 43.70,55.30 42.50,56.50 41.30,55.30 41.30,50.70"/></g>
16
+ <g fill="#ffb000"><polygon points="4.00,49.00 5.20,47.80 10.80,47.80 12.00,49.00 10.80,50.20 5.20,50.20"/><polygon points="12.50,49.50 13.70,50.70 13.70,55.30 12.50,56.50 11.30,55.30 11.30,50.70"/><polygon points="12.50,57.50 13.70,58.70 13.70,63.30 12.50,64.50 11.30,63.30 11.30,58.70"/><polygon points="4.00,65.00 5.20,63.80 10.80,63.80 12.00,65.00 10.80,66.20 5.20,66.20"/><polygon points="3.50,57.50 4.70,58.70 4.70,63.30 3.50,64.50 2.30,63.30 2.30,58.70"/><polygon points="3.50,49.50 4.70,50.70 4.70,55.30 3.50,56.50 2.30,55.30 2.30,50.70"/><polygon points="21.50,49.00 22.70,47.80 28.30,47.80 29.50,49.00 28.30,50.20 22.70,50.20"/><polygon points="30.00,49.50 31.20,50.70 31.20,55.30 30.00,56.50 28.80,55.30 28.80,50.70"/><polygon points="30.00,57.50 31.20,58.70 31.20,63.30 30.00,64.50 28.80,63.30 28.80,58.70"/><polygon points="21.50,65.00 22.70,63.80 28.30,63.80 29.50,65.00 28.30,66.20 22.70,66.20"/><polygon points="21.00,57.50 22.20,58.70 22.20,63.30 21.00,64.50 19.80,63.30 19.80,58.70"/><polygon points="21.00,49.50 22.20,50.70 22.20,55.30 21.00,56.50 19.80,55.30 19.80,50.70"/><polygon points="34.00,49.00 35.20,47.80 40.80,47.80 42.00,49.00 40.80,50.20 35.20,50.20"/><polygon points="42.50,57.50 43.70,58.70 43.70,63.30 42.50,64.50 41.30,63.30 41.30,58.70"/><polygon points="34.00,65.00 35.20,63.80 40.80,63.80 42.00,65.00 40.80,66.20 35.20,66.20"/><polygon points="33.50,57.50 34.70,58.70 34.70,63.30 33.50,64.50 32.30,63.30 32.30,58.70"/><polygon points="33.50,49.50 34.70,50.70 34.70,55.30 33.50,56.50 32.30,55.30 32.30,50.70"/><polygon points="34.00,57.00 35.20,55.80 40.80,55.80 42.00,57.00 40.80,58.20 35.20,58.20"/><rect x="15.70" y="52.70" width="2.2" height="2.2"/><rect x="15.70" y="59.10" width="2.2" height="2.2"/></g>
17
+ </g>
18
+ <!-- boat on the starboard lay line, closing on the committee boat -->
19
+ <path d="M10 0 C6 2.6 -1 4.4 -10 3 L-10 -3 C-1 -4.4 6 -2.6 10 0 Z" fill="#6cf" stroke="#14202e" stroke-width="1" transform="translate(55 47) rotate(225)"/>
20
+ <!-- pin end and committee boat -->
21
+ <circle cx="12" cy="27.5" r="5" fill="#f55" stroke="#14202e" stroke-width="1.4"/>
22
+ <path d="M36.5 24.5 H52 L49 30.5 H39.5 Z" fill="#5d5" stroke="#14202e" stroke-width="1.2"/>
23
+ <rect x="41.5" y="19.5" width="6" height="5" fill="#5d5" stroke="#14202e" stroke-width="1.2"/>
24
+ </svg>