osqzss / gps-sdr-sim

Software-Defined GPS Signal Simulator
MIT License
2.83k stars 784 forks source link

Is it possible to generate a degrated GPS signal? #241

Open dries007 opened 4 years ago

dries007 commented 4 years ago

Hi,

I'm doing product testing with this program (and a LimeSDR, in case that would make a differenace) and I'm wondering if it's possible to generate a file with a degrated GPS signal in it. For example, only 1 or 2 satalites. This would allow us to simulate more realistic edge cases.

Thanks a lot for this program!

Kind regards, Dries

osqzss commented 4 years ago

Try to change the value of MAX_CHAN in gpssim.h.

dries007 commented 4 years ago

Thanks for the quick reply. I'll try that. Would you be open to accepting a PR to make that a runtime parameter if I can make it work?

osqzss commented 4 years ago

Sure.