rokubun / android_rinex Goto Github PK
View Code? Open in Web Editor NEWThis repository contains a python script that converts logs from Google's GNSS measurement tools to RINEX
License: BSD 2-Clause "Simplified" License
This repository contains a python script that converts logs from Google's GNSS measurement tools to RINEX
License: BSD 2-Clause "Simplified" License
Hi,
Thank you for the great and useful tool.
I have faced problems parsing recently collected file by gnss logger. The file contains the following header:
#
# Header Description:
#
# Version: v3.0.0.1 Platform: 10 Manufacturer: Ulefone Model: Armor X5
#
# Raw,utcTimeMillis,TimeNanos,LeapSecond,TimeUncertaintyNanos,FullBiasNanos,BiasNanos,BiasUncertaintyNanos,DriftNanosPerSecond,DriftUncertaintyNanosPerSecond,HardwareClockDiscontinuityCount,Svid,TimeOffsetNanos,State,ReceivedSvTimeNanos,ReceivedSvTimeUncertaintyNanos,Cn0DbHz,PseudorangeRateMetersPerSecond,PseudorangeRateUncertaintyMetersPerSecond,AccumulatedDeltaRangeState,AccumulatedDeltaRangeMeters,AccumulatedDeltaRangeUncertaintyMeters,CarrierFrequencyHz,CarrierCycles,CarrierPhase,CarrierPhaseUncertainty,MultipathIndicator,SnrInDb,ConstellationType,AgcDb,BasebandCn0DbHz,FullInterSignalBiasNanos,FullInterSignalBiasUncertaintyNanos,SatelliteInterSignalBiasNanos,SatelliteInterSignalBiasUncertaintyNanos,CodeType,ChipsetElapsedRealtimeNanos
#
# UncalAccel,utcTimeMillis,elapsedRealtimeNanos,UncalAccelXMps2,UncalAccelYMps2,UncalAccelZMps2,BiasXMps2,BiasYMps2,BiasZMps2
#
# UncalGyro,utcTimeMillis,elapsedRealtimeNanos,UncalGyroXRadPerSec,UncalGyroYRadPerSec,UncalGyroZRadPerSec,DriftXRadPerSec,DriftYRadPerSec,DriftZRadPerSec
#
# UncalMag,utcTimeMillis,elapsedRealtimeNanos,UncalMagXMicroT,UncalMagYMicroT,UncalMagZMicroT,BiasXMicroT,BiasYMicroT,BiasZMicroT
#
# OrientationDeg,utcTimeMillis,elapsedRealtimeNanos,yawDeg,rollDeg,pitchDeg
#
# Fix,Provider,LatitudeDegrees,LongitudeDegrees,AltitudeMeters,SpeedMps,AccuracyMeters,BearingDegrees,UnixTimeMillis,SpeedAccuracyMps,BearingAccuracyDegrees,elapsedRealtimeNanos
#
# Nav,Svid,Type,Status,MessageId,Sub-messageId,Data(Bytes)
#
# Status,UnixTimeMillis,SignalCount,SignalIndex,ConstellationType,Svid,CarrierFrequencyHz,Cn0DbHz,AzimuthDegrees,ElevationDegrees,UsedInFix,HasAlmanacData,HasEphemerisData,BasebandCn0DbHz
#
And the tool crashes on:
$ ./bin/gnsslogger_to_rnx ../gnss/gnss_log_2021_05_04_19_35_22.txt
Traceback (most recent call last):
File "D:\Projects\android_rinex\bin\gnsslogger_to_rnx", line 68, in <module>
gnsslog = alogger.GnssLog(args.input_log)
File "C:\Python39\lib\site-packages\andrnx-0.1-py3.9.egg\andrnx\gnsslogger.py", line 186, in __init__
File "C:\Python39\lib\site-packages\andrnx-0.1-py3.9.egg\andrnx\gnsslogger.py", line 107, in __init__
AttributeError: type object 'GnssLogHeader' has no attribute 'parse_uncalaccel'
Hi, there is no definition of the Galileo constellation type on the top (CONSTELLATION_GALILEO = 6) and on line 447 there is an error. I guess it should be: svid = 'J{0:02d}'.format(prn)
Hello,thanks for you commit about #8 . The error disappears.
I tested the tool and I am puzzled about the carrier phase in the rinex file. The carrier phase seems like a little “odd”. I mean, another app called Geo++ Rinex Logger and Ublox receiver also create Rinex files. In their files, the carrier phase times wavelength is approximately equal to pseudorange like Fig 1. But in your files, it seems that the carrie phase is uncorrelated with peeudorange (Fig 2).
I konw the change of carrier phase between 2 epochs can be more meaningful than the absolute value at an epoch. But I cant directly do PPK with rinex data created by your tools in RTKLIB. Have you tested with RTKLIB? could you please give me some advice? Thank you.
Fig 1
Fig 2
Hello
I want to use this tool to convert data from GNSSLOgger. However I encounter same questions with #7 #6
The Tool gives warnings Skipping measurement for GLONASS sat without OSN and doesnt output rinex file even when I use the example data provided by you.
I test this tool on Windows 10 and input command in powershell. My command is :
.\gnsslogger_to_rnx.bat -o nex.17o .\data\2.txt
Could you please give me some help?
Good Morning
i have a Syntax Error on Line 207
def print(self)
i use a Centos 7
Thanks for the reply
Luca
GnssLogger, GPSTest, and maybe other apps, create log files that appear to be a mashup of observations, nav messages, etc. They are not in the industry-wide format used by surveying programs by GNSS manufactures like Javad, Topcon, Trimble, etc, that allow ingestion and post-processing of RINEX files derived from smartphones.
Please consider adoption of RINEX v3.05 formatting and file naming schema for files produced by android_rinex. Or as a minimum, consider the following essential bits:
STATION NAME
Logging apps like GnssLogger and GPSTest would be improved tremendously if the user was optionally able to provide the name of the occupied station, marker, or monument; e.g., SINCLAIR A, AL7621, XACT 2, DG8939. This is a basic standard naming convention and a good place to begin.
START TIME
Following the station name and separated by an underscore_ the start time of the RINEX file YYYYDDDHHMM where DDD is the day of the year.
CONTENT TYPE
Following the start time and separated by an underscore_ the content type represented by 2 characters; i.e.,
Two uppercase characters represent the data type:
GO - GPS Obs.
RO - GLONASS Obs.
EO - Galileo Obs.
JO - QZSS Obs.
CO - BDS Obs.
IO – NavIC/IRNSS Obs.
SO - SBAS Obs.
MO - Mixed Obs.
GN - Nav. GPS
RN - GLONASS Nav.
EN - Galileo Nav.
JN - QZSS Nav.
CN - BDS Nav.
IN – NavIC/IRNSS Nav.
SN - SBAS Nav.
MN – Mixed Nav. (All GNSS Constellations)
MM-Meteorological Observation
EXTENSION
Following the content type and separated by the decimal . rnx for all RINEX files.
This is not by any means the full-on OCD RINEX file naming schema of IGS, as is more fully detailed in RINEX v. 3.05 and the RINEX Formating standards leading up last December's major restructuring. There may be softwares available to help in generating RINEX 3.xx long filenames.
Thank you for any consideration.
Hello, I am converting android GNSS raw logs to RINEX for RTK postprocessing.
The problem is when the program finds a svid > 50, in the Glonass defaulting to FCN case, it says it skips that satellite but really what happens is that the program halts and doesn't output any RINEX at all instead of resuming its course until outputting the RINEX file.
The answer might be in some of the command gnsslogger_to_rnx options but there is no documentation about those options.
Any help appreciated thanks.
Hi again,
I managed to get obs file from GNSS logger data. RTKPOST needs nav file for the rover to complete the solution. All GNSS rovers/records produce some sort of an input which can be converted by RTKCONV to obs and nav files. Is similar possible for GNSS Logger data and your tool?
Thanks!
Before use first FullBiasNanos, assert if STATE_TOW_DECODED state !=1?
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.