commaai / laika

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

Set glonass frequency to None if not Glonass measurement #74

Closed gijskoning closed 2 years ago

gijskoning commented 2 years ago

Currently, the frequency is set to np.nan in raw_gnss.py but None would be better since the type can then be Optional[Int] in GnssMeasurements. The function read_raw_qcom is used in a private repo. Need to verify it correctly works there too. https://github.com/commaai/laika/blob/bcd8985dab2692c96db9cdacba423ad166bbc527/laika/raw_gnss.py#L203