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

Add support for Galileo #8

Open
wants to merge 20 commits into
base: master
Choose a base branch
from

Conversation

emiedmee
Copy link

@emiedmee emiedmee commented Apr 25, 2023

The following changes since commit f0f5fa8:

Rearranging imports and adding note about overriding print() (2022-03-25 11:17:58 -0600)

are available in the Git repository at:

https://github.com/emiedmee/nmea_data_convert add-galileo

for you to fetch changes up to 9e61200:

Fix column size mismatch, but keep code to catch this except (2023-04-22 16:20:10 +0200)

I've been working with the Quectel RM500Q-GL module, which has a GNSS engine and can output NMEA sentences.
I found your project and it almost fit my needs, except that I'm not using GLONASS but a combination of GPS and Galileo.
So I've decided to add Galileo support next to GPS and GLONASS in your project.
This has been tested with several files containing various states of NMEA sentences and all issues, including issues in the original code, should be fixed with this PR.
I've also made all the code comply more with Python coding guidlines using linters, etc.

I hope you like my work!

closes #9


Emiel Demeestere (20):

  • sort imports
  • move classes to the top
  • format code
  • Inheritance for merged classes, add Sentence class
  • Add types everywhere
  • Add latitude and longitude from NMEA object for RMC and GGA
  • Fix bug where extra data item causes indexing problems when expanding GSA sentence for multi-constellation
  • Add merged test data and add more table names
  • Fix last issue with merged sentences
  • Update package versions
  • Only import required things
  • Fix some column_casting data types
  • Add some more test data, data captured from Quectel RM500Q-GL module
  • Try to reproduce issue
  • Add more field test data
  • Split data into distinct phases, found problem (phase 5):
  • Concat all phases and also place GPRMC as first one
  • Write script to fix nmea data by placing GPRMC at start of each cycle
  • Fix all my test data with script
  • Fix column size mismatch, but keep code to catch this except

Signed-off-by: Emiel Demeestere [email protected]

In sentences_to_dataframes() check for all GSA sentences, not only non-merged ones
Error occurs with this data (column size mismatch), so needs to be fixed
    $GPGSV,4,1,13,02,52,170,26,04,09,307,24,09,04,338,12,16,26,295,20,1*62
    $GPGSV,4,2,13,18,50,161,25,26,63,288,25,27,04,251,20,28,33,201,29,1*6E
    $GPGSV,4,3,13,29,47,064,22,31,48,226,27,05,18,063,,20,14,037,,1*6C
    $GPGSV,4,4,13,25,18,120,,1*5B
    $GPGSV,1,1,03,09,04,338,,26,63,288,,27,04,251,,8*5F

Last sentence contains duplicates of SVs in first 4
Remove debug test data to not clutter test_data foder

Signed-off-by: Emiel Demeestere <[email protected]>
@emiedmee emiedmee mentioned this pull request Apr 25, 2023
@emiedmee emiedmee marked this pull request as ready for review April 25, 2023 20:04
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

Successfully merging this pull request may close these issues.

Support for Galileo
1 participant