Git Product home page Git Product logo

sailgauge's Introduction

Signal K

signal-k-logo-tagline

Signal K is a modern and open data format for marine use. Built on standard web technologies including JSON, WebSockets and HTTP, Signal K provides a method for sharing information in a way that is friendly to WiFi, cellphones, tablets and the Internet. A format available to everyone, where anyone can contribute, Signal K is the first truly open data format for the marine industry and is set to revolutionize how we consume and interact with data on boats.

https://signalk.org

sailgauge's People

Contributors

e-sailing avatar tkurki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

e-sailing tkrofta

sailgauge's Issues

Build fail

npm run build fails with

ERROR in ./~/signalk-client/index.js
Module not found: Error: Cannot resolve module 'mdns' in /Users/tjk/git-workspace/signalk/sailgauge/node_modules/signalk-client
 @ ./~/signalk-client/index.js 156:15-35

ERROR in ./~/signalk-client/test/url.js
Module not found: Error: Cannot resolve module 'chai' in /Users/tjk/git-workspace/signalk/sailgauge/node_modules/signalk-client/test
 @ ./~/signalk-client/test/url.js 1:11-26

ERROR in ./~/tv4-formats/index.js
Module not found: Error: Cannot resolve module 'validator-js' in /Users/tjk/git-workspace/signalk/sailgauge/node_modules/tv4-formats
 @ ./~/tv4-formats/index.js 20:20-48

ERROR in sailgauge.js from UglifyJs
SyntaxError: Unexpected token: name (PerMessageDeflate) [./~/ws/lib/PerMessageDeflate.js:19,0]

Doesnt send subscription on opening

The java server needs a subscription request before data is sent. Line 115 of index.html

connection = new WebSocket(theUrl);
connection.onopen = function (msg) {
// console.log("open:" + msg);
//send sub
var sub = {"context":"vessels.motu","subscribe":[{"path":"navigation"},{"path":"environment.wind"},{"path":"environment.depth"}]}
connection.send(sub);
};

Option to specify the server to connect to

@rob42 reported that the assumption that Signal K ws is available on the same server + port where the sailgauge app was loaded from is not valid - the ws may be someplace else and one should be able to specify where to connect to.

Configurable units

Signal K raw data is in SI units and for example people often prefer SOG in knots, not meters per second.

Sailgauge should provide the option to choose units for the values displayed.

SOG units

I'm experimenting with sailgauge as distributed with the openplotter project for rpi. I assume the figure in the middle of the gauge represents SOG? In my case this figure appears to be representing the boat speed in meters/second instead of Knots! For example: if the boat speed is 5.22 Kn the sailgauge shows 2.7. What am I doing wrong?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.