Browse Source
this detects GPS data lag, and if 5 samples in a row are lagged by more than 50ms beyond the expected lag for the GPS then we declare the GPS as unhealthy. This is useful to detect users who have asked for more data from the GPS then it can send at the baudrate that is being used. The case that led to this path was a F9 GPS with GPS_RAW_DATA=1 at 115200 baud. In that case the UART data is quickly lagged by over 1sc415-sdk
3 changed files with 18 additions and 1 deletions
Loading…
Reference in new issue