osqzss / gps-sdr-sim

Software-Defined GPS Signal Simulator
MIT License
2.61k stars 761 forks source link

NMEA data instead of brdc file #333

Open ajayavgarde opened 1 year ago

ajayavgarde commented 1 year ago

Can the NMEA data directly be passed from the GPS receiver to the program instead of brdc file

osqzss commented 1 year ago

NMEA format doesn't contain satellite ephemeris data.

ajayavgarde commented 1 year ago

is there a way that i can extract the satellite ephemeris data using GPS receiver

ajayavgarde commented 1 year ago

can I get the ephemeris data using ublox instead of downloading it from the website?

osqzss commented 1 year ago

You have to extract the ephemeris by yourself from UBX-RXM-SFRBX: https://www.u-blox.com/en/technologies/gnss-raw-data

ajayavgarde commented 1 year ago

Okay thanks, I will convert the data from UBX-RXM-SFRBX to RINEX format and pass it to gpssim . will it work?

osqzss commented 1 year ago

You can use RTKCONV in RTKLIB applications to generate RINEX navigation file from UBX-RXM-SFRBX. https://github.com/tomojitakasu/RTKLIB

ajayavgarde commented 1 year ago

okay, thank you for the information, and nice work on the code!

ajayavgarde commented 1 year ago

Should i keep on download the brdc file every time they upload on NASA website

Imtiaz08 commented 1 year ago

You need the latest satellite ephemeris information. So technically, yes you will need to download the latest file unless and until you are using your own data.