jorgen-k / signalk-autopilot-garmin Goto Github PK
View Code? Open in Web Editor NEWSignalK plugin for Garmin autopilots
License: Apache License 2.0
SignalK plugin for Garmin autopilots
License: Apache License 2.0
Hi,
thanks for your work, I really appreciate it. I've started to do this more than once in the past, but never actually managed to make it working.
When I initially installed your plugin, it failed to load the schema and thus anything else from the plugin:
Mar 24 23:20:30 TypeError: Cannot read properties of undefined (reading 'properties') at plugin.schema (/data/conf/signalk/node_modules/signalk-autopilot-garmin/index.js:88:40) at /usr/lib/node_modules/signalk-server/lib/interfaces/plugins.js:71:43 at /usr/lib/node_modules/signalk-server/lib/interfaces/plugins.js:88:23 at new Promise (<anonymous>) at getPluginResponseInfo (/usr/lib/node_modules/signalk-server/lib/interfaces/plugins.js:56:16) at /usr/lib/node_modules/signalk-server/lib/interfaces/plugins.js:45:36 at Array.map (<anonymous>) at /usr/lib/node_modules/signalk-server/lib/interfaces/plugins.js:45:20 at Layer.handle [as handle_request] (/usr/lib/node_modules/signalk-server/node_modules/express/lib/router/layer.js:95:5) at next (/usr/lib/node_modules/signalk-server/node_modules/express/lib/router/route.js:144:13) at Route.dispatch (/usr/lib/node_modules/signalk-server/node_modules/express/lib/router/route.js:114:3) at Layer.handle [as handle_request] (/usr/lib/node_modules/signalk-server/node_modules/express/lib/router/layer.js:95:5) at /usr/lib/node_modules/signalk-server/node_modules/express/lib/router/index.js:284:15 at Function.process_params (/usr/lib/node_modules/signalk-server/node_modules/express/lib/router/index.js:346:12) at next (/usr/lib/node_modules/signalk-server/node_modules/express/lib/router/index.js:280:10) at ZIP (/usr/lib/node_modules/signalk-server/node_modules/express-easy-zip/index.js:133:3)
Reproduction:
# mv /data/conf/signalk/plugin-config-data/autopilot-garmin.json{,-}
# restart signalk
# load plugin config
When the config file is in place and the ccuAddr is set to 2 manually, it seems to do something based on the very slight changes in the reported rudderAngle, but unfortunately I'm not at the boat. The very little change may make sense with zero speed however. I will definitely give it a try next week.
The default behavior of the Garmin Reactor is to change heading 10 degrees when commanded, either through the GHC or via this plugin. While testing this the tested autopilot had this setting to 15 degrees.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.