commaai / laika

Simple Python GNSS processing library
MIT License
647 stars 179 forks source link

Use Ephemtypes in Astrodog #86

Closed gijskoning closed 2 years ago

gijskoning commented 2 years ago

Ephemeris types can be selected instead of pull_orbit bool. Such that for example only Ultra-rapid can be used and downloaded. This reduces the number of downloads and also speeds up retrieving orbit data. Also enables the use of both orbits and nav data. If both are selected, nav data will be used as backup.

Also changed confusing names of download_orbits -> download_orbits_gps. (Currently the function only downloads gps data) download_orbits_russia -> download_orbits_russia_src (Downloads multiple constellations including gps)

Verified by comparing with ref