diff options
author | Gary E. Miller <gem@rellim.com> | 2019-04-05 17:30:44 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2019-04-05 17:30:44 -0700 |
commit | 1047ab92040746ab9597ffcf57a2ced4aaffc07f (patch) | |
tree | cc742eef14a49cd8d86f5c3dc939fd56737ae810 /gps.h | |
parent | 05f38c3d68c5b61efd78086e8fe0bc6dd15fe793 (diff) | |
download | gpsd-1047ab92040746ab9597ffcf57a2ced4aaffc07f.tar.gz |
gps.h: Add qErr to gps_fix_t.
qErr, aka "sawtooth" correction, is the error in the PPS time.
Diffstat (limited to 'gps.h')
-rw-r--r-- | gps.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -47,7 +47,7 @@ extern "C" { * Remove epe from gps_data_t, it duplicates gps_fix_t eph * Added sep (estimated spherical error, 3D) * Note: Some GPS call eph as epe, others call sep as epe - * Add gps_fix_t datum string + * Add gps_fix_t datum string, and qErr */ #define GPSD_API_MAJOR_VERSION 8 /* bump on incompatible changes */ #define GPSD_API_MINOR_VERSION 0 /* bump on compatible changes */ @@ -128,6 +128,8 @@ struct gps_fix_t { double vAcc; /* Velocity Accuracy Estimate, probably SEP */ } ecef; char datum[40]; /* map datum */ + /* quantization error adjustment to PPS. aka "sawtooth" correction */ + long qErr; /* offset in picoseconds (ps) */ }; /* |