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

Reducing iq_buff_size for improved frequency accuracy #360

Open
cjb-eng opened this issue Jan 6, 2023 · 1 comment
Open

Reducing iq_buff_size for improved frequency accuracy #360

cjb-eng opened this issue Jan 6, 2023 · 1 comment

Comments

@cjb-eng
Copy link

cjb-eng commented Jan 6, 2023

The current state of the code appears to have iq_buff_size constrained to a 10 Hz update rate of the code and carrier frequency shifts for the specified receiver sample rate. And 10 Hz rate is limiting the accuracy for high dynamic situations.

It looks like hardcoding of the 10 Hz update rate is isolated to lines 1928-1930, 2212, 2234 in gpssim.c. Can you confirm (or perhaps deny) that the update rate can be modified by adjusting those three sections of code accordingly?

I'm not planning to run this code in a real-time (i.e. w/ SDR) - only produce IQ sample binary files.

@osqzss
Copy link
Owner

osqzss commented Jan 9, 2023

I'm sure the update rate can be modified, but it is hard to tell which lines you have to adjust. I wrote the code a long time ago and can't remember the details.

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

No branches or pull requests

2 participants