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.
- package/index.js +8 -0
- 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');
|