speedandcurrent 1.7.1 → 1.7.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.
Files changed (2) hide show
  1. package/index.js +8 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -358,6 +358,14 @@ module.exports = function (app) {
358
358
  noCurrent.ySmoother.reset(0,0);
359
359
  PolarSmoother.send(app, plugin.id, [noCurrent]);
360
360
 
361
+ MessageHandler.setMeta(app, plugin.id, 'navigation.leewayAngle', {
362
+ units: 'rad',
363
+ description: 'Leeway Angle',
364
+ displayUnits: {
365
+ category: 'angle'
366
+ }
367
+ });
368
+
361
369
 
362
370
  // boat speed — STW magnitude is optionally forwarded; leeway angle passOn is always false
363
371
  const rawBoatSpeedPolar = new Polar(app, plugin.id, 'boatSpeed');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "speedandcurrent",
3
- "version": "1.7.1",
3
+ "version": "1.7.2",
4
4
  "description": "A plugin that automatically corrects boat speed and calculates current and leeway using sensor fusion.",
5
5
  "main": "index.js",
6
6
  "scripts": {