GithubHelp home page GithubHelp logo

rokubun / android_rinex Goto Github PK

View Code? Open in Web Editor NEW
81.0 81.0 31.0 1.45 MB

This repository contains a python script that converts logs from Google's GNSS measurement tools to RINEX

License: BSD 2-Clause "Simplified" License

Python 99.59% Batchfile 0.41%

android_rinex's People

Contributors

alexlopezc avatar dfac avatar dmiralles2009 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android_rinex's Issues

Add parsing and conversion for more record types

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'

An Issue about carrier phase

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.
py
Fig 1
rob
Fig 2

ValueError: -- WARNING: Skipping measurement for GLONASS sat without OSN [ R106 ]

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?

Syntax Error on Line 207

Good Morning
i have a Syntax Error on Line 207
def print(self)

i use a Centos 7
Thanks for the reply
Luca

RINEX Format for Many Content Types - Feature Request

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.

When Glonass svid defaults to FCN instead of OSN the program halts

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.
Screenshot from 2020-05-07 10-46-09 (1)

Error in conversion

Hi
i'm trying to convert the input log from data folder but I keep on getting this message
what's wrong?
Thanks a lot
k

Produce nav file from Android GNSS logger file

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.