Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing unit for directionGround #639

Open
jobarne opened this issue Feb 20, 2022 · 3 comments
Open

Missing unit for directionGround #639

jobarne opened this issue Feb 20, 2022 · 3 comments

Comments

@jobarne
Copy link

jobarne commented Feb 20, 2022

When running signalk nodejs server and an Airmar WX220 weather station, wind data comes in as environment.self.directionGround but with no unit specified.

Is there a way of updating the specification so that the unit is set correctly (to rad)?

@jobarne
Copy link
Author

jobarne commented Mar 15, 2022

Anyone?

@tkurki
Copy link
Member

tkurki commented Mar 15, 2022

How do you get the data into the server? Because there is no environment.self.directionGround (let alone environment.self.directionGround) defined in the current Signal K specification.

There are 2 paths for absolute wind direction, directionTrue and directionMagnetic.

@jobarne
Copy link
Author

jobarne commented Mar 15, 2022

Thanks for your reply!

I am sorry. It should be environment.wind.directionGround , I assume the server uses the individual js files in n2k-signalk pgns directory, There is a environment.wind.directionGround mapping in 130306.js file but I do not understand how the unit is specified...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants