Comments (11)
Fixed in CANboat now, so I guess your code will get the array immediately as well.
from n2k-signalk.
129539 GNSS DOPs
Still didn't make it through n2k-signalk
1969-12-31-16:00:01,482 0 1 255 129539 GNSS DOPs: SID = 10; Desired Mode = Unknown; Actual Mode = 3D; HDOP = 0.70; VDOP = 1.30; TDOP = 327.67
{"timestamp":"1969-12-31-16:00:01,482","prio":0,"src":1,"dst":255,"pgn":129539,"description":"GNSS DOPs","fields":{"SID":10,"Actual Mode":"3D","HDOP":0.70,"VDOP":1.30,"TDOP":327.67}}
from n2k-signalk.
https://github.com/SignalK/n2k-signalk/blob/master/test/todo.txt#L32-L37
from n2k-signalk.
Seems mapping the list of each tracked satellite in "129540: GNSS Sats in View" PGN is rather involved (still looking into it) but might it be a good start to map the single "Sats in View" value to navigation.gnss.satellites? I'd be happy to do a PR for 129540.js PGN? This is working well.
module.exports = [
{
source: 'Sats in View',
node: 'navigation.gnss.satellites'
}
]
However realizing there is no way to have SK source priorities choose based on source and PGN so two competing PGNs from the same source will flip back and forth (eg. Sats in View 129029 & 129540) maybe we'd need that first?
from n2k-signalk.
Please..
Add the PGP 129540 PR.
OpenCPN does miss [navigation.gnss.satellitesInView] data when using a N2k GNSS receiver via SK.
And..
The "number of Sats" in use from PGP 129029 (pos 12) and used for [navigation.gnss.satellites] is probably not the same as "Sats in View" from 129540 what would be used for [navigation.gnss.satellitesInView]
Compared to NMEA0183 is
"number of sats" the "satellites in use" from GPGGA: what's used for the fix calculation.
"sats in view" how many satellites are seen from GPGSV.
See also NMEA0183->SK
from n2k-signalk.
Here's a fresh content of the PGP 129540 for comparison. See picture:
Up to 12 satellites data are shown. Only field "0" is evolved. 1-11 looks the same.
For raw data see further down.
129540":{"canId":435815551,"prio":6,"src":127,"dst":255,"pgn":129540,"timestamp":"2022-03-15T08:54:32.611Z","input":[],"fields":{"SID":0,"Sats in View":12,"list":[{"PRN":1,"Elevation":0.2268,"Azimuth":0.48860000000000003,"SNR":37,"Range residuals":0,"Status":"Used"},{"PRN":10,"Elevation":0.4188,"Azimuth":5.218500000000001,"SNR":32,"Range residuals":0,"Status":"Used"},{"PRN":12,"Elevation":0.48860000000000003,"Azimuth":3.8920000000000003,"SNR":25,"Range residuals":0,"Status":"Used"},{"PRN":13,"Elevation":0.3839,"Azimuth":2.7576,"SNR":43,"Range residuals":0,"Status":"Used"},{"PRN":14,"Elevation":0.34900000000000003,"Azimuth":1.0471000000000001,"SNR":46,"Range residuals":0,"Status":"Used"},{"PRN":15,"Elevation":0.6806,"Azimuth":3.351,"SNR":41,"Range residuals":0,"Status":"Used"},{"PRN":17,"Elevation":0.733,"Azimuth":1.3962,"SNR":49,"Range residuals":0,"Status":"Used"},{"PRN":19,"Elevation":0.6806,"Azimuth":1.9722000000000002,"SNR":44,"Range residuals":0,"Status":"Used"},{"PRN":21,"Elevation":0.1396,"Azimuth":0,"SNR":26,"Range residuals":0,"Status":"Used"},{"PRN":23,"Elevation":0.34900000000000003,"Azimuth":4.607600000000001,"SNR":25,"Range residuals":0,"Status":"Used"},{"PRN":24,"Elevation":1.2042000000000002,"Azimuth":4.625100000000001,"SNR":48,"Range residuals":0,"Status":"Used"},{"PRN":74,"Elevation":0.925,"Azimuth":1.1344,"SNR":48,"Range residuals":0,"Status":"Used"},{"SNR":2.5500000000000003}]},"description":"GNSS Sats in View"}},"productName":"GS25 Antenna","hardwareVersion":"","softwareVersion":"01100_E 1400 TB102512_10","productID":6829,"serialNumber":"100298#","nmea2000Version":1111,"certificationLevel":1,"loadEquivalency":1}},
from n2k-signalk.
@davidsanner feel like digging into this one?
from n2k-signalk.
Published in v2.5.0 @Hakansv let me know how it works.
from n2k-signalk.
@tkurki
Thanks. I'm on a job. Will test when home again.
from n2k-signalk.
@tkurki - I had started this but your code is cleaner & completed. I tested yesterday & again today - looks good. Nice to have the n2k working to compliment 0183/GSV data. (GSV support in signalk-nmea0183 would complete.)
from n2k-signalk.
@tkurki
Now home and the MCS board in order: Yes it works as expected.
I've copied your new files into my environment and connected a GNSS receiver. See pict 1.
Also corresponding code in OCPN is thus now working, se pict 2.
So I think this change can be included in next SK released.
Many thanks
Håkan
from n2k-signalk.
Related Issues (20)
- Support for PGN 127497 HOT 3
- PGN 130312 Deprecated. Long live 130316? HOT 2
- Coolant Pressure has incorrect value. HOT 3
- Error in ais.js HOT 1
- PGN127507 not available. HOT 8
- Mastervolt PGNs not available HOT 2
- 127506 defined as single packet, when it is actually a fast packet HOT 5
- refresh the lockfile to automatically remove the vulnerability introduced in @signalk/n2k-signalk
- NMEA 2k error at start or when satellites lost HOT 4
- Missing "ais.sensors.class" values for AIS related PGN's HOT 14
- 130606 decodes to wind.directionGround - not in the spec HOT 4
- callsignVhf missing for 129794 and 129810
- Not allowed integer values for commonName
- Windlass and Small Craft pgns
- PGN 127503 & 127504 not included in pgns/index.js HOT 2
- Problem converting MMSI with leading zero?
- PGN 65016 - Utility Total AC Power (Apparent Power Conversion)
- PGN 127493 – Transmission Parameters, Dynamic
- …as this should be fixed as far upstream as reasonable, probably in n2k-signalk.
- PGN 129039 (AIS Class A position report) crashes SignalK Server HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from n2k-signalk.