To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 66e8e058 authored by Roman Trüb's avatar Roman Trüb

adjusted offset in glossysync to correct offset beween gps- and glossysync-synced observers

parent 19084867
......@@ -6,8 +6,8 @@
#define GUARD_TIME (RTIMER_SECOND / 500)
#define SYNC_OFFSET (RTIMER_SECOND / 1000)
#define PPS_FRAC 4
// hard coded value of 145475 clock cycles (0.01119038s @13MHz) compensates offset of 1 PPS output signal relative to 1 PPS signal of nodes which are synchronized with GPS directly
#define PPS_OFFSET (RTIMER_SECOND / PPS_FRAC - 145475)
// hard coded value of 490237 clock cycles (0.03771053s @13MHz) compensates offset of 1 PPS output signal relative to 1 PPS signal of nodes which are synchronized with GPS directly
#define PPS_OFFSET (RTIMER_SECOND / PPS_FRAC + 490237)
/* #define PPS_OFFSET (RTIMER_SECOND / PPS_FRAC) */
#define PPS_GUARD 200
#define DELTA_GUARD 1000
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment