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

INT field not decoding negative numbers properly #7

Open
torriem opened this issue Mar 28, 2019 · 2 comments
Open

INT field not decoding negative numbers properly #7

torriem opened this issue Mar 28, 2019 · 2 comments

Comments

@torriem
Copy link

torriem commented Mar 28, 2019

RTCM Integer fields that are negative are not being parsed properly. Thus the ECEF values reported by message types 1005 and 1006 are incorrect. I have submitted a pull request to add twos complement parsing of integer numbers in RTCM3.py.

@alco1900
Copy link

alco1900 commented Mar 28, 2019 via email

@pyrog
Copy link

pyrog commented May 20, 2021

Also the description of message type 1005 is wrong. Should be :

NAME: Stationary Antenna Reference Point, No Height Information
ID: 1005
UINT:12:2:Message Number
UINT:12:3:Reference Station ID
UINT:6:21:ITRF Year (Reserved)
UINT:1:22:GPS Indicator
UINT:1:23:GLONASS Indicator
UINT:1:24:Galileo Indicator (Reserved)
UINT:1:141:Reference Station Indicator
INT:38:25:ECEF-X
UINT:1:142:Single Receiver Oscillator Indicator
UINT:1:1:Reserved
INT:38:26:ECEF-Y
UINT:2:364:Quarter Cycle Indicator
INT:38:26:ECEF-Z
END:

Strangely, the description for message type 1006 is good (INT38 for ECEF-X Y and Z)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants