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

State always starts as moored #9

Closed
bergie opened this issue Jan 31, 2020 · 3 comments · Fixed by #205
Closed

State always starts as moored #9

bergie opened this issue Jan 31, 2020 · 3 comments · Fixed by #205
Labels
bug Something isn't working

Comments

@bergie
Copy link
Member

bergie commented Jan 31, 2020

If the system starts whilst we're moving, it still goes to moored for the first 10 minutes before enough movement has been detected. We could utilize speedOverGround to prevent this. Or maybe not set state between sailing/moored until we have 10 minutes of data.

@bergie bergie added the bug Something isn't working label Jan 31, 2020
@bergie bergie changed the title State always starts as not-under-way State always starts as moored Apr 17, 2020
@marcobergman
Copy link

Hi, could you have a look at this issue with a view to resolving it? I restart signalk regularly while en route, and this issue causes many false logbook entries. Thx!

@bergie
Copy link
Member Author

bergie commented Jun 20, 2023

Maybe the best option would be to persist the state on disk every time it changes, and read it on start-up.

@marcobergman
Copy link

marcobergman commented Jun 20, 2023

Possible; the litmus test for me is in the logging of signalk-logbook, but I cannot judge how this option would affect other applications of this plugin's output, navigation.state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging a pull request may close this issue.

2 participants