{"id":20539451,"url":"https://github.com/betabison/gnss-sensor-fusion","last_synced_at":"2025-05-09T13:31:23.323Z","repository":{"id":45172428,"uuid":"241954221","full_name":"betaBison/gnss-sensor-fusion","owner":"betaBison","description":"Extended Kalman Filter (EKF) for position estimation using raw GNSS signals, IMU data, and barometer","archived":false,"fork":false,"pushed_at":"2022-03-11T16:07:23.000Z","size":13172,"stargazers_count":54,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T08:01:46.938Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/betaBison.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}},"created_at":"2020-02-20T18:02:45.000Z","updated_at":"2025-04-14T01:08:14.000Z","dependencies_parsed_at":"2022-07-13T18:21:44.399Z","dependency_job_id":null,"html_url":"https://github.com/betaBison/gnss-sensor-fusion","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betaBison%2Fgnss-sensor-fusion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betaBison%2Fgnss-sensor-fusion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betaBison%2Fgnss-sensor-fusion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/betaBison%2Fgnss-sensor-fusion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/betaBison","download_url":"https://codeload.github.com/betaBison/gnss-sensor-fusion/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253258209,"owners_count":21879614,"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":[],"created_at":"2024-11-16T00:52:02.324Z","updated_at":"2025-05-09T13:31:21.999Z","avatar_url":"https://github.com/betaBison.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gnss-sensor-fusion\nExtended Kalman Filter (EKF) for position estimation using raw GNSS signals, IMU data, and barometer. The provided raw GNSS data is from a Pixel 3 XL and the provided IMU \u0026 barometer data is from a consumer drone flight log.  \n  \nProject paper can be viewed [here](https://github.com/betaBison/gnss-sensor-fusion/blob/master/An-Extendable-Sensor-Fusion-Algorithm-for_Consumer-Drone-Positioning.pdf) and overview video presentation can be viewed [here](https://youtu.be/m7BPbx05Vro).\n\n## Setup\nThis repo was built using Python3. A number of packages are needed to run all files including at least:  \n`pip3 install pandas numpy scipy pymap3d pyproj progress`\n\n## Run\nThe full gnss sensor fusion can be run with:  \n`python3 gnss_fusion_ekf.py`  \nChange the filepaths at the end of the file to specify odometry and satellite data files.\nThe current default is to use raw GNSS signals and IMU velocity for an EKF that estimates latitude/longitude and the barometer and a static motion model for a second EKF that estimates altitude. Instead of raw GNSS psuedoranges, you can also use GPS LLA estimates which most receivers provide. States for all EKFs are [ECEF X, ECEF Y, ECEF Z, GNSS time bias]. It currently runs weighted least squares to obtain an initial estimate for the time bias.\n\n![fusion-ekf](docs/img/fusion-3d.png)\n\nAn EKF using ONLY raw GNSS signals to estimate position can be run with:   \n`python3 gnss_only_ekf.py`   \nIt currently runs weighted least squares to obtain an initial estimate for the time bias. It assumes a static motion model. The weighted least square position solution is also saved to file. States for the EKF are [ECEF X, ECEF Y, ECEF Z, GNSS time bias].\n\nA toy 3 DOF example can be run with:  \n`python3 gnss_only_ekf_toy.py`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbetabison%2Fgnss-sensor-fusion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbetabison%2Fgnss-sensor-fusion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbetabison%2Fgnss-sensor-fusion/lists"}