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

Update tanks.js to report capacity in liters #91

Merged
merged 2 commits into from
Feb 2, 2024

Conversation

rajlaud
Copy link
Contributor

@rajlaud rajlaud commented Jan 29, 2024

PGN 127505 should report the tank capacity in liters, not cubic meters as signalk-server stores the value internally. See https://github.com/canboat/canboat/blob/649325e38df1d954b16f6662b2c8bbd3eb5a1ca9/analyzer/pgns.json#L16384

I've tested this locally and the edit results in the correct capacity being displayed on my B&G Zeus 3s chartplotter.

@rajlaud
Copy link
Contributor Author

rajlaud commented Jan 30, 2024

Updated the tests to reflect that the input from signalk server will be in cubic meters.

@tkurki tkurki added the fix label Feb 2, 2024
@tkurki tkurki merged commit e242998 into SignalK:master Feb 2, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants