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 -L option for leap event emulation #396

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

jnunyez
Copy link
Contributor

@jnunyez jnunyez commented Apr 8, 2024

By allowing this three parameters: GPS week number, GPS Day number and delta for next leap second, the user can specify leap events. This is helpful for testing the management of leap events in for example GNSS receivers.

-L <wnslf,dn,dtslf> leap event in GPS week number, day number, next leap second e.g. 2347,3,17

Example:
$ ./gps-sdr-sim -e brdc0870.24n -l 42.3569048,-71.2564075,0 -b 8 -d 3600 -T 2024/12/31,23:55 -L 2347,3,17
Using static location mode.
xyz = 1516816.7, -4470040.2, 4274982.1
llh = 42.356905, -71.256407, 0.0
Start time = 2024/12/31,23:55:00 (2347:258900)
Duration = 3600.0 [sec]

We have successfully tested with HackRF SDR. The bounds for the three parameters wnlsf, dn, dtslf perhaps are not fully accurate.

@jnunyez
Copy link
Contributor Author

jnunyez commented Apr 9, 2024

@osqzss @Mictronics this PR is related to 283 and 42

@osqzss osqzss merged commit 8cf4930 into osqzss:master Apr 11, 2024
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.

None yet

2 participants