gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gpsd-dev] [PATCH 2/3] TSIP: fix time offset


From: Nuno Gonçalves
Subject: [gpsd-dev] [PATCH 2/3] TSIP: fix time offset
Date: Mon, 20 Jun 2016 16:05:15 +0100

Signed-off-by: Nuno Goncalves <address@hidden>
---
 driver_tsip.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/driver_tsip.c b/driver_tsip.c
index 3ded926..f397271 100644
--- a/driver_tsip.c
+++ b/driver_tsip.c
@@ -1128,8 +1128,11 @@ static void tsip_mode(struct gps_device_t
*session, int mode)
 #ifdef TIMEHINT_ENABLE
 static double tsip_time_offset(struct gps_device_t *session UNUSED)
 {
-    /* FIX-ME: is a constant offset right here? */
-    return 0.075;
+    /* the offset depends on the generation and is not reliable, some
example measurements:
+     * Trimble Resolution T   : 0.03s to 0.200s (depends on the SV#
being tracked)
+     * Trimble Resolution SMTx: 0.300 to 0.500s (unpredictable)
+     * Trimble RES SMT 360    : 0.028s (this appears very stable)*/
+    return 0.0;
 }
 #endif /* TIMEHINT_ENABLE */

-- 
2.7.4

Attachment: 0002-TSIP-fix-time-offset.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]