osqzss / gps-sdr-sim

Software-Defined GPS Signal Simulator
MIT License
2.75k stars 773 forks source link

ERROR: no current set of ephemerides #373

Closed powerae closed 1 year ago

powerae commented 1 year ago

Hi, I am trying to generate the bin file. A folder contains the gps-sdr-sim exe and the updated brdc file but still get the following error

" ERROR: No current set of ephemerides has been found. "

How to proceed ? what am I missing ?

osqzss commented 1 year ago

I assume you set "-t" option. Use "-T" instead.

powerae commented 1 year ago

Thank you for the response. I didnt use the any T or t parameters. are they necessary ?

osqzss commented 1 year ago

Please show the command line and the outputs on the console screen.

powerae commented 1 year ago

command line: \Desktop\TEST\gps-sdr-sim -e brdc1640.23n -l -57.050345, 10.532051 -b 8

output : Using static location mode. Start time = 0/00/00,00:00:00 (0:0) Duration = 300.0 [sec] ERROR: No current set of ephemerides has been found.

osqzss commented 1 year ago

What is the RINEX version of the brdc1640.23n file? GPS-SDR-SIM can recognize only version 2.

osqzss commented 1 year ago

Please set latitude, longitude and hight with "-l" option without a space after comma. Run the software with only "-e" option and see how it goes.

powerae commented 1 year ago

the file was downloaded from here : https://cddis.nasa.gov/archive/gnss/data/daily/2023/brdc/ I think it said is rinex v2. I tried again as with just -e and still the same output.

osqzss commented 1 year ago

I had no problem running the code with the same BRDC file. Please build the executable from the current master repository.

gps-sdr-sim

powerae commented 1 year ago

It worked ! This solved it . Thank you very much !