-
Notifications
You must be signed in to change notification settings - Fork 1
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
Course data paths #8
Comments
New signalK provides v2 deltas for course data https://demo.signalk.org/documentation/whats_new.html (at least it should) with prefix
However code https://github.com/philseeley/boatinstrument/blob/main/lib/widgets/navigation_box.dart is using
Thanks |
This is an initial step for issue #8.
@mgrouch will need some more of your help to test this as I only have a Raymarine autopilot setup. What I've done as an initial idea is allowed wildcards in paths and replaces all the instances of 'navigation.courseGreatCircle.' with 'navigation.*.'. Not sure this is all that's needed, but it would be good if all the autopilot sources produced the same ending values. |
They are not producing same values unfortunately. And it’s not clear for me Let me open issue for OpenCPN. I’ve already posted on forums |
I’ve opened this issue |
What I think is also needed is a setting Thanks! |
I've looked into the configuration of a "source" for Boxes before and feel that the use of "Source Priorities" in signalk is a better way to go. That way the preferred source is defined once and all displays referencing the data will display consistent values. For the varying/inconsistent paths issue, these are the ones I'm seeing related to navigation and the autopilot:
Can you detail where you see different paths for equivalent values. I can then think of a good way to deal this this, either through a set of specific Boxes or a configuration setting. Hopefully there will be some future signalk/plugin changes to rationalise the set of paths used. |
Those are not actual headings or angles. Those are commands to autopilot to steer. |
I've been trying to get the 'Course Data provide' plugin to create some paths, but I've not managed to get anything. Would this be because I'm just using the Raymarine MFD to set the course? Note, I'm not using the 'Derived Data' plugin for the 'Course Data', so the paths I'm seeing like 'navigation.courseGreatCircle.crossTrackError' must be being generated from the N2K feed from my YDEN gateway. Basically I'm very confused about how all his is supposed to integrate :o( |
There are other ways too. and they will make SignalK to generate paths which are not consistent. (Not only different sources but different paths). I think SignalK has an issue with way it’s implemented. There is SignalK discord channel. It’s better to ask there |
I've checked that I'm running the latest version 2.8.3 and the v2 apis aren't present. So it looks like the v2 apis are a work in progress. Reading the v2 docs, it looks like they realise the historic piecemeal implementation of things like routes and autopilot wasn't sustainable and are addressing it. So it's a wait and see for the time being. If there's specific paths that would make the Boxes work better for your setup let me know. |
Actually I can see some v2 apis, but the course values are not getting set for me. I'll see if I'm missing something. |
A box for tides and currents harmonics would be very helpful. |
I've had a look at what might be required for a TidesBox and it's quite a lot. It would need some real time dedicated to it which I won't have for sometime unfortunately :o( Doing too much sailing I'm afraid :o). I'll open a separate Issue for this. |
More digging into tides and it seems there are many formats and many sources, some of which have gone away due to copyright issue. There's already a long list for OpenCPN, so I think it's not something I'll be adding anytime soon, sorry. |
SignalK uses many different paths prefixes for course data.
When I activate "Navigate to Waypoint" in OpenCPN I see prefix
It seems come from APB, XTE, RMB sentences sent by OpenCPN
sources: OpenCPN.EC (APB), OpenCPN.EC (XTE), OpenCPN.EC (RMB)
When I activate "Navigate to Waypoint" in FreeboardSK I see prefix
source: courseApi
When I activate course data in derived-data plugin I see prefix:
and source: derived-data
When I activate Course Data Provider SK plugin the prefix is:
and source 'course-provider'
I think it would be nice to make a prefix configurable for XTE, VMG, TTG, Next Waypoint Distance
Thanks!
The text was updated successfully, but these errors were encountered: