{"id":19286816,"url":"https://github.com/williamyang98/gps_correlation","last_synced_at":"2025-04-22T03:33:42.617Z","repository":{"id":65543159,"uuid":"594363679","full_name":"williamyang98/GPS_Correlation","owner":"williamyang98","description":"Displays correlation data for GPS signal","archived":false,"fork":false,"pushed_at":"2024-02-13T06:58:39.000Z","size":726,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T19:19:06.756Z","etag":null,"topics":["dsp","gps","gps-receiver","rtlsdr","sdr"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/williamyang98.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-01-28T10:11:04.000Z","updated_at":"2024-10-10T07:18:36.000Z","dependencies_parsed_at":"2024-02-13T04:49:14.371Z","dependency_job_id":null,"html_url":"https://github.com/williamyang98/GPS_Correlation","commit_stats":null,"previous_names":["williamyang98/gps_correlation"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamyang98%2FGPS_Correlation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamyang98%2FGPS_Correlation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamyang98%2FGPS_Correlation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamyang98%2FGPS_Correlation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/williamyang98","download_url":"https://codeload.github.com/williamyang98/GPS_Correlation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250167614,"owners_count":21386004,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dsp","gps","gps-receiver","rtlsdr","sdr"],"created_at":"2024-11-09T22:04:27.028Z","updated_at":"2025-04-22T03:33:42.255Z","avatar_url":"https://github.com/williamyang98.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\n[![x86-windows](https://github.com/williamyang98/GPS_Correlation/actions/workflows/x86-windows.yml/badge.svg)](https://github.com/williamyang98/GPS_Correlation/actions/workflows/x86-windows.yml)\n\nDisplays the correlation peaks when attempting to acquire a GPS signal.\n\nUseful to debug in realtime whether a gps signal is present allowing for quick adjustments to location or orientation of antenna. \n\nThis is quite useful when using software like [GNSS-SDRLIB](https://github.com/taroz/GNSS-SDRLIB) which doesn't expose this data in realtime. Instead limited information is only shown in a text window which only updates every few seconds.\n\nThis is not GPS decoding software, it is only used for testing whether or not your gps receiver has a valid signal.\n\n# Gallery\n![GUI](docs/screenshot_v1.png)\n\n# Useful links\n1. How GPS PRN codes are generated [link](https://natronics.github.io/blag/2014/gps-prn)\n2. How GPS spread codes work [link](https://natronics.github.io/blag/2014/gps-spreading/)\n3. Instructions for running SDR software for decoding GPS signals [youtube-link](https://www.youtube.com/watch?v=YG2fJRTAoHA)\n4. Website for determining which satellites are visible from your location [gnss-radar](http://taroz.net/GNSS-Radar.html)\n\n# Build instructions\n1. Use windows with C++ Visual Studio development tools and vcpkg installed.\n2. Clone repository with submodules.\n3. Open up the x64 C++ developer environment for Visual Studio.\n4. Configure cmake: ```cmake . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=C:\\tools\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake```\n5. Build: ```cmake --build build --config Release```\n\n# Run instructions\nRefer to ```./build/Release/gps_corr.exe -h``` for instructions.\n\nCheck each PRN code from 1 to 32 and see if there are any correlation peaks. If there is a stable and prominent peak then a satellite is visible. You can then adjust your antenna's position for the best receptin in realtime.\n\n| Usage | Command |\n| --- | --- | \n| Running from RTLSDR v3 dongle | ```./get_live_samples.sh \\| ./gps_corr.exe -F u8``` | \n| Generating synthetic GPS data | ```./generate_gps_data.sh``` |\n| Running on synthetic GPS data | ```./gps_corr.exe -i data/gpssim_s8.bin -A -F s8``` |\n\n**NOTE**: Synthetic GPS data has satellites with PRNs of ```[2,5,12,13,14,15,18,21,22,24,25,26,29]```\n\n**NOTE**: Use [gnss-radar](http://taroz.net/GNSS-Radar.html) to quickly skip to the most likely satellites in your location when reading from your RTLSDR v3 blog dongle.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliamyang98%2Fgps_correlation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwilliamyang98%2Fgps_correlation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliamyang98%2Fgps_correlation/lists"}