UNPKG

@signalk/n2k-signalk

Version:

NMEA 2000 to SignalK conversion library

28 lines 969 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const ts_pgns_1 = require("@canboat/ts-pgns"); module.exports = [ { pgnClass: ts_pgns_1.PGN_65341_SimnetAutopilotAngle, node: 'steering.autopilot.target.headingMagnetic', filter: function (n2k) { return (n2k.fields.mode === ts_pgns_1.SimnetApMode.Heading || n2k.fields.mode === ts_pgns_1.SimnetApMode.Nav || n2k.fields.mode === ts_pgns_1.SimnetApMode.NoDrift); }, value: function (n2k) { return n2k.fields.angle; } }, { pgnClass: ts_pgns_1.PGN_65341_SimnetAutopilotAngle, node: 'steering.autopilot.target.windAngleApparent', filter: function (n2k) { return (n2k.fields.mode === ts_pgns_1.SimnetApMode.Wind); }, value: function (n2k) { return n2k.fields.angle; } } ]; //# sourceMappingURL=65341.js.map