-
Notifications
You must be signed in to change notification settings - Fork 30
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
NMEA 2k error at start or when satellites lost #226
Comments
It would help if you could capture log data from such time (Admin => Connections => Logging checkbox for the n2k connection, restart the server). That would show exactly what is happening. Btw your screenshot clips the PGN numbers that would tell the pgn that generated the sk value. |
Oh right, Scott already commented that methodQuality No Gps could be used to filter the values. But it would still be useful to get some real world data. |
Sorry for the length of this reply bu I did not manage to add a zipped log file, canboatjs:canbus: contains the speed value "SOG":655.34 Added a short snippet from 'canboatjs:canbus'. To me it indicates that the speed info is straight from the GNSS unit itself. Oct 13 16:06:45 2021-10-13T14:06:45.847Z canboatjs:canbus sending {"pgn":129029,"Date":18913,"Time":50805,"Latitude":59.7436307,"Longitude":18.342027,"GNSS type":"GPS+SBAS/WAAS","Method":"DGNSS fix","Integrity":"No integrity checking","Number of SVs":16,"HDOP":0.64,"Geoidal Separation":-0.01,"Reference Stations":1,"Reference Station Type":"GPS+SBAS/WAAS","Reference Station ID":7} Any idea on another debug log to try? Could generate one from candump if that is useful. |
This is plenty! The problem seems to be with canboatjs, that is outputting data when canboat's analyzer generates no output: % echo '2021-10-13T14:06:45.947Z,2,129026,100,255,8,ff,fc,fe,ff,fe,ff,ff,ff' | ../canboat/rel/darwin-arm64/analyzer -json |
There is something odd going on when Signal K is reading NMEA 2000 before hooking up to any satellites, see also the attached picture. SK is sending a speed although no satellites are detected. The GPS unnit is a Garmin GPS24xd NMEA 2000 (probably the best they have). I've also tested with another GPS giving the same result.
SK displays a speed of 1273.89 knots in NNE direction (direction varies slightly). This should be taken care of somehow.
This is also fully repeatable, I've used a tin can covering the GPS to force a test case ;-)
)
The text was updated successfully, but these errors were encountered: