node-ntrip / rtcm Goto Github PK
View Code? Open in Web Editor NEWDecoder/encoder for all RTCM 3 message types up to RTCM 3.3 Amendment 1 (c10403.3).
Home Page: https://www.npmjs.com/package/@gnss/rtcm
License: GNU General Public License v3.0
Decoder/encoder for all RTCM 3 message types up to RTCM 3.3 Amendment 1 (c10403.3).
Home Page: https://www.npmjs.com/package/@gnss/rtcm
License: GNU General Public License v3.0
var this.index can be negative (line 110 - with "this.index -= potential")
when this.index is negative, line 70 crash.
chunk.copy(this.buffer, this.index, chunkOffset, chunkOffset + copyBytes);
with this test after line 110, I have no crash:
if (this.index < 0) {
this.index = 0
}
I have a NTRIP source that only sends message types 1004 (RtcmMessageGpsL1L2ObservablesExtended
) and 1012 (RtcmMessageGlonassL1L2ObservablesExtended
).
Unfortunately, the u-blox ZED-F9P receiver does not support these message types, but only 1005, 1006, 1007, 1033, 1074, 1075, 1077, 1084, 1085, 1087, 1094, 1095, 1097, 1124, 1125, 1127, 1230.
It seems that the equivalent to 1014 is 1077 (RtcmMessageMsm7Gps
) or 1074 (RtcmMessageMsm4Gps
) and the equivalent to 1012 is 1087 (RtcmMessageMsm7Glonass
) or 1084 (RtcmMessageMsm5Glonass
).
Is there any hope I can use this repo to translate 1014 messages to 1077/1074 and 1012 to 1087/1084?
I had a look at the source code but since I'm not a RTCM expert, I'm having difficulties to find an answer.
Thanks!
The decode-encode.js file is using TextDecoder and TextEncoder without import and may provoc crash on few devices.
To fix it i simply add the import TextDecoder = require("util").TextDecoder;
SO: Ubuntu 20.04.2 LTS
Node version: v10.19.0
Npm: 6.14.4
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.